Tuesday, May 24, 2022
HomeBitcoinsegregated witness - How Does A Node Get Infomation From The TxID...

segregated witness – How Does A Node Get Infomation From The TxID – that’s, is not the TxID the SHA^2(256) of varied transaction elements?


Sure, all TXIDs are solely calculated from non-witness knowledge. Whereas many nodes have an entire copy of the blockchain, which does include all transactions, most nodes would not have a full transaction index.

enter image description here
by way of https://developer.bitcoin.org/reference/p2p_networking.html

Nodes will promote unconfirmed transactions. These are then obtainable to be shared upon a getdata tx request which can be responded to with a tx message.

If the transaction is already confirmed, the peer ought to know by which block the transaction was included (from the context by which it heard concerning the transaction within the first place), and would both request the entire block, or a Merkle department within the type of a merkleblock message.

You possibly can learn extra concerning the P2P messages for instance right here: https://developer.bitcoin.org/reference/p2p_networking.html

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments

x