Homework on Bitcoin Ecosystem - Questions

  1. What is the difference between a SPV (simplified payment verification) and a full node?
    The SPV just needs the Block Headers of the longest blockchain instead of the entire Blockchain like the Full Node does.
  2. What does it mean when a transaction is broadcasted? Once the node verifies a transaction it broadcasts it to other nodes.
  3. How does a miner pick which transactions that gets added to the next block?
    It picks the TX with the highest fee attached to it.

#1spv can us cellphone it piggybacks checks other nodes to verify#2 a full node is computer used and has us of full blockchain no trust .

#2its saved in mempool for miner to take action and put it to us on blockchain

#3 miners looking for highest fees to put on blockchain first satosie/byte bitcoin per byte

1 Like
  1. What is the difference between a SPV (simplified payment verification) and a full node?
    A full node downloads the entire blockchain, which is now around 269 gigs. So an SPV is a lightweight node which uses a simplified payment method, which allows a node to verify transactions without having to download the entire blockchain.

2.What does it mean when a transaction is broadcasted?
When a transaction is propagated throughout the network, it is then placed in the mempool to wait it’s turn to be processed.

  1. How does a miner pick which transactions that gets added to the next block?
    Miners will rather process transactions with a higher fee in order to make a profit.
1 Like

1- A SPV wallet get the UTXO from other nodes and the full node have already all the UTXO’s because the wallet is also a node.
2- Is wen a new transaction is propagated through the network.
3- By the highest transaction fees.

1 Like
  1. SPVs only store the transactions relevant to them while full nodes have the complete transactions and origins of coins.
  2. It means that a transaction is being relayed to other nodes.
  3. The highest transaction fees are always picked by miners
1 Like
  1. What is the difference between a SPV (simplified payment verification) and a full node?
    The SPV ask for info from the node that holds the full ledger of BTC, an SPV is therefore different
  2. What does it mean when a transaction is broadcasted?
    The transaction joins the mempool from where a miner will hopefully pick it up
  3. How does a miner pick which transactions that gets added to the next block?
    Good q Im not 100% sure but somehow they can pick up the transfer request with the highest fees imho they shouldn’t have that privilege but have a random harvesting of win some and win some less.
1 Like
  1. A node stores all confirmed transactions in a digital immutable ledger called the blockchain and propagates the transactions throughout the network. Unconfirmed transactions are kept in a node’s mempool.

Some devices, namely mobile phones, may not have the capability to store the entire blockchain. In these cases, the device may then trust another node that its copy of the blockchain is true and allow that node to verify and append transactions to its own blockchain on the device’s behalf. These kinds of trusting nodes are called simplified payment verification (SPV).

  1. A transaction is said to be broadcasted when it has been propagated throughout the network and many nodes know of the existence of this transaction. An internet connection is necessary and sufficient for broadcasting to take place.

  2. Miners choose which transactions get added to the new block depending on the size (in bytes) of the transactions, but more importantly the fee associated with those transactions. Miners will earn the associated fees to appended transactions, so of course they will be more interested in the transactions with the highest fees.

1 Like
  1. What is the difference between a SPV (simplified payment verification) and a full node?
    An SPV performs the function of a wallet. However, it only carries the public/private keys and does not have the capability of a full node - i.e it does not have a copy of the current blockchain. An SPV typically operates off a mobile device. It queries/communicates several times with several full nodes to ascertain the current status of the blockchain.

  2. What does it mean when a transaction is broadcasted?
    A wallet essentially queries the network on what UTXOs the private key associated with it can spend. Once it receives the list of UTXOs, it computes the available wallet balance. Depending on the desired transaction, the wallet choses / recommends a fee (or allows the user to select), and then broadcasts the transaction to the network.

  3. How does a miner pick which transactions that gets added to the next block?
    Nodes listen for transactions broadcast by wallets on the network. Since they have a copy of the current blockchain, they can validate the transaction initiated by the wallet. If it is not valid, it gets rejected. If it is valid, it enters into the mempool where it gets picked by miners for the next block.

