-
Notifications
You must be signed in to change notification settings - Fork 11
Expose mempoolinfo and blockchaininfo #10
Expose mempoolinfo and blockchaininfo #10
Conversation
|
Endpoints /info/sync (Expanded to expose extra stuff) NEW! /info/mempool |
|
NEW info/stats (aka the firehouse) |
|
Please test @mayankchhabra |
|
nice, I think you missed the hashrate |
|
I also suggest removing all the other unrequired info from the stats endpoint because it can increase the request's response time, especially when the polling happens on tor |
hashrate is difficulty |
|
How is for mempool |
|
sure but we still don't need a lot of it... just would be fine |
|
Not sure what is what in mempool to be honest. |
|
found the function |
|
However the hashes per second is not being returned from the library |
|
so it might be a new function, added after they stopped maintaining |
However may require modifying upstream code which the last time it looks updated was June 2019 |
|
I can try to send a pull request (bitpay/bitcoind-rpc#54) but I doubt anyone is maintaining it |
|
ah I see, does it have bitcoin-cli getmininginfo? network hash ps is also returned in the mining info |
|
From mining info |
|
Testing now |
|
Tested and merged! Great job as always @nolim1t |

Closes #9 when done