Ledger structure:
consensus mechanism: proof of workload mechanism (Proof of work)
Other proof mechanisms:
In the Bitcoin blockchain, when a transaction is generated through a node or purse, the transaction needs to be transmitted to other nodes for verification. The practice is to encrypt the transaction data through a digital signature and derive a string representing the unique hash value of the transaction via a hash function, and then broadcast the hash value (broadcast) to the other participating nodes in the Bitcoin blockchain network.
How the blockchain works in terms of a single transaction:
When a new transaction is generated, it is broadcast to the other participating nodes in the blockchain network, each of which collects several unverified hash values into chunks, each of which can contain hundreds of or thousands of trades. It is a common practice for each node to calculate the work proof to determine who can verify the transaction, and to validate the transaction by the node that calculates the result the quickest. The fastest completion of the POW node, will broadcast their own chunks to other nodes, the other nodes will confirm that the block contains the transaction is valid, confirmed that it has not been repeated costs and has an effective digital signature, accept the block, when the block is formally connected to the blockchain, can not tamper with the data. Once all nodes have accepted the chunk, the blocks that were previously not finished with the POW work will be invalidated, and each node will reestablish a chunk to continue the next POW calculation.
Ps:
Some key technologies of blockchain:
1, Cloud Computing (Docker)
2, distributed storage
3, encryption algorithm
4, distributed Protocol
5, micro-service
6, Big Data
Open Source software:
Ethereum:https://github.com/ethereum/ethereumj