bitcoind: add missing api methods to export
This commit is contained in:
parent
82232c0f55
commit
88872734de
@ -83,6 +83,10 @@ Bitcoin.prototype.getAPIMethods = function() {
|
|||||||
['getBlock', this, this.getBlock, 1],
|
['getBlock', this, this.getBlock, 1],
|
||||||
['getBlockHeader', this, this.getBlockHeader, 1],
|
['getBlockHeader', this, this.getBlockHeader, 1],
|
||||||
['getBlockHashesByTimestamp', this, this.getBlockHashesByTimestamp, 2],
|
['getBlockHashesByTimestamp', this, this.getBlockHashesByTimestamp, 2],
|
||||||
|
['getBestBlockHash', this, this.getBestBlockHash, 0],
|
||||||
|
['getInfo', this, this.getInfo, 0],
|
||||||
|
['syncPercentage', this, this.syncPercentage, 0],
|
||||||
|
['isSynced', this, this.isSynced, 0],
|
||||||
['getTransaction', this, this.getTransaction, 2],
|
['getTransaction', this, this.getTransaction, 2],
|
||||||
['getTransactionWithBlockInfo', this, this.getTransactionWithBlockInfo, 2],
|
['getTransactionWithBlockInfo', this, this.getTransactionWithBlockInfo, 2],
|
||||||
['sendTransaction', this, this.sendTransaction, 1],
|
['sendTransaction', this, this.sendTransaction, 1],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user