MempoolStatistics
Constructor Summary
Public Constructor | ||
public |
constructor(mempoolContents: Array<Transaction>) |
Member Summary
Public Members | ||
public get |
count: number: * The number of transactions in the local mempool. |
|
public get |
countInBuckets: {buckets: Array}|*: * The number of transactions sorted into buckets by fee per byte |
|
public get |
requiredFeePerByte: number The fee per byte required to be included in the next block according to the local mempool. |
|
public get |
size: number: * Total summed size of all transactions in the local mempool. |
|
public get |
sizeInBuckets: {buckets: Array}|*: * The summed size of transactions sorted into buckets by fee per byte |
Public Constructors
public constructor(mempoolContents: Array<Transaction>) source
Params:
Name | Type | Attribute | Description |
mempoolContents | Array<Transaction> |
Public Members
public get countInBuckets: {buckets: Array}|*: * source
The number of transactions sorted into buckets by fee per byte
Return:
{buckets: Array}|* |
public get requiredFeePerByte: number source
The fee per byte required to be included in the next block according to the local mempool.
public get size: number: * source
Total summed size of all transactions in the local mempool.
Return:
number |
public get sizeInBuckets: {buckets: Array}|*: * source
The summed size of transactions sorted into buckets by fee per byte
Return:
{buckets: Array}|* |