Bitcoin Forum
May 25, 2024, 02:18:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 »
421  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][FLO] Florin coin | Coin featuring transaction comments on: June 21, 2013, 10:40:06 PM
.... I added the "text:" part in the beginning of the comment so that people could adopt the convention for their own kind of transaction comments, for example "encrypted:HGKJHGYXBgjh5j" or "url:http://example.com" or "reference:12345" or whatever they choose...


Wait, that's just sinking in.  If I was to add a comment to a console or RPC transaction, would it be preceded by the "text:" string or is the QT gui doing that?

is there currently a way to send a message without including the "text:" in the transaction data?

Uh oh Wink

I'm not sure I'm ready to build an actual transaction parser for raw hex transactions in php. Until now the JSON return has been sufficient for what I've done.

And thank you for the donation as well.
422  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][FLO] Florin coin | Coin featuring transaction comments on: June 21, 2013, 10:22:25 PM

Very nice! Exciting to see this. I'll update the first post with a link.

The version 1 transactions was kept for compatibility sake. I don't plan on changing the format of version 2 transactions. I added the "text:" part in the beginning of the comment so that people could adopt the convention for their own kind of transaction comments, for example "encrypted:HGKJHGYXBgjh5j" or "url:http://example.com" or "reference:12345" or whatever they choose.


For now it's a good add because it allows this sort of easy trapping of the message for folks that aren't comfortable fliflopping between bases and encodings.

The more people can work with it the more people will be attracted to it, for sure.  An update that returned it as a parameter of the RPC-JSON transaction data would make adoption easy. At the moment it's a bit of a (realtively easy) trick.

1. grab TX hex
2. Convert to ASCII using common tutorial funciton or native language function
3. use regex to split the ASCII translation of the hex at "text:"
4. second half of the split is the text message. (if one exists)

A check for transaction version may improve overall software efficiency but isn't necessary as a v2 transaciton may not have a message anyways.

Sound reliable enough, with your knowledge of how it actually works? 

Are there cases where it will catch "garbage" after the message in the hex? 

If it's always the end the length bytes only matter when you're already making sense of the rest of the hex. If you don't parse the actual hex into transaction data locally (and very few will) they're essentially at a random location it seems to me.

Also not to seem awful but I'm totally up for bounties and tips Roll Eyes

F6cSj818K2b1DsQWMDVZDRck6TaiNfxEm7
423  Alternate cryptocurrencies / Altcoin Discussion / Re: 51% attack resistance? on: June 21, 2013, 10:08:07 PM
I see the phrase "51% attack" used all the time it's like "the bogeyman".

if you mean a double-spend then no coin can resist it in theory if you have the majority of the hashing power on a blockchain you can write almost what you want to it.

51% isn't necessarily going to be enough, in a POW scenario.  I don't understand the POS math so I can't speak on required percentages or weights for those, it seems some of them may require (much) less than 51% of the network stake to pull a double-spend like attack.

There was a thread about powercoin being "51% attacked" I didn't have time to research it but just scanning it sounded like a blockchain switch of some sort. I suspect that one would take more than 51% too but not sure.

Are there other "51% attacks"?
424  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][FLO] Florin coin | Coin featuring transaction comments on: June 21, 2013, 09:32:58 PM

Code:
function hex2str($hex) {
    for($i=0;$i<strlen($hex);$i+=2) $str .= chr(hexdec(substr($hex,$i,2)));
    $str=substr($str, strpos($str, 'text:'));
    return $str;
}

Also, I sent you a PM. Please respond when you can Smiley


That's almost exactly what I used to make the conversion.  Most of the data just coimes out as gibberish it's not useful ASCII values.

that and a preg_split will catch the messages, so far.

If anyone can see it not working please let me know Smiley
425  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][FLO] Florin coin | Coin featuring transaction comments on: June 21, 2013, 09:23:23 PM
http://lotto.coinworld.us/FLO/bc/index.php

ok you can find your messages there for now, I was able to find a few messages and it seems to work.


Thank you very much skyangel for the tips.

I'll be merging that with some other code and cleaning it up a little later.

There's no database so it's hard to browse for random transactions but if you have a TXid it's fine.

I've never released this code before so if you run into anything odd feel free to drop me a PM thanks.

I'm working with MobGod to get some lottos up at http://lotto.coinworld.us/ since I wanted to check out this messaging FLO is one of the first coins added. It will have a coin and a link on the front page within the next hour or so.

Compared to 6coin and 8coin this is pretty damn innovative on my chart.  

It would be nice to have the old bitcoin message (comment) stubs either removed, or activated for this feature.  Did you save time by implementing it in parallel or do you have other ideas for expansion?
426  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][FLO] Florin coin | Coin featuring transaction comments on: June 21, 2013, 08:20:03 PM

The "text:" part is not guaranteed to always be there. It is only there if you send through the GUI. The best would be to parse the whole message like under the "Raw Transaction Detail" part on the web-site, but I don't know how easy it will be.

A quick way might be to do like you suggested and only look for "text:" messages. The length byte will always be before that, so you can validate that you are in the right spot. Since messages are currently a maximum of 140 characters, the three bytes before the length byte should be 0. Also remember that the message could contain anything, so if you display it on a web site there might be HTML in the message. You should "clean up" the message before displaying on a web site.


This is going to be a stab in the dark..

those things you're saying, I know what they mean but i have no idea how to sort out the bytes and etc...

I see already that v2 tx don't always have a text.

preg_split is probably the extent of my brain stretching today

EDIT and maybe some htmlspecialchars heh

427  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Florin (FLO) coin | New coin w/ transaction comments | Pools now available on: June 21, 2013, 07:40:52 PM

