package
0.0.0-20230203010516-6d4bf48beedd
Repository: https://github.com/onyx-protocol/onyx.git
Documentation: pkg.go.dev

# Functions

ComputeOutputID assembles an output entry given a spend commitment and computes and returns its corresponding entry ID.
No description provided by the author
MapTx converts a legacy TxData object into its entries-based representation.
No description provided by the author
No description provided by the author
NewTx returns a new Tx containing data and its hash.
No description provided by the author

# Constants

CurrentTransactionVersion is the current latest supported transaction version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These flags are part of the wire protocol; they must not change.
These flags are part of the wire protocol; they must not change.
this is used only for computing transaction hash - prevout and refdata are replaced with their hashes.
These flags are part of the wire protocol; they must not change.
These flags are part of the wire protocol; they must not change.

# Structs

Block describes a complete block, including its header and the transactions it contains.
No description provided by the author
BlockHeader describes necessary data of the block.
No description provided by the author
No description provided by the author
No description provided by the author
OutputCommitment contains the commitment data for a transaction output (which also appears in the spend input of that output).
SpendCommitment contains the commitment data for a transaction output (which also appears in the spend input of that output).
SpendInput satisfies the TypedInput interface and represents a spend transaction.
Tx holds a transaction along with its hash.
TxData encodes a transaction in the blockchain.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author