Expand description

Transaction, transaction’s prefix, inputs and outputs structures used to parse and create transactions.

This module support (de)serializing Wownero transaction and input/amount discovery/recovery with private view key and public spend key (view key-pair: ViewPair).

Structs

Every transaction contains an extra field, which is a part of transaction prefix and allow storing extra data inside the transaction. The most common use case is for the transaction public key.

The key image used in transaction inputs TxIn to commit to the use of an output one-time public key as in TxOutTarget::ToKey.

Transaction ouput that can be redeemed by a private key pair at a given index and are returned by the check_outputs method.

A full transaction containing the prefix and all the signing data.

The part of the transaction that contains all the data except signatures.

A transaction output, can be consumed by a TxIn input of the matching format.

Enums

Errors possible when manipulating transactions.

SignatureHashErrorexperimental

Possible errors when calculating the signature hash of a transaction.

Each sub-field contains a sub-field tag followed by sub-field content of fixed or variable length, in variable length case the length is encoded with a VarInt before the content itself.

A transaction input, either a coinbase spend or a one-time key spend which defines the ring size and the key image to avoid double spend.

Type of output formats, only TxOutTarget::ToKey is used, other formats are legacy to the original cryptonote implementation.