Documentation ¶
Index ¶
- func NewTransaction(pending *PendingTransaction) (*Transaction, *PendingTransaction)
- type Chaindeprecated
- type ChainHeaderdeprecated
- type Objectdeprecated
- type PendingTransactiondeprecated
- type Transactiondeprecated
- type TxStatedeprecated
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 ChainHeader
deprecated
type ChainHeader = protocol.AccountHeader
Deprecated: use protocol.AccountHeader
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
Click to show internal directories.
Click to hide internal directories.