Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.
Preference cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in.
Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.
Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

Bitcoin's Data Structures

When a user submits a bitcoin transaction, it is verified and settled through a consistent journey requiring three data structures, each of which has a different role, allowing any node to enforce the protocol and ensure bitcoin cannot be spent more than once:

  • The UTXO set is the current state of all bitcoin balances (who owns what) within the system

  • The blockchain is the historical transaction record which logs every exchange of bitcoin from one address to another, and

  • The mempool is a temporary home for correct transactions awaiting processing into the blockchain

A transaction begins with a participant authorising the spending of bitcoin with a digital signature from a private key. That transaction is broadcast to the network, and received by another participant running the bitcoin software. The receiving participant verifies the correctness of the transaction per the protocol rules implemented by Bitcoin software. This verification process, detailed by the protocol rules, requires nodes to search their databases (UTXO set, blockchain and mempool) to determine whether bitcoin can be correctly transferred.

If the transaction is deemed correct by a full node, it is added to their mempool and propagated to each of its connected peers. The verification process is repeated for the connected peers and the transaction is continuously ‘gossiped’ throughout the network, effectively being added to each participant’s mempool along the way. Eventually, a mining node will add the transaction to their mempool and subsequently include the transaction into a valid block.

Once the valid block is broadcast, it undergoes a similar verification and propagation process across the network, whereby each participant appends their blockchain and updates their UTXO set and mempool. Similarly to transactions, this process is repeated for each bitcoin block and ensures the correct transfer of bitcoin from wallet to wallet.

Welcome
to CoinShares

Personal data

0102

When you visit CoinShares website, cookies enhance your experience. They help us to show you more relevant content. Some cookies are necessary for the site to work and will always be active. Blocking some types of cookies may impact your experience of the website and the services which we offer on our website.

We use cookies on our site to optimize our services. Learn more about our EU cookie policy or US cookie policy.

  • Necessary
    Question circle icon
  • Preferences
    Question circle icon
  • Statistical
    Question circle icon
  • Marketing
    Question circle icon