mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-19 14:24: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:419](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L419)
|
|
|
|
## Properties
|
|
|
|
### adjustedVsize
|
|
|
|
> **adjustedVsize**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:430](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L430)
|
|
|
|
Policy-adjusted virtual size: `max(vsize, sigops * 5)`.
|
|
|
|
***
|
|
|
|
### ancestors
|
|
|
|
> **ancestors**: [`CpfpEntry`](CpfpEntry.md)[]
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:420](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L420)
|
|
|
|
Ancestor transactions in the CPFP chain.
|
|
|
|
***
|
|
|
|
### bestDescendant?
|
|
|
|
> `optional` **bestDescendant?**: [`CpfpEntry`](CpfpEntry.md) \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:421](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L421)
|
|
|
|
Best (highest fee rate) descendant, if any.
|
|
|
|
***
|
|
|
|
### cluster?
|
|
|
|
> `optional` **cluster?**: [`CpfpCluster`](CpfpCluster.md) \| `null`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:431](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L431)
|
|
|
|
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:422](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L422)
|
|
|
|
Descendant transactions in the CPFP chain.
|
|
|
|
***
|
|
|
|
### effectiveFeePerVsize
|
|
|
|
> **effectiveFeePerVsize**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:423](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L423)
|
|
|
|
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:428](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L428)
|
|
|
|
Transaction fee (sats).
|
|
|
|
***
|
|
|
|
### sigops
|
|
|
|
> **sigops**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:426](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L426)
|
|
|
|
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:429](https://github.com/bitcoinresearchkit/brk/blob/6e8be1af2225890fe02f0a4598e3a4fa8251f535/modules/brk-client/index.js#L429)
|
|
|
|
Virtual size of the seed tx (vbytes).
|