bitcoind: update jsdocs for getBlockHeader
This commit is contained in:
parent
b597a05cb4
commit
ae91ff2420
@ -1505,11 +1505,19 @@ Bitcoin.prototype.getBlockHashesByTimestamp = function(high, low, callback) {
|
||||
/**
|
||||
* Will return the block index information, the output will have the format:
|
||||
* {
|
||||
* prevHash: '000000004956cc2edd1a8caa05eacfa3c69f4c490bfc9ace820257834115ab35',
|
||||
* nextHash: '0000000000629d100db387f37d0f37c51118f250fb0946310a8c37316cbc4028'
|
||||
* hash: ' 00000000009e2958c15ff9290d571bf9459e93b19765c6801ddeccadbb160a1e',
|
||||
* chainWork: '0000000000000000000000000000000000000000000000000000000000000016',
|
||||
* height: 10
|
||||
* hash: '0000000000000a817cd3a74aec2f2246b59eb2cbb1ad730213e6c4a1d68ec2f6',
|
||||
* confirmations: 5,
|
||||
* height: 828781,
|
||||
* chainWork: '00000000000000000000000000000000000000000000000ad467352c93bc6a3b',
|
||||
* prevHash: '0000000000000504235b2aff578a48470dbf6b94dafa9b3703bbf0ed554c9dd9',
|
||||
* nextHash: '00000000000000eedd967ec155f237f033686f0924d574b946caf1b0e89551b8'
|
||||
* version: 536870912,
|
||||
* merkleRoot: '124e0f3fb5aa268f102b0447002dd9700988fc570efcb3e0b5b396ac7db437a9',
|
||||
* time: 1462979126,
|
||||
* medianTime: 1462976771,
|
||||
* nonce: 2981820714,
|
||||
* bits: '1a13ca10',
|
||||
* difficulty: 847779.0710240941,
|
||||
* }
|
||||
* @param {String|Number} block - A block hash or block height
|
||||
* @param {Function} callback
|
||||
|
||||
Loading…
Reference in New Issue
Block a user