Homework on Bitcoin Ecosystem - Questions
1. What is the difference between a SPV (simplified payment verification) and a full node?
An SPV only stores transactions relevant to addresses derived from its private key, and trusts a full node instead (which has a complete copy of the blockchain) to verify itâs transactions.
It can also query the blockchain to update information on itâs pending transactions.
2. What does it mean when a transaction is broadcasted?
Once the transaction has been constructed by the wallet, and signed with the private key, it is then broadcast to the nodes of the network, where it will remain in the mempool of each node that has received it until it is added to a new block and mined.
3. How does a miner pick which transactions that gets added to the next block?
The block size for bitcoin is 1MB, so only a limited number of transactions can fit into a single block. If network users pay higher transaction fees, the miners are incentivised to favour those transaction over cheaper ones, as they will make more profit.
These fees are measured in Satoshi per byte, and are added to the transaction before it is broadcast.