Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxStatusDeriver ¶
type TxStatusDeriver struct {
// contains filtered or unexported fields
}
func NewTxStatusDeriver ¶
func NewTxStatusDeriver(state protocol.State, lastFullBlockHeight *counters.PersistentStrictMonotonicCounter) *TxStatusDeriver
func (*TxStatusDeriver) DeriveTransactionStatus ¶
func (t *TxStatusDeriver) DeriveTransactionStatus(blockHeight uint64, executed bool) (flow.TransactionStatus, error)
DeriveTransactionStatus is used to determine the status of a transaction based on the provided block height, and execution status. No errors expected during normal operations.
func (*TxStatusDeriver) DeriveUnknownTransactionStatus ¶
func (t *TxStatusDeriver) DeriveUnknownTransactionStatus(refBlockID flow.Identifier) (flow.TransactionStatus, error)
DeriveUnknownTransactionStatus is used to determine the status of transaction that are not in a block yet based on the provided reference block ID.
Click to show internal directories.
Click to hide internal directories.