A block chain is a transaction database shared by all nodes participating in a system based on the Bitcoin protocol. A full copy of a currency’s block chain contains every transaction ever executed in the currency. With this information, one can find out how much value belonged to each address at any point in history.
Every block contains a hash of the previous block. This has the effect of creating a chain of blocks from the genesis block to the current block. Each block is guaranteed to come after the previous block chronologically because the previous block’s hash would otherwise not be known. Each block is also computationally impractical to modify once it has been in the chain for a while because every block after it would also have to be regenerated. These properties are what make double-spending of bitcoins very difficult. The block chain is the main innovation of Bitcoin.
Honest generators only build onto a block (by referencing it in blocks they create) if it is the latest block in the longest valid chain. “Length” is calculated as total combined difficulty of that chain, not number of blocks, though this distinction is only important in the context of a few potential attacks. A chain is valid if all of the blocks and transactions within it are valid, and only if it starts with the genesis block.
For any block on the chain, there is only one path to the genesis block. Coming from the genesis block, however, there can be forks. One-block forks are created from time to time when two blocks are created just a few seconds apart. When that happens, generating nodes build onto whichever one of the blocks they received first. Whichever block ends up being included in the next block becomes part of the main chain because that chain is longer. More serious forks have occurred after fixing bugs that required backward-incompatible changes.
Blocks in shorter chains (or invalid chains) are not used for anything. When the bitcoin client switches to another, longer chain, all valid transactions of the blocks inside the shorter chain are re-added to the pool of queued transactions and will be included in another block. The reward for the blocks on the shorter chain will not be present in the longest chain, so they will be practically lost, which is why a network-enforced 100-block maturation time for generations exists.
These blocks on the shorter chains are often called “orphan” blocks. This is because the generation transactions do not have a parent block in the longest chain, so these generation transactions show up as orphan in the listtransactions RPC call. Several pools have misinterpreted these messages and started calling their blocks “orphans”. In reality, these blocks have a parent block, and might even have children.
Because a block can only reference one previous block, it is impossible for two forked chains to merge.
How do Bitcoin Transactions Work? http://www.coindesk.com/information/how-do-bitcoin-transactions-work/
Gostou do v?deo?
Gostou do v?deo, d? o seu “joinha?, clicando em ?Marcar como ?Gostei?. Inscreva-se em nosso canal, acompanhe nossas publica??es e interaja com a comunidade Bitcoin no Brasil. Deixe seus coment?rios, d?vidas ou sugest?es. Considere fazer uma pequena doa??o Bitcoin para este endere?o: 18e9RuVTqM2eKaQv1Xs8SpoS6DGeASyfrg afim de ajudar na manuten??o deste canal.
Deseja saber mais sobre Bitcoin?
Para saber mais sobre Bitcoin acesse: http://bestbitcoin.com.br
Curta nossa fanpage: https://facebook.com/BestBitcoin
Siga-nos no Twitter: https://twitter.com/BestBitcoins
Inscreva-se em nosso Reddit: http://www.reddit.com/r/BestBitcoin/
Compre seu primeiro Bitcoin: http://bitly.com/BuyBitcoinNow
Bleutrade Cryptocurrency Exchange: https://bleutrade.com
Video Rating: / 5
A short video looking at ‘Bitcoin’, a decentralized digital currency.
This is a self funded personal project, If you would like to make a Bitcoin donation for the video, please do so to 1P9wrpA2UQ2GEmMpt81Ch3Wt4poq5LhpiW
Directed, Designed and Animated by Duncan Elms – duncanelms.com
Written and Voiced by Marc Fennell – marcfennell.com
This project was done between other jobs. Therefore some of the stats are not up to date. For more info please see en.wikipedia.org/wiki/Bitcoin