Home Reference Source Test
public class | source

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

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:

NameTypeAttributeDescription
mempoolContents Array<Transaction>

Public Members

public get count: number: * source

The number of transactions in the local mempool.

Return:

number

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}|*