Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCurrentBlockPool ¶
func NewCurrentBlockPool() (*transactionMapCacher, error)
NewCurrentBlockPool returns a new pool to be used for current block
func NewMetaDataPool ¶ added in v1.0.3
func NewMetaDataPool( miniBlocks storage.Cacher, trieNodes storage.Cacher, headersCacher dataRetriever.HeadersPool, transactions dataRetriever.ShardedDataCacherNotifier, unsignedTransactions dataRetriever.ShardedDataCacherNotifier, currBlockTxs dataRetriever.TransactionCacher, ) (*metaDataPool, error)
NewMetaDataPool creates a data pools holder object
func NewShardedDataPool ¶ added in v1.0.3
func NewShardedDataPool( transactions dataRetriever.ShardedDataCacherNotifier, unsignedTransactions dataRetriever.ShardedDataCacherNotifier, rewardTransactions dataRetriever.ShardedDataCacherNotifier, headers dataRetriever.HeadersPool, miniBlocks storage.Cacher, peerChangesBlocks storage.Cacher, trieNodes storage.Cacher, currBlockTxs dataRetriever.TransactionCacher, ) (*shardedDataPool, error)
NewShardedDataPool creates a data pools holder object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.