Hey Mauro,
Ohh thank you, that’s a better explanation, Thanks for the clarification!
Hey Mauro,
Ohh thank you, that’s a better explanation, Thanks for the clarification!
SPV only carries a smaller copy of the blockchain needed for relevant transactions whilst a full node carries a complete one. The SPV will thus need data from a full node to make transactions.
The transaction propagates through the network
The miner goes in general by the highest transaction fees to maximize its profits.
SPV can verify if a transaction has been included into a block without having to download the entire blockchain.
A transaction is created, complete with input(s) and output(s), and broadcasted to the network remaining in mempool until confirmed by a miner.
Transactions with the highest fees are usually prioritized highest
The miner typically picks the transactions that are paying the highest tx fees.
An SPV is a node that doesn’t have the entire blockchain. It’s a small node that trusts a full node when it wants to read the blockchain.
When a transaction is initiated with a wallet, the wallet sends it out to the nodes on the network. It gets propagated further through the network until a miner picks it up.
Miners choose/prioritize the transactions with the highest fees. When they succeed in solving the puzzle and finding a hash that comes in below the target threshold, they get all the transaction fees along with the block reward.
SPV is connected to the full node and doesn’t store the copy of blockchain.
TX will be transferred around the network and saved by another nodes also.
Miners always take unconfirmed TX from mempool with higher fees (sat/B).
What is the difference between a SPV (simplified payment verification) and a full node?
From my notes, an SPV is a wallet checking in the nodes to make sure it has the right information since an SPV doesn’t have an entire history of the blockchain saved on to it, an SPV will check on up to several nodes give or take to make sure it has the right information. A node has the entire blockchain saved on to it and propagates/broadcast transactions along with managing the mempool that miners pull from. a node doesnt create transactions.
What does it mean when a transaction is broadcasted?
I assume when a transaction is broadcasted, it becomes visible for the network to see and to hand that transaction to miners that update the blockchain.
How does a miner pick which transactions that gets added to the next block?
From what I’ve gathered a miner picks up a transaction from the mempool that the btc node manages/houses. the miner priortizes the transaction in the mempool that have the highest fees attached to them.
1 SPV node has private key but not the entire blockchain with all transaction output and needs to query as many nodes as possible (or reads blockchain from other full nodes) until it’s confident it has the right, same info.
Full node has private key and entire copy of blockchain.
2 A transaction being broadcasted means it has been sent out to entire network: from one computer aka node to other nodes throughout the world.
3 Miners prioritize and handle transactions with highest transaction fees first. Since they want to maximize their profit and are concerned by how much satoshis they make for each block and how much space & byte the transaction will take from their Block, they will take TXs from mempool that gives more satoshis for the space it takes in the block.
What is the difference between a SPV (simplified payment verification) and a full node?
SPV’s do not maintain a full copy of the blockchain. They will query the nodes next to them instead.
What does it mean when a transaction is broadcasted?
Broadcasting the transaction means sending it to the mempool and then spreading it through the network so that it can be included into one of the next blocks being added to the blockchain by the miners.
How does a miner pick which transactions that gets added to the next block?
Miners pick the transactions with the highest fees in satoshis/byte so that they can make more money for their work (spending electricity).
Hi Duff!! Correct! How about the other questions?
Hi there!! The wallet actually broadcast it to some nodes, and then those nodes broadcast it again. This is also called propagation of the tx.
Almost there! We say that the wallet broadcast the transaction to other nodes, and then these nodes add the valid transaction to their own mempool, as there is no a central mempool, they are all independant and specific to each node.
Better if we say that it connects to another node to gather data about a certain wallet
The transaction is confirmed when a miner includes it in a block. When we broadcast a transaction, we are just sending the signed data to other nodes, and we need to wait around 10 min for confirmation.
Hi there! It’s better if we say that the transaction is spread or propagated through the network. Nodes that receive this transaction will confirm its validity and add it to their mempool (which is different for every node).
Hope this helps!
Felipe.
Right, thanks for the clarification!
Homework on Bitcoin Ecosystem - Questions
Homework on Bitcoin Ecosystem - Questions