HomePhabricator

rpc: add `getblockchaininfo` and `getnetworkinfo`
d387b8ec15e5Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

rpc: add getblockchaininfo and getnetworkinfo

Adds two new info query commands that take over information from
hodge-podge getinfo.

Also some new information is added:

  • getblockchaininfo
    • chain: (string) current chain (main, testnet3, regtest)
    • `verificationprogress: (numeric) estimated verification progress
    • chainwork
  • getnetworkinfo
    • localaddresses: (array) local addresses, from mapLocalHost (fixes #1734)

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on May 5 2014, 11:22
deadalnixPushed on May 14 2017, 22:04
Parents
rABCd4ffe4e425b5: Merge pull request #4120
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABCd387b8ec15e5: rpc: add `getblockchaininfo` and `getnetworkinfo` (authored by Wladimir J. van der Laan <laanwj@gmail.com>).May 6 2014, 07:34