1

There are multi nodes type could be used in bitcoin network.

Could bitcoind support running different types of nodes by different sets of args?

I found many discussion here, but seems no clear conclusion.
Is there a light (SPV) version of bitcoin core (bitcoind)?

Per my understanding, if we use pruning, the node will drop the previous data block, and can not preserve all the transactions of a specific address set.

enter image description here

6

No. bitcoind does not have a SPV mode at all.

Pruning is not the same thing as SPV because a pruned node still downloads and verifies the blockchain. Just instead of storing all of the blocks in the blockchain, it discards blocks when they become deep enough in the blockchain. This reduces disk usage but does not effect security, bandwidth usage, or initial sync time. Pruned still receive all blocks and transactions, validate them, and relay them.

Conversely, SPV wallets do not even download or verify the blockchain at all. They only do simple verification, not full verification. SPV wallets only download block headers and check the proof of work. They do not and cannot check entire block validity like full nodes can. This allows SPV wallets to have a much much faster initial sync time at the cost of security. SPV wallets do not receive all blocks and transactions and thus cannot validate or relay them.

  • Thanks for the answer, which is very clear and straightforward. One more question here, do you know is there any other library/tool could be used to create a SPV node? – Capemer Jan 1 at 11:35
  • BitcoinJ is a Java library that uses BIP 37 for it's SPV stuff. – Andrew Chow Jan 1 at 16:12

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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