Decode a CompactUint-prefixed series of Transaction Outputs
according to the version 1/2 P2P network transaction format.
This function verifies that the provided bin contains one CompactUint
followed by the indicated number of serialized transaction outputs with no
additional data. To read a transaction from a
specific location within a Uint8Array, use readTransactionCommon.
Decode a CompactUint-prefixed series of Transaction Outputs according to the version 1/2 P2P network transaction format.
This function verifies that the provided
bin
contains oneCompactUint
followed by the indicated number of serialized transaction outputs with no additional data. To read a transaction from a specific location within aUint8Array
, use readTransactionCommon.For the reverse, see encodeTransactionOutputs.