How is bitcoin network stored and shared across the network? For instance, where is the data of UTXOs for each wallet is maintained?

2 Answers 2

  • What is the Design of Bitcoin storage?
  • where is the data of UTXOs for each wallet is maintained?

There's no need for every wallet to use the same storage format. The precise details of the storage format may be proprietary secrets or may be undocumented other than in the source code for that specific wallet.

This question could only be answered with some certainty for a specific version of a specific wallet.

  • How is [the blockchain] stored ... across the network?

Every full node keeps a complete separate copy.

Lightweight nodes (SPV etc nodes) each maintain a pruned copy of the blockchain that only contains blocks with unspent transaction outputs.

  • How is [the blockchain] ... shared across the network?

That is a rather separate question, there's probably an answer already here for that. Its probably described in Nakamoto's original whitepaper which is easy to find.

See also


The data is stored in the blockchain. Everything that you need comes from the blockchain. By scanning through the blockchain, a node can determine the UTXO set. If it is also a wallet, it can then find the transactions that pertain to it.

  • You misunderstood the question, I'm asking for the data storage of UTXOs, blocks and others like for UTXOs database is maintained and stored at the dir $DATADIR/chainstate which is updated with a new block and in case of reorganization of block active state data is rollback.
    – idk
    Jun 29, 2018 at 6:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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