Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(config *Config, consensusReference consensusreference.ConsensusReference) miningmempoolmodel.Mempool
Types ¶
type Config ¶
type Config struct { MaximumTransactionCount uint64 TransactionExpireIntervalDAAScore uint64 TransactionExpireScanIntervalDAAScore uint64 TransactionExpireScanIntervalSeconds uint64 OrphanExpireIntervalDAAScore uint64 OrphanExpireScanIntervalDAAScore uint64 MaximumOrphanTransactionMass uint64 MaximumOrphanTransactionCount uint64 AcceptNonStandard bool MaximumMassPerBlock uint64 MinimumRelayTransactionFee util.Amount MinimumStandardTransactionVersion uint16 MaximumStandardTransactionVersion uint16 }
Config represents a mempool configuration
func DefaultConfig ¶
DefaultConfig returns the default mempool configuration
Click to show internal directories.
Click to hide internal directories.