2

I know that satoshi's client doesn't prune, because we need to store all the transactions so that we can send them to other nodes. But does this android bitcoin wallet from de.schildbach prune? Space on a smartphone is at a higher premium so it seems like a good place to prune.

And how much space would pruning save? Has it ever been checked?

2

That wallet is using bitcoinj as its client which implements a "simplified payment verification" mode.

Here's what the client does in this implementation:

  • Connects to a trusted node.
  • Downloads only the block headers.
  • Validates the headers.
    • Do they chain back to genesis block?
    • Is difficulty high enough?
    • Do I trust this node enough?
  • Downloads only the transactions that yield ownership to your addresses.
  • Sufficiently deep block headers are thrown away.

Resource usage in this implementation just depends on your own sent/received transactions.

As of October 2012 (block 203258) there have been 7,979,231 transactions, however the size of the unspent output set is less than 100MiB, which is small enough to easily fit in RAM for even quite old computers.

In other words, almost 8 million txns in Oct2012 could be consolidated to 100MiB just by throwing out txns that had no spendable outputs.

So you can imagine how little space it takes just to store transactions relevant to your addresses.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.