Do not exit when monerod returns json-rpc error for block fetching (#78)

This commit is contained in:
Lee *!* Clagett
2023-08-09 10:30:36 -04:00
committed by Lee *!* Clagett
parent 4ce21686d7
commit 524e26e1a4
4 changed files with 69 additions and 25 deletions

View File

@@ -85,6 +85,8 @@ namespace lws
return "Unspecified error when retrieving exchange rates";
case error::http_server:
return "HTTP server failed";
case error::json_rpc:
return "Error returned by JSON-RPC server";
case error::exchange_rates_old:
return "Exchange rates are older than cache interval";
case error::not_enough_mixin: