Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Execution ¶
type Execution struct {
// contains filtered or unexported fields
}
func NewChecker ¶
func NewChecker() *Execution
func NewExecutor ¶
func NewExecutor() *Execution
type FutureLockTimeError ¶ added in v0.15.0
type FutureLockTimeError struct {
LockTime uint32
}
FutureLockTimeError is returned when the lock time of a transaction is in the future, indicating the transaction is not yet eligible for processing.
func (FutureLockTimeError) Error ¶ added in v0.15.0
func (e FutureLockTimeError) Error() string
type PastLockTimeError ¶ added in v0.15.0
type PastLockTimeError struct {
LockTime uint32
}
PastLockTimeError is returned when the lock time of a transaction is in the past and has expired, indicating the transaction can no longer be executed.
func (PastLockTimeError) Error ¶ added in v0.15.0
func (e PastLockTimeError) Error() string
type TransactionCommittedError ¶ added in v0.15.0
TransactionCommittedError is returned when an attempt is made to replay a transaction that has already been committed. This is to prevent replay attacks where an attacker tries to submit the same transaction more than once.
func (TransactionCommittedError) Error ¶ added in v0.15.0
func (e TransactionCommittedError) Error() string
type UnknownPayloadTypeError ¶ added in v0.15.0
UnknownPayloadTypeError is returned when transaction payload type is not valid.
func (UnknownPayloadTypeError) Error ¶ added in v0.15.0
func (e UnknownPayloadTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.