mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-19 06:14:47 -07:00
105 lines
3.1 KiB
Markdown
105 lines
3.1 KiB
Markdown
[**brk-client**](../README.md)
|
|
|
|
***
|
|
|
|
[brk-client](../globals.md) / CpfpInfo
|
|
|
|
# Interface: CpfpInfo
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:467](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L467)
|
|
|
|
## Properties
|
|
|
|
### adjustedVsize
|
|
|
|
> **adjustedVsize**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:478](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L478)
|
|
|
|
Policy-adjusted virtual size: `max(vsize, sigops * 5)`.
|
|
|
|
***
|
|
|
|
### ancestors
|
|
|
|
> **ancestors**: [`CpfpEntry`](CpfpEntry.md)[]
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:468](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L468)
|
|
|
|
Ancestor transactions in the CPFP chain.
|
|
|
|
***
|
|
|
|
### bestDescendant?
|
|
|
|
> `optional` **bestDescendant?**: [`CpfpEntry`](CpfpEntry.md) \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:469](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L469)
|
|
|
|
Best (highest fee rate) descendant, if any.
|
|
|
|
***
|
|
|
|
### cluster?
|
|
|
|
> `optional` **cluster?**: [`CpfpCluster`](CpfpCluster.md) \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:479](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L479)
|
|
|
|
Cluster the seed belongs to: full tx list, SFL-linearized chunks,
|
|
and the seed's chunk index. Omitted when the seed has no
|
|
ancestors and no descendants (matches mempool.space).
|
|
|
|
***
|
|
|
|
### descendants
|
|
|
|
> **descendants**: [`CpfpEntry`](CpfpEntry.md)[]
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:470](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L470)
|
|
|
|
Descendant transactions in the CPFP chain.
|
|
|
|
***
|
|
|
|
### effectiveFeePerVsize
|
|
|
|
> **effectiveFeePerVsize**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:471](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L471)
|
|
|
|
Effective fee rate considering CPFP relationships (sat/vB).
|
|
This is the seed's chunk feerate after lift-merging, i.e. the
|
|
rate Core/mempool.space would surface for this tx.
|
|
|
|
***
|
|
|
|
### fee
|
|
|
|
> **fee**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:476](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L476)
|
|
|
|
Transaction fee (sats).
|
|
|
|
***
|
|
|
|
### sigops
|
|
|
|
> **sigops**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:474](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L474)
|
|
|
|
BIP-141 sigop cost for the seed tx (witness sigops count as 1,
|
|
legacy and P2SH-redeem sigops count as 4).
|
|
|
|
***
|
|
|
|
### vsize
|
|
|
|
> **vsize**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:477](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L477)
|
|
|
|
Virtual size of the seed tx (vbytes).
|