Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: findftp on May 03, 2016, 08:39:36 AM



Title: Do pruned nodes store the UTxO set and can they serve SPV wallets?
Post by: findftp on May 03, 2016, 08:39:36 AM
I have a pruned node and would like it to serve my android bitcoin wallet exclusively. That means, the android wallet should not connect to any other node. I have 50 connections on my pruned node on avarage.
The android wallet dev says pruned nodes cannot serve SPV wallets because they do not have a full copy of the blockchain.

Why does a SPV wallet need something else than the UTxO set?
Are pruned nodes storing the complete UTxO set at al? Or only last n blocks?




Title: Re: Do pruned nodes store the UTxO set and can they serve SPV wallets?
Post by: achow101 on May 03, 2016, 11:41:10 AM
I have a pruned node and would like it to serve my android bitcoin wallet exclusively. That means, the android wallet should not connect to any other node. I have 50 connections on my pruned node on avarage.
The android wallet dev says pruned nodes cannot serve SPV wallets because they do not have a full copy of the blockchain.

Why does a SPV wallet need something else than the UTxO set?
Are pruned nodes storing the complete UTxO set at al? Or only last n blocks?
AFAIK pruned nodes still have to store the entire UTXO set. However, SPV wallets typically require the block headers which pruned nodes cannot provide. I'm not sure what it used those for, but I'm pretty sure that SPV wallets will be asking for other historical data that a pruned node can't provide.


Title: Re: Do pruned nodes store the UTxO set and can they serve SPV wallets?
Post by: findftp on May 03, 2016, 12:04:24 PM
I have a pruned node and would like it to serve my android bitcoin wallet exclusively. That means, the android wallet should not connect to any other node. I have 50 connections on my pruned node on avarage.
The android wallet dev says pruned nodes cannot serve SPV wallets because they do not have a full copy of the blockchain.

Why does a SPV wallet need something else than the UTxO set?
Are pruned nodes storing the complete UTxO set at al? Or only last n blocks?
AFAIK pruned nodes still have to store the entire UTXO set. However, SPV wallets typically require the block headers which pruned nodes cannot provide. I'm not sure what it used those for, but I'm pretty sure that SPV wallets will be asking for other historical data that a pruned node can't provide.

Thank you very much, both of my questions answered.  :)