Linked Questions

0 votes
1 answer
673 views

Why is UTXO model better than Account model? [duplicate]

According to this I infer that UTXO is better (or at least more secure) than Account model. The reason why transactions work this way is because it’s an easier and more secure way of doing it from ...
user avatar
  • 101
0 votes
1 answer
491 views

How does Ethereum account state change? [duplicate]

Ethereum uses Accounts instead of UTXO (Bitcoin). I would like to know how does the ledger keep the account state (technical details if possible)? Does it modify the ledger (accounts) by incrementing ...
user avatar
  • 1
20 votes
3 answers
7k views

How does the Ethereum ETH accounting system work and prevent double-spends?

In Bitcoin, the BTC accounting system is based on UTXOs (Unspent Transaction Outputs), which prevents the same BTC from being spent multiple times. I heard that Ethereum has a simpler account balance ...
user avatar
  • 2,450
9 votes
1 answer
3k views

How are Ether balances stored on the Ethereum blockchain

My understanding of Bitcoin is that balances are not stored but are instead calculated by summing all in and out transactions. Are Ether balances calculated in the same way or are they stored ...
user avatar
  • 579
8 votes
2 answers
2k views

Does a mining reward transaction have a hash?

I can't find a mining reward transaction hash for a given block. I can see the block hash, all the transactions inside the block, etc. But the mining reward transaction is not listed among the details....
user avatar
  • 31.3k
4 votes
2 answers
612 views

Importing private key: Why is it so fast?

I've just imported two private keys with both, geth and the zcash-cli. While the zcash-cli (a public t.* address) took more than 15 minutes* (I guess it scanned the whole blockchain), geth was ...
user avatar
  • 163
4 votes
1 answer
1k views

Is it possible to have multiple address in the same account?

I mean : getting several payments from several addresses to the same account so I could send all the coins at once and not paying the fee for each transaction I'm willing to run ETH Node if necessary ...
user avatar
  • 43
4 votes
1 answer
417 views

How to get UTXO set using JSON API?

My blockchain development background is in Bitcoin, but it now seems to me that the most dynamic and interesting blockchain platform is Ethereum. In my quest to grok the Ethereum protocol I'm ...
user avatar
0 votes
1 answer
146 views

How do you get the UTXOs a transaction is spending using web3.js?

I'm unsure how to get the UTXOs that a transaction is spending. Here's what I have so far. I get transaction details from txhash web3.eth.getTransaction("...
user avatar
2 votes
1 answer
179 views

How does Ethereum know that I have enough ETH to spend?

Ethereum uses account-based model. It means that if account A has 50 ETH and sends 10 ETH to account B, transaction will look like "send 10 ETH from A to B" (no inputs and outputs as in UTXO). With ...
user avatar
3 votes
0 answers
124 views

How are patricia trees used to prove the balance of an account?

I understand how merkle trees are used to prove the balance of an address with a small subset of the blockchain. On the Ethereum case, though, the result of a transaction could depend on the final ...
user avatar
  • 3,137
0 votes
0 answers
40 views

State transiation logic

I read the whitepaper of ethereum and I have a question: APPLY(S,TX) -> S' My question is since S is defined as a set of UTXO, but AFAIK the blockchain does not store each balance in a block, is ...
user avatar
  • 424