mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 23:29:58 -07:00
docs: update generated docs
This commit is contained in:
@@ -6,17 +6,27 @@
|
||||
|
||||
# Interface: BlockInfo
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:140](https://github.com/bitcoinresearchkit/brk/blob/d4dc1b9e4900e3787f2a133b8cac5d304acff9bf/modules/brk-client/index.js#L140)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:171](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L171)
|
||||
|
||||
## Properties
|
||||
|
||||
### bits
|
||||
|
||||
> **bits**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:178](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L178)
|
||||
|
||||
Compact target (bits)
|
||||
|
||||
***
|
||||
|
||||
### difficulty
|
||||
|
||||
> **difficulty**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:147](https://github.com/bitcoinresearchkit/brk/blob/d4dc1b9e4900e3787f2a133b8cac5d304acff9bf/modules/brk-client/index.js#L147)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:185](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L185)
|
||||
|
||||
Block difficulty as a floating point number
|
||||
Block difficulty
|
||||
|
||||
***
|
||||
|
||||
@@ -24,7 +34,7 @@ Block difficulty as a floating point number
|
||||
|
||||
> **height**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:142](https://github.com/bitcoinresearchkit/brk/blob/d4dc1b9e4900e3787f2a133b8cac5d304acff9bf/modules/brk-client/index.js#L142)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:173](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L173)
|
||||
|
||||
Block height
|
||||
|
||||
@@ -34,27 +44,77 @@ Block height
|
||||
|
||||
> **id**: `string`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:141](https://github.com/bitcoinresearchkit/brk/blob/d4dc1b9e4900e3787f2a133b8cac5d304acff9bf/modules/brk-client/index.js#L141)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:172](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L172)
|
||||
|
||||
Block hash
|
||||
|
||||
***
|
||||
|
||||
### mediantime
|
||||
|
||||
> **mediantime**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:184](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L184)
|
||||
|
||||
Median time of the last 11 blocks
|
||||
|
||||
***
|
||||
|
||||
### merkleRoot
|
||||
|
||||
> **merkleRoot**: `string`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:176](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L176)
|
||||
|
||||
Merkle root of the transaction tree
|
||||
|
||||
***
|
||||
|
||||
### nonce
|
||||
|
||||
> **nonce**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:179](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L179)
|
||||
|
||||
Nonce used to produce a valid block hash
|
||||
|
||||
***
|
||||
|
||||
### previousblockhash
|
||||
|
||||
> **previousblockhash**: `string`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:175](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L175)
|
||||
|
||||
Previous block hash
|
||||
|
||||
***
|
||||
|
||||
### size
|
||||
|
||||
> **size**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:144](https://github.com/bitcoinresearchkit/brk/blob/d4dc1b9e4900e3787f2a133b8cac5d304acff9bf/modules/brk-client/index.js#L144)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:182](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L182)
|
||||
|
||||
Block size in bytes
|
||||
|
||||
***
|
||||
|
||||
### time
|
||||
|
||||
> **time**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:177](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L177)
|
||||
|
||||
Block timestamp as claimed by the miner (Unix time)
|
||||
|
||||
***
|
||||
|
||||
### timestamp
|
||||
|
||||
> **timestamp**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:146](https://github.com/bitcoinresearchkit/brk/blob/d4dc1b9e4900e3787f2a133b8cac5d304acff9bf/modules/brk-client/index.js#L146)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:180](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L180)
|
||||
|
||||
Block timestamp (Unix time)
|
||||
|
||||
@@ -64,16 +124,26 @@ Block timestamp (Unix time)
|
||||
|
||||
> **txCount**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:143](https://github.com/bitcoinresearchkit/brk/blob/d4dc1b9e4900e3787f2a133b8cac5d304acff9bf/modules/brk-client/index.js#L143)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:181](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L181)
|
||||
|
||||
Number of transactions in the block
|
||||
|
||||
***
|
||||
|
||||
### version
|
||||
|
||||
> **version**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:174](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L174)
|
||||
|
||||
Block version, used for soft fork signaling
|
||||
|
||||
***
|
||||
|
||||
### weight
|
||||
|
||||
> **weight**: `number`
|
||||
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:145](https://github.com/bitcoinresearchkit/brk/blob/d4dc1b9e4900e3787f2a133b8cac5d304acff9bf/modules/brk-client/index.js#L145)
|
||||
Defined in: [Developer/brk/modules/brk-client/index.js:183](https://github.com/bitcoinresearchkit/brk/blob/83edef4806773ef7225b7c0de863c44bd953169d/modules/brk-client/index.js#L183)
|
||||
|
||||
Block weight in weight units
|
||||
|
||||
Reference in New Issue
Block a user