Bitcoin Forum
June 15, 2024, 02:39:20 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Save any files to namecoin blockchain  (Read 7550 times)
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4200
Merit: 8440



View Profile WWW
February 21, 2013, 11: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.
jade087
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
February 21, 2013, 12:06:15 PM
 #22

What an awesome use case! What is the theoretical maximum growth of the NMC blockchain?
running (OP)
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
February 21, 2013, 02:28:05 PM
 #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.
phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
February 21, 2013, 03:13:24 PM
 #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.
running (OP)
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
February 21, 2013, 03:48:09 PM
 #25

You need seeders for magnets, though.
phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
February 21, 2013, 03:51:20 PM
 #26

You need seeders for magnets, though.
hmmm....   https://cryptabyte.com/ ?
pat1900
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
February 22, 2013, 01:30:46 AM
 #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


USD: 0.000 BTC       EUR: 0.000 BTC
phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
February 23, 2013, 07:49:33 PM
 #28

you can see here how you are spamming the chain: http://nx.bit  (http://blockchained.com/namecoin)
running (OP)
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
February 25, 2013, 03:39:31 AM
Last edit: February 25, 2013, 03:57:19 AM by running
 #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.
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4200
Merit: 8440



View Profile WWW
February 25, 2013, 04:18:16 AM
 #30

Namecoin has nothing on bitcoin testnet:

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

Activity: 1708
Merit: 1020



View Profile
February 25, 2013, 11: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
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!