Categorygithub.com/tokenized/bitcoin_interpreter
modulepackage
0.1.1
Repository: https://github.com/tokenized/bitcoin_interpreter.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
MatchScript parses the script items against the script.
No description provided by the author
No description provided by the author
SignatureHash computes the hash to be signed for a transaction's input using the new, optimized digest calculation algorithm defined in BIP0143: https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki.
No description provided by the author
No description provided by the author

# Constants

sig hash type.
72 byte sig + 1 byte sig hash type.
1 byte push op code + 72 byte sig + 1 byte sig hash type.
1 byte push op code + 33 byte public key.
No description provided by the author
Sign all inputs, all outputs.
When combined, only sign contained input.
No description provided by the author
No description provided by the author
Sign all inputs, no outputs.
Sign all inputs, only the output at same index as input.

# Variables

CantSign is returned when the unlocker can't sign the locking script.
CantUnlock is returned when the unlocker can't unlock the locking script.
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
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
NotFullyUnlocked will be returned from the unlock function when the unlocker provided partial unlocking but it is not complete.
No description provided by the author
ScriptNotMatching means the script doesn't match what it was being parsed against.

# Structs

No description provided by the author
SigHashCache allows caching of previously calculated hashes used to calculate the signature hash for signing tx inputs.

# Interfaces

TransactionWithOutputs is a transaction with spent outputs provided.
No description provided by the author

# Type aliases

No description provided by the author
SigHashType represents hash type bits at the end of a signature.