litecoincash-project / litecoincash

Main release & integration tree for Litecoin Cash
https://litecoinca.sh
MIT License
54 stars 39 forks source link

getinfo flag does nothing #13

Closed crusher72 closed 3 years ago

crusher72 commented 5 years ago

https://github.com/litecoincash-project/litecoincash/blob/adcfb6f9437a89f212fa9341d453ae1d4809ace7/src/rpc/misc.cpp#L634

-getinfo should format everything into the old format. It does nothing currently.

blockester commented 3 years ago
    getinfo (deprecated)
    This call was removed in BTC version 0.16.0. Use the appropriate fields from:
    - getblockchaininfo: blocks, difficulty, chain
    - getnetworkinfo: version, protocolversion, timeoffset, connections, proxy, relayfee, warnings
    - getwalletinfo: balance, keypoololdest, keypoolsize, paytxfee, unlocked_until, walletversion
    litecoincash-cli has the option -getinfo to collect and format these in the old format.