Permissionless Blockchain
Anybody can join, identity and number of users not required
Permissioned Blockchains
Users are checked/authorised
General principles of blockchain
Each block has a hash of what?
The previous block
Creates agreement between blocks and tampering etc
If someone changes data in a block, what happens?
They need to change the hashes all the way forward in the blocks. (all blocks after).
Everyone else must also agree though either by collusion of more than 50% agreeing or proof of work
Typically, data put in blockchain is authenticated by…
digital signatures
Proof Of Work
Ensures a valid message can only be created by spending a certain amount of resources
Using a hash function H for proof of work
Requires trying many nonces r.
Publish m||r with success
Bitcoin miner
They compute a “proof-of work” for that block and write the successful nonce as a block field.
Bitcoin miner: what do other participants do when successful block found?
Using proof of work for anti spam