Pages:
Author

Topic: Save any files to namecoin blockchain (Read 7550 times)

legendary
Activity: 1708
Merit: 1019
February 25, 2013, 07:34:56 AM
#31
Namecoin has nothing on bitcoin testnet:

Code:
(bitcoind -testnet getrawtransaction 73e64e38faea386c88a578fd1919bcdba3d0b3af7b6302bf6ee1b423dc4e4333 ; bitcoind -testnet getrawtransaction d85af546147ff78dfb06e9469ddfc84adc3ce00cda54db8d65b7617ff2b7661a) | xxd -r -p | play -tul -

 Huh
staff
Activity: 4200
Merit: 8441
February 25, 2013, 12:18:16 AM
#30
Namecoin has nothing on bitcoin testnet:

Code:
(bitcoind -testnet getrawtransaction 73e64e38faea386c88a578fd1919bcdba3d0b3af7b6302bf6ee1b423dc4e4333 ; bitcoind -testnet getrawtransaction d85af546147ff78dfb06e9469ddfc84adc3ce00cda54db8d65b7617ff2b7661a) | xxd -r -p | play -tul -
newbie
Activity: 40
Merit: 0
February 24, 2013, 11:39:31 PM
#29
you can see here how you are spamming the chain: http://nx.bit  (http://blockchained.com/namecoin)

When I look at it, some people dumped 2 nonsensical junk files, me and some other guy wrote something in plaintext and that's about it. So nothing important happened there.
legendary
Activity: 1708
Merit: 1019
February 23, 2013, 03:49:33 PM
#28
you can see here how you are spamming the chain: http://nx.bit  (http://blockchained.com/namecoin)
full member
Activity: 154
Merit: 100
February 21, 2013, 09:30:46 PM
#27
I still haven't sorted out what to do when some of the file parts expires.

It is possible to look at even expired domains, but I am not sure how.
Use name_history instead of name_show, then fetch the last (i.e. latest) record of the result. If the domain has expired, the number of blocks found since the expiration time simply shows up as a negative number, e.g.

Code:
namecoin name_history d/capitalism

gives you

...
"expires_in : -144"
...


In other words: d/capitalism has expired yesterday.  Cry

legendary
Activity: 1708
Merit: 1019
February 21, 2013, 11:51:20 AM
#26
You need seeders for magnets, though.
hmmm....   https://cryptabyte.com/ ?
newbie
Activity: 40
Merit: 0
February 21, 2013, 11:48:09 AM
#25
You need seeders for magnets, though.
legendary
Activity: 1708
Merit: 1019
February 21, 2013, 11:13:24 AM
#24
I still haven't sorted out what to do when some of the file parts expires.

It is possible to look at even expired domains, but I am not sure how.

One more argument towards storing the actual data in a faster place. Have you ever heard of bittorrent magnet links? The file itself could be encrypted so it would be some kind of do it yourself mega.
newbie
Activity: 40
Merit: 0
February 21, 2013, 10:28:05 AM
#23
I still haven't sorted out what to do when some of the file parts expires.

It is possible to look at even expired domains, but I am not sure how.
newbie
Activity: 36
Merit: 0
February 21, 2013, 08:06:15 AM
#22
What an awesome use case! What is the theoretical maximum growth of the NMC blockchain?
staff
Activity: 4200
Merit: 8441
February 21, 2013, 07:53:37 AM
#21
Most of the insertion slowness is probably the recursive IsFromMe / IsConfirmed checks in coin selection for unspent change in coin selection, as IsConfrimed recursively does that along the whole input tree with no-memoization. Commenting out lines 607 to 616 in wallet.cpp and I expect spending unconfirmed coins will become much faster.
legendary
Activity: 2058
Merit: 1005
this space intentionally left blank
February 21, 2013, 05:16:59 AM
#20
I found a way to save any arbitrary files to namecoin blockchain.

I think this can be kind of big.

See: https://github.com/runn1ng/namecoin-files

this will be much to slow to be practical. links to encrypted torrent files or mega on the other hand...


MEGACOIN
legendary
Activity: 1512
Merit: 1032
February 21, 2013, 05:16:17 AM
#19
I think it's time pools shut off NMC support...
That's dumb; there's 3GB of satoshidice crap on my hard drive because pools aren't shutting that off...

Experimenting is fine, but this brings up the point of setting a reasonable fee on Namecoin for name registration again: http://dot-bit.org/forum/viewtopic.php?p=2954#p2954 and for pools to pick up such a new version when it is released.

The cost of a name is about 25 for a USD penny.
legendary
Activity: 1708
Merit: 1019
February 21, 2013, 04:29:30 AM
#18
I found a way to save any arbitrary files to namecoin blockchain.

I think this can be kind of big.

See: https://github.com/runn1ng/namecoin-files

this will be much to slow to be practical. links to encrypted torrent files or mega on the other hand...
legendary
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
February 21, 2013, 03:58:57 AM
#17
Someone should upload a trojan horse.

 Cheesy Cheesy Cheesy
legendary
Activity: 2576
Merit: 1186
February 21, 2013, 03:44:55 AM
#16
I think it's time pools shut off NMC support...
newbie
Activity: 40
Merit: 0
February 20, 2013, 01:45:34 PM
#15
Please do NOT use namecoin as arbitrary storage. This is not its function; you are risking irritating people enough to hardfork. At the moment, namecoin's growth is small and measured. I am fairly sure that the current users are not interested in storing your data.


AFAIK, namecoin can be used as general persistent key/value storage. (It is even encouraged on the wiki - http://dot-bit.org/Use_cases )

If it can be used as such, it can be used to store files, too, if they are encoded correctly.

If miners won't want to accept these transactions they won't. Free market and so on.
member
Activity: 88
Merit: 37
February 20, 2013, 01:35:43 PM
#14
Please do NOT use namecoin as arbitrary storage. This is not its function; you are risking irritating people enough to hardfork. At the moment, namecoin's growth is small and measured. I am fairly sure that the current users are not interested in storing your data.
legendary
Activity: 1205
Merit: 1010
February 20, 2013, 01:00:19 PM
#13
Yeah, I am very excited by this so excellent detective work running Smiley

Yeah sunny, my thoughts were that if it can be done to namecoin then surely it can be done to any coin?? so this poses a potential threat to all currencies right? just as much as someone could 51% attack a chain with enough hashing power... anyone could also now bloat the blockchain with enough power / time and kill anyone with small HDD right and ruin the blockchain for that currency?

It's much easier to do with namecoin via its API of 'name_new', 'name_firstupdate' and 'name_show'. With other coins there is no such api available so it needs to create the data transaction itself, and retrieve it back and parse it via maybe getrawtransaction, and it also needs to track transaction id and possibly embed some data structure to link multiple transactions for a file, or maintain its own persistent index. It's a lot more work but in theory doable.

The only thing preventing a flood of data/spam is the transaction fee and maximum block size. Altcoins are more vulnerable to these issues because the fees are much lower compared to bitcoin right now.

namecoin fee is 0.005 per KB, or 5 coins per MB, 5000 coins per GB. Given the current exchange rate, that's about $200~$300 per GB, not much money to cause real pain for the entire network.

I am not really too worried just kidding. Still most likely ppcoin will eventually support database use like namecoin. And kudos to Running for the excellent work  Wink
full member
Activity: 126
Merit: 100
February 20, 2013, 08:17:29 AM
#12
NMC paid storage?
Pages:
Jump to: