Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: ThePanCakeKid95 on January 01, 2014, 06:57:47 AM



Title: How many addresses can Bitcoin-qt hold?
Post by: ThePanCakeKid95 on January 01, 2014, 06:57:47 AM
How many addresses can Bitcoin-qt hold?


Title: Re: How many addresses can Bitcoin-qt hold?
Post by: Bono on January 01, 2014, 07:12:03 AM
Quote from: SomeGuy
There isn't a problem with storage but there is a problem with the computation time necessary when constructing spend transactions which involve a large number of inputs from your wallet.

This is a problem that is evidenced by those who run Martingale betting bots against SatoshiDICE for instance. After they get several thousand bitcoin addresses with transactions, their subsequent bet transactions that draw from those coins start to crawl.

A future release of the Bitcoin.org client will address this by switching from BDB to LevelDB. Additionally targeted for future release is "ultraprune" which will lessen the storage requirements as well.

In the meantime, InstaWallet is one service that was able to come up with a solution that mitigated the problem. They might be able to offer some suggestions.


Quote from: SomeOtherGuy
From what I heard, Bitcoin uses a hash table for storing its addresses when checking new blocks and transactions for whether they are related to our wallet or not. This data structure should allow for fairly efficient data handling, meaning that it should scale fairly well with growing amount of addresses.

So, for any sane amount of addresses, Bitcoin should scale well. Generally, the size of the wallet.dat is small in comparison to how much RAM even a low-end machine has, so it shouldn't be much of an issue.

http://bitcoin.stackexchange.com/questions/4928/how-many-addresses-can-be-handled-reliable-in-one-wallet


Title: Re: How many addresses can Bitcoin-qt hold?
Post by: ThePanCakeKid95 on January 01, 2014, 07:17:53 AM
thank you :)


Title: Re: How many addresses can Bitcoin-qt hold?
Post by: Meuh6879 on January 01, 2014, 11:42:18 AM
in my way, it's more simple to destroy wallet.dat after send the amount of the bitcoin-QT to smartphone ... recreate a empty wallet.dat (on bitcoin-QT) and resend the amount from the smartphone.

from the point of the network, it clean the "taint" history presented by the blochcahin API...

example here : http://blockchain.info/fr/taint/13yuxe4E7DGazMoM7RX1Zvy9EmQEvnz5eA

1,8% validated ... it's a non-sense transaction (no clean at all made by robot).
you have 100% validate if you wait 6 confirmations (less than 1 hours now with 0.8.6 bticoin client)