L17 - Blockchain and Bitcoin Flashcards
What is the difference between Bitcoin and bitcoins?
Bitcoin -> Refers to the software / protocol / community
bitcoins -> A monetary value
What is bitcoin?
A cryptocurrency built on blockchain technology, removing the need for third-party mediators using transactions.
What does the value of a cryptocurrency depend on? Why is this?
- The number of people using the cryptocurrency.
- More people means more trust due to leveraging a peer-to-peer network whereby users have to authenticate transactions.
What is wallet software?
- Each user on the network has a wallet built on specialised software.
- Each wallet has a bitcoin address to receive transactions.
- Each wallet holds the entire history of all transactions over the blockchain.
Explain how transactions work over the blockchain network….
Each transaction is broadcast over the network, and this verified by miners before being completed and added to the transaction history of the blockchain.
What is a blockchain?
A peer-to-peer decentralised ledger containing the entire history of transactions across the network.
Who verifies transactions over the blockchain?
Miners
What property of blockchain guarantees security?
Blocks are generated by running prior blocks through a cryptographic function. This means if a block is modified, the hash changes and this change ripples through the blockchain. This means that users of the blockchain will be aware of any changes made to a block.
How is trust created in the blockchain data?
Blockchain data can be trusted due to the use of cryptographic functions meaning it’s impossible to change block data without changing the rest of the blockchain.
What are the 2 main things blockchain prevents?
- Double spending -> Risk that a cryptocurrency can be used more than once. This is prevented due to the verification process.
- Historic blocks being modified -> Prevented via using cryptographic functions to generate blocks.
Which cryptographic function is traditionally used?
SHA256
Define the concept of proof-of-work and how it works…
- A consensus mechanism used to get uniform agreement of the ledger state.
- Get consensus on transactions and their order across the distributed network.
- Miners in the blockchain compete to solve a complex mathematical problem. The miner tat completes it first, publishes the result and other miners verify its correctness. This is very computationally expensive, thus, the proof of work helps prevent malicious agents from easily manipulating the blockchain.
- Essentially, it’s made such that it’s far too much effort for hackers to warrant trying to manipulate the blockchain.
What data does each block contain?
Timestamp, bits, nonce, previous hash, transaction number, transactions, header.
What part of the block is used for identification and proof of work?
Block header
Block headers are hashed to create proof of work
What are the properties of a hash function that justify its use in blockchain?
Collision free -> 2 inputs rarely generate the same output
One-way function
Takes arbitrarily long input and creates a fixed length output.