Also note that only those transactions that have "Tx version" = 2 have a message at the end.

ok thanks a lot, that should help.  It looks like if I send it all through a hex to ascii conversion i get a bunch of gibberish then "Text: and the cleartext message.

Is there a reason I shouldn't just trap for that? It seems to be the end of the hex data each time. Along with the tx version it should make things simple.


Looks nice. Got myself a few tickets  Smiley

Thanks I'm glad you like it, I've had mixed responses to the theme.  I still need to make some of those nav items images I think.

If there's any feedback I can make adjustments right now it sets drawing time for approximately 6 hours.
428  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Florin (FLO) coin | New coin w/ transaction comments | Pools now available on: June 21, 2013, 06:41:32 PM
ok well, I've had one test draw here:

http://lotto.coinworld.us/FLO/

It seems to be running fine, what sort of ticket price/drawing interval are FLO users interested in?

Also thanks frobley.  Is it always the same number of characters or how do i recognize that?  Sorry for the noob questions but I'm not familiar with this sort of thing.
429  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Florin (FLO) coin | New coin w/ transaction comments | Pools now available on: June 21, 2013, 06:23:24 PM
All right I hope I don't end up feeling like an idiot but I'm tired and I can't see it in the tx data:

http://lotto.coinworld.us/FLO/bc/index.php?transaction=de2824f54ccf5391bfc0c9b5a0a5e09214e4c045627a44c696bfb325f20c92ce

can someone help me fish it out or something so it can be displayed cleartext>?

430  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Florin (FLO) coin | New coin w/ transaction comments | Pools now available on: June 21, 2013, 05:57:08 PM
can someone send me some TXid with messages in them?  hunting block by block gets ooold

431  Alternate cryptocurrencies / Altcoin Discussion / Re: [FLO] Florin coin GIVEAWAY 10 FLO on: June 21, 2013, 05:46:59 PM
still sending?

F6cSj818K2b1DsQWMDVZDRck6TaiNfxEm7

thanks if you do Smiley

EDIT Fast too, thanks a lot!
432  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] RealCoin REC – Coin closest to real money |Coin of the real life| Launched on: June 21, 2013, 05:24:17 AM
since block 45127 i don't see any transactions confirmed in realcoin.

I have transactions waiting for over one hour and fifteen minutes now is there trouble?

block height is 45281 when I'm posting.
433  Alternate cryptocurrencies / Altcoin Discussion / Re: 1000 free IFC (Infinite Coin) on: June 20, 2013, 07:32:26 AM
iEkFTDVvTh9GaL6DX1qEJgHJ9SsXpfTKcW
434  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] INFINITECOIN GIVE-AWAY 5,000,000 to 20 lucky man [ANN] on: June 20, 2013, 07:31:18 AM
dang
435  Alternate cryptocurrencies / Altcoin Discussion / Re: DVC Giveaway! on: June 20, 2013, 07:29:11 AM
1F3FoHYrUgqzfsfEMGLSF2aUYQMSuyRUfs


thanks Smiley
436  Alternate cryptocurrencies / Altcoin Discussion / Re: Emerald giveaway threads: post your wallet address for 40 emeralds! on: June 17, 2013, 04:43:51 AM
ah you talked me into it

F422mVocCq2bkjDtUMqwy2j33SREQaTZzJ
437  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN][ARG] Argentum ARGCurrency.Org || Fast. Optimized. 0% Orphans on: June 15, 2013, 09:04:24 PM
...

Also, due to all the people attempting to cheat at the giveaway, every single profile is being checked before sending of any ARG. That means it takes longer to send but everyone in the list that is legitimate should have it tomorrow.

You might post about that in the other thread.  I came over here to find out if you had abandoned it after only completing 25 - 30% of the distribution.

The natives get restless really fast around here.
438  Alternate cryptocurrencies / Altcoin Discussion / Re: No Asic For Scrypt Fund on: June 15, 2013, 07:35:25 PM
The people creating ASIC Scrypt miners don't seem to be firing on all cylinders, so I'd contribute to this cause if the funding went toward sending them a shiny object to keep them distracted.

We could try and lure them off with vaginacoins but I think those are scrypt, too.
439  Alternate cryptocurrencies / Altcoin Discussion / Re: No Asic For Scrypt Fund on: June 15, 2013, 07:24:16 PM

... Get some really smart people together in a forum, hash out something ....

If this was as easy as you make it sound I would have my choice of home planets right now.

 Shocked

We can't stop all of the people who might be hiding in their garage soldering old electronics together into Scrypt ASICs.

We can, however, ensure that none of the money WE receive it put to such a terrible use.

If you missed our earlier broadcast, that donation address again is: LgoFdmpnFF9PBjtxqYckwJiS34kPf1R2TT

We'll keep it up on the screen during these next few comments so that you have plenty of time to fire up your wallet.

EDIT: I also feel obliged to point out that you can in fact create an ASIC for any algorithm that a normal computer can process. There is no ASIC-proof algorithm and ASIC-resistant only means that you have done something that will cause hardware production to be cost-prohibitive beyond it's likely value.
440  Alternate cryptocurrencies / Altcoin Discussion / Re: No Asic For Scrypt Fund on: June 15, 2013, 06:39:57 PM
I hope, for your sake, that there are people stupid concernedenough to send money to you for not creating and ASIC Smiley

Me Too!

As a bonus for our early adopters, today and today only we're adding the "No FPGA For Scrypt" bonus package so that after you donate, we will work just as hard to not develp an FPGA as we are currently working on not developing the Scrypt ASIC.

This is Two, Two, Two Deals In ONE!

Don't Be Left Out!
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!