Skip to content

Commit

Permalink
rpc: add extra_nonce to block's JSON.
Browse files Browse the repository at this point in the history
  • Loading branch information
kilpatty committed Apr 15, 2020
1 parent 2d5ab27 commit 9bdbadb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/node/rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2923,6 +2923,7 @@ class RPC extends RPCBase {
time: entry.time,
mediantime: mtp,
nonce: entry.nonce,
extranonce: entry.extraNonce.toString('hex'),
bits: hex32(entry.bits),
difficulty: toDifficulty(entry.bits),
chainwork: entry.chainwork.toString('hex', 64),
Expand Down

0 comments on commit 9bdbadb

Please sign in to comment.