Switching to BlueWallet-based ElectrumX connector which is a maintained fork of old ElectrumX connection code. Seems that some extra effort has been put into reconnecting and this also drops some manual error handling that my old code incorporated.
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