mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-18 22:04:47 -07:00
52 lines
1.6 KiB
Markdown
52 lines
1.6 KiB
Markdown
[**brk-client**](../README.md)
|
|
|
|
***
|
|
|
|
[brk-client](../globals.md) / BlockTemplateDiff
|
|
|
|
# Interface: BlockTemplateDiff
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:309](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L309)
|
|
|
|
## Properties
|
|
|
|
### hash
|
|
|
|
> **hash**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:310](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L310)
|
|
|
|
Current next-block hash. Use as `since` on the next diff call.
|
|
|
|
***
|
|
|
|
### order
|
|
|
|
> **order**: [`BlockTemplateDiffEntry`](../type-aliases/BlockTemplateDiffEntry.md)[]
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:312](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L312)
|
|
|
|
New template in order. Each entry is either an index into the
|
|
prior template's transactions or a full transaction body.
|
|
|
|
***
|
|
|
|
### removed
|
|
|
|
> **removed**: `string`[]
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:314](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L314)
|
|
|
|
Txids that left the projected next block since `since`
|
|
(confirmed, evicted, replaced, or pushed past block 0).
|
|
|
|
***
|
|
|
|
### since
|
|
|
|
> **since**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:311](https://github.com/bitcoinresearchkit/brk/blob/1a706da13cc492eee123fc28fd358f02b56918b6/modules/brk-client/index.js#L311)
|
|
|
|
Echoed prior hash the diff was computed against.
|