1 Like
  1. What is the difference between a SPV (simplified payment verification) and a full node?

The SPV does not have a copy of the blockchain, it needs to connect to a node to get the data.

A full node has the whole copy of the blockchain, it then verify that it is correct and verify transactions.

  1. What does it mean when a transaction is broadcasted?

The TX is spread out among the nodes in the network.

  1. How does a miner pick which transactions that gets added to the next block?

They select them from the mempool, and are incentivized to pick the ones with the highest fees in order to make more money from the mined block.

1 Like
  1. SPV don’t hold all the information of a full node, mostly just info relevant for it’s transcations, while nodes hold the entire blockchain…
  2. When a transaction is broadcasted, it means that a node is sending its block confirmation to other nodes to confirm that block and build the chain
  3. Miners pick transactions from the Mempool depending on the fee that they will get from confirming the transaction…
2 Likes

Transactions get broadcasted before they get put into a block, so the miners are aware of them and can put them in a block :wink:

1 Like
  1. An SPV is a piece of the blockchain and require a full node to send transactions.
  2. When a transaction is propagated to all the nodes in the network.
  3. The miner picks the trasactions with the greatest transaction fees to add to the block.
1 Like
  1. SPV nodes that do not have the entire blockchain. Full node has complete version of the blockchain
    2 Broadcast is when a node has been sent to the blockchain to he mined.
  2. MIners picks those transactions that have the highest fees
1 Like
  1. A full node validates transactions and has a locally stored copy of the entire blockchain; an SPV connects to nodes to get the limited information it needs for a specific transaction it is handling, and does not store a copy of the blockchain.
  2. It means a wallet (which is usually an SPV) sends a message out to the network that a transaction took place.
  3. Miners get paid fees and block rewards, so, naturally, miners will pick transactions paying the highest fees first.
1 Like
  1. What is the difference between a SPV (simplified payment verification) and a full node?
  2. What does it mean when a transaction is broadcasted?
  3. How does a miner pick which transactions that gets added to the next block?

Answers:-

  1. SPV stores only transactions in an App relevant to its addresses while full nodes stores the whole blockchain. Therefore, it needs to connect to full nodes to interact or enquire with the network for instance for a full picture of all UTXOs.

  2. It means a transaction is propagated and spread to all other nodes within the network.

  3. A miner would pick a transaction in a mempool with the highest fee (satoshi/byte ratio).

1 Like
  1. SPV’s can verify with nodes on the accuracy of the blockchain, but do not contain a full copy of the blockchain locally; whereas full nodes verify transactions and store a full copy of the blockchain locally.

  2. When a transaction is broadcasted it is visible by anyone on the blockchain.

  3. A miner will pick the transactions with the highest fees from the mempool to add to the next block.

1 Like
  1. SPV does not have to host a full blockchain, instead it asks for the information from a full node.
  2. The tx information is sent out of your wallet to the network to process.
  3. Based on fees for processing each transaction
2 Likes
  1. A SPV does not have a full copy of the blockchain and must rely and communicate with a full node to properly function.
  2. A transaction is broadcasted when the transaction is being propagated across the network of nodes.
  3. The miners will pick transactions from the mempool and will intuitively pick ones with the highest tees for more profit.
1 Like

You mean when a transaction has been sent through the network? :slight_smile:

1 Like
  1. A SPV only checks the transactions that you have sent/received, making sure they are confirmed… while a full node has ALL the transactions of the blockchain since the beginning.

  2. A transaction is broadcaster when, for example, a wallet sends to the nodes in the networks ā€œA pays 1btc to Bā€, then the transaction is included in the mempool until it is picked up by the miners and added to a block.

  3. Miners usually choose the UTXOs that pay higher fees.

1 Like