Assessment 2
What are the practical limitations created by the upper bound of the input counter size?
None.
It inhibits the ability for the validation engine to know how many previous outputs are being spent.
It makes it difficult to propagate non-standard transactions.
Both (b) and (c).
The input count indicates what to nodes?
How many UTXOs are included within the transaction and which ones they are on the ledger.
The amount of UTXOs it needs to retrieve in order to validate the transaction.
The cost of processing the transaction.
All of the above.
Which Input data structure is correct?
A
B
C
D
Previous transaction hash
Previous output index
Input script
Previous transaction hash
Previous input index
Input script length
Previous output index
Previous output index
Output script length
Input script
Output script length
Input script length
Input script
Sequence number
Sequence number
Input script
Sequence number
Previous transaction hash
Previous transaction hash
Sequence number
4. Match the data items.
a.Previous transaction hash
b. Previous output index
c. Input script length
d. Input script
e. Sequence number
c. A 1-9 byte VarInt, fielding the entire serialised input script length
a. The TXID that contains the previous output being spent by the input, provided as a 32-byte little-endian value.
b. A 4-byte little-endian value representing a non-negative integer which allows the nodes to check which output from an earlier transaction is being spent.
e. A 4-byte little-endian value used to indicate whether an input is considered final. These numbers can be used in conjunction with the transaction lock time to form a payment channel.
Last updated