package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Packages

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

# Functions

NewMethodName creates a new method name.
NewTransaction creates a new transaction.
OpenRawTransactions takes a vector of raw byte-serialized SignedTransactions, and deserializes them, returning all of the signing public key and deserialized Transaction, for the transactions that have valid signatures.
Sign signs a transaction.

# Constants

MethodPriorityCritical is the priority for methods critical to the protocol operation.
MethodPriorityNormal is the normal method priority.
MethodSeparator is the separator used to separate backend name from method name.

# Variables

ErrGasPriceTooLow is the error returned when the gas price is too low.
ErrInsufficientFeeBalance is the error returned when there is insufficient balance to pay consensus fees.
ErrInvalidNonce is the error returned when a nonce is invalid.
ErrMethodNotSupported is the error returned if transaction method is not supported.
ErrUpgradePending is the error returned when an upgrade is pending and the transaction thus cannot be processed right now.
SignatureContext is the context used for signing transactions.

# Structs

Fee is the consensus transaction fee the sender wishes to pay for operations which require a fee to be paid to validators.
MethodMetadata is the method metadata.
PrettyTransaction is used for pretty-printing transactions so that the actual content is displayed instead of the binary blob.
Proof is a proof of transaction inclusion in a block.
SignedTransaction is a signed consensus transaction.
Transaction is an unsigned consensus transaction.

# Interfaces

MethodMetadataProvider is the method metadata provider interface that can be implemented by method body types to provide additional method metadata.

# Type aliases

Costs defines gas costs for different operations.
Gas is the consensus gas representation.
MethodName is a method name.
MethodPriority is the method handling priority.
Op identifies an operation that requires gas to run.