Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannotRetrieveTransaction = errors.New("transaction cannot be retrieved")
ErrCannotRetrieveTransaction signals that a transaction cannot be retrieved
View Source
var ErrNilAPITransactionProcessorArg = errors.New("nil api transaction processor arg")
ErrNilAPITransactionProcessorArg signals that a nil arguments structure has been provided
View Source
var ErrNilStatusComputer = errors.New("nil transaction status computer")
ErrNilStatusComputer signals that the status computer is nil
View Source
var ErrTransactionNotFound = errors.New("transaction not found")
ErrTransactionNotFound signals that a transaction was not found
Functions ¶
func NewAPITransactionProcessor ¶
func NewAPITransactionProcessor(args *ArgAPITransactionProcessor) (*apiTransactionProcessor, error)
NewAPITransactionProcessor will create a new instance of apiTransactionProcessor
Types ¶
type ArgAPITransactionProcessor ¶
type ArgAPITransactionProcessor struct { RoundDuration uint64 GenesisTime time.Time Marshalizer marshal.Marshalizer AddressPubKeyConverter core.PubkeyConverter ShardCoordinator sharding.Coordinator HistoryRepository dblookupext.HistoryRepository StorageService dataRetriever.StorageService DataPool dataRetriever.PoolsHolder Uint64ByteSliceConverter typeConverters.Uint64ByteSliceConverter }
ArgAPITransactionProcessor is structure that store components that are needed to create an api transaction processor
Click to show internal directories.
Click to hide internal directories.