The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

1

Of course, you can add as many UTXO's as will fit in a block. In fact, you usually have to because you don't always have a UTXO for the exact amount you are trying to spend. Note that more UTXO will result in a higher transaction fee because the fee is based on the current market fee rate (satoshi/kB) and more UTXO increases the kB. For example, check out ...


1

Utreexo makes it possible to use Bitcoin securely without downloading the full blockchain. Since some prominent Bitcoin Core devs think there are not enough full nodes, I speculate that some may not like the prospect of less full nodes (less decentralization), and further more, more code complexity. Also, Utreexo is still in development. Also, since it ...


1

I want add a clarification inside your good post by Jose Fonseca, the UTXO is a TransactionOutput, this structure has only 2 value, the amount and the scriptPubKey. The link to the previous transaction is inside the TransactionInput so, the TransactionInput and the transaction output is contained inside the Raw transaction. So inside the cache is present ...


3

Once spent, the wallet removes the UTXO from its cache of unspent transactions. The transaction is not removed from the general database (the blockchain or block index). Full nodes running with txindex=1 keep every transaction forever. Some wallets though optimize the database to recover disk space - but this is a wallet-specific optimization and not part of ...


3

Bitcoin does not work on an account model but operates on an UTXO (unspent transaction output) model. When you send bitcoins to an address, what you are essentially doing is locking those bitcoins in a mathematical equation. Spending those coins requires that you provide the correct unlocking condition (most often signature and public key associated with ...


0

You have to divide this question into two parts. Your confusion arises from the fact that there is no account per person like a bankaccount. 1 - If there is no account where does the knowledge of who owns how many bitcoin comes from? The blockchain contains of information about amounts of bitcoins that have been sent to addresses. So, it knows how many ...


0

How is the monetary aspect of a bitcoin stored? There is no such thing as a Bitcoin in normal Bitcoin usage. Bitcoin is a currency but it does not have the equivalent of a physical coin that passes around. Bitcoin is really a unit of measure not a coin or anything much like a coin. Where the monetary aspect is stored depends on where you look. Bitcoin ...


1

Within the Bitcoin protocol, each Bitcoin is represented as 100000000 satoshis. Therefore, you can divide bitcoin up with a precision of 0.00000001. In a transaction, the number of satoshis being delivered to each output is recorded, along with a record of which previous output is being spent. The fee is then derived from sum(Inputs) - sum(Outputs). The ...


3

How Bitcoin dose find and verify UTXO? By Bitcoin, I think you must mean "Bitcoin core" - the Bitcoin wallet software derived from the original reference implementation by Satoshi Nakamoto. The word Bitcoin also encompasses the specific set of concepts outlined in the Bitcoin whitepaper, the network protocol definitions, the Bitcoin improvement proposals (...


1

This is already done, somewhat implicitly. As a bitcoin node syncs, it constantly updates a utxo database. For each block, it removes all utxos consumed in that block, and adds all new ones created. As a result, once the node has synced, it has a full list of all unspent utxos. When a new transaction is processes, the node only needs to check this ...


Top 50 recent answers are included