Crate kaspa_mining

Source

Modules§

errors
feerate
See the accompanying fee_estimation.ipynb Jupyter Notebook which details the reasoning behind this fee estimator.
manager
mempool
model
monitor

Structs§

FeerateTransactionKey
Frontier
Management of the transaction pool frontier, that is, the set of transactions in the transaction pool which have no mempool ancestors and are essentially ready to enter the next block template.
MempoolCountersSnapshot
MiningCounters
P2pTxCountSample
Contains a snapshot of only the P2P transaction counter and time elapsed
Policy
Policy houses the policy (configuration parameters) which is used to control the generation of block templates. See the documentation for NewBlockTemplate for more details on how each of these parameters are used.
RebalancingWeightedTransactionSelector
SearchTree
A transaction search tree sorted by feerate order and searchable for probabilistic weighted sampling.