Stop using type=boolean for args via cli since they force the default value false. Rather, use the default-setting code in config.js for both cli args and env vars.
Also add some additional logging to help debugging issues like this in the future
Don't set default for "slowDeviceMode" arg because doing so prevents "dotenv" from setting that value even if it's in your .env file (it's a key design criteria of dotenv to not override any existing value). The default value is already set in config.js, so we're fine just dropping it here.
- special case to show textarea for "message" arg on "verifymessage" method
- strip carriage returns before sending to node
- after obtaining result, fix for rendering newlines back into textarea (since the newlines got mashed via JSON.stringify before being sent via RPC interface)
- minor frontend style tweaks on /rpc-browser
- minor logging tweaks for /rpc-browser
- highlight coinbase spends
- highlight very old (5+ year) UTXO spends
To do this, when summarizing tx details store whether it's a coinbase spend and the time of input txs
Prefix keys with a data version (v0 currently) and a bitcoind node host:port indicator. This allows multiple btc-rpc-explorer instances (e.g. mainnet+testnet on same server) to share a single redis instance peacefully.
- RPC api now throws errors up to callers on RpcError results
- More consistent handling of errors from baseActionRouter
- Add some missing rejection handlers
- Tweak UI for display of errors
- Handle missing block data on /block pages (in UI) so that error info can be displayed cleanly (rather than the template error showing because data is missing)