dataPool

package
v1.1.26-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

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 NewDataPool

func NewDataPool(
	transactions dataRetriever.ShardedDataCacherNotifier,
	unsignedTransactions dataRetriever.ShardedDataCacherNotifier,
	rewardTransactions dataRetriever.ShardedDataCacherNotifier,
	headers dataRetriever.HeadersPool,
	miniBlocks storage.Cacher,
	peerChangesBlocks storage.Cacher,
	trieNodes storage.Cacher,
	currBlockTxs dataRetriever.TransactionCacher,
	smartContracts storage.Cacher,
) (*dataPool, error)

NewDataPool creates a data pools holder object

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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