Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StoreTransaction ¶
func StoreTransaction(ctx context.Context, txStore datastore.TransactionStore, rawTxStore datastore.RawTransactionStore, protocol, network string, tx *datastore.Transaction, rawTx interface{}) error
StoreTransaction saves the raw and processed transaction in the datastores.
Types ¶
type Transaction ¶
type Transaction interface { // Run the transaction processor Run(ctx context.Context, protocol, network string, tx interface{}, txOpts TransactionOptions) error }
Transaction processes transactions
type TransactionOptions ¶
type TransactionOptions interface{}
TransactionOptions related to different transactions
Directories ¶
Path | Synopsis |
---|---|
Package actionstest is a generated GoMock package.
|
Package actionstest is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.