Categorygithub.com/tokenized/inspector
modulepackage
0.2.0
Repository: https://github.com/tokenized/inspector.git
Documentation: pkg.go.dev

# README

Inspector

Inspector is a package the supports collecting and analyzing extended transaction data. Like the outputs being spent and Tokenized actions.

# Functions

NewBaseTransactionFromHashWire creates a non-setup transaction from an already calculated tx hash and a wire tx.
NewBaseTransactionFromWire creates a non-setup transaction from a wire tx.
NewTransaction builds an ITX from a raw transaction.
NewTransactionFromHash builds an ITX from a transaction hash.
NewTransactionFromWire builds an ITX from a wire Msg Tx.
No description provided by the author
No description provided by the author
NewTransactionFromWire builds an ITX from a wire Msg Tx.

# Variables

ErrDecodeFail Failed to decode a transaction payload.
No description provided by the author
ErrInvalidProtocol The op return data was invalid.
ErrMissingInputs.
ErrMissingOutputs.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Transaction represents an ITX (Inspector Transaction) containing information about a transaction that is useful to the protocol.

# Interfaces

NodeInterface represents a configured bitcoin node that is capable of looking up transactions and parameters for its network.

# Type aliases

Implement sort.Interface to sort outgoing inspector transactions by timestamp.
UTXOs is a wrapper for a []UTXO.