state

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransaction

func NewTransaction(pending *PendingTransaction) (*Transaction, *PendingTransaction)

NewTransaction will take the transaction from the Pending Transaction, remove it and return a new pending transaction state and a new transaction state. This is used for promtion of a transaction to the main chain

Types

type Chain deprecated

type Chain = protocol.Account

Deprecated: use protocol.Account

type ChainHeader deprecated

type ChainHeader = protocol.AccountHeader

Deprecated: use protocol.AccountHeader

type Object deprecated

type Object = protocol.Object

Deprecated: use protocol.Object

type PendingTransaction deprecated

type PendingTransaction = protocol.PendingTransactionState

Deprecated: use protocol.PendingTransactionState

func NewPendingTransaction

func NewPendingTransaction(env *protocol.Envelope) *PendingTransaction

NewPendingTransaction will create a new pending transaction from a general transaction

type Transaction deprecated

type Transaction = protocol.TransactionState

Deprecated: use protocol.TransactionState

type TxState deprecated

type TxState = protocol.TxState

Deprecated: use protocol.TxState

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL