Oliver Gugger
71bb06f6f7
multi: fix linter issues, run imports
2022-11-21 17:12:17 +01:00
carla
199b144216
multi: move rpc fiat parsing into single helper and switch default to coindesk
...
Coincap are deprecating their API, in this commit we switch the default
backend for when there is no backend set to coindesk, and do some
refactoring to simplify our rpc parsing a bit.
2021-09-01 09:07:33 +02:00
Elle Mouton
e478853361
frcli: filter custom prices by timestamp
...
This commit filters the custom price points provided using the given
start and end timestamps. This is done so that only the necessary time
stamps are sent to the server.
2021-08-27 16:59:44 +02:00
Elle Mouton
f064bb228d
multi: add custom price options to RPC methods
...
This commit adds the options required for the custom fiat price data to
the RPC methods. These methods include the NodeAudit and ExchangeRate
methods.
2021-08-27 16:27:44 +02:00
Elle Mouton
bffe524896
cmd/frcli: rename csv function to writeToCSV
...
Rename the csv function to writeToCSV so that the csv package can be
imported in a future commit without needing to rename the import.
2021-08-27 16:25:41 +02:00
Elle Mouton
36188ebdfe
multi: update RPC to show the fiat currency
...
Update the RPC methods (exchange rate and node report) so that they show
the fiat currency that the bitcoin price is quoted in.
2021-08-27 16:06:54 +02:00
Elle Mouton
38a0790a3c
multi: add fiat backend option to RPC endpoints
...
This commit adds a fiat_backends option to the RPC relevant RPC
endpoints. Namely, the NodeAudit and ExchangeRate endpoint.
2021-05-14 10:46:29 +02:00
carla
cac0412b5c
audit: add pool custom categories option to cli
2020-12-02 11:49:03 +02:00
Carsten Otto
90bf902d58
frcli: add missing whitespaces
2020-11-20 11:33:21 +00:00
carla
265247b507
frcli: add loop custom category to audit endpoint
2020-10-27 13:40:36 +02:00
carla
bb40b0f08a
frcli: add custom categories to node audit command
2020-10-27 13:39:12 +02:00
carla
112c40e953
frcli: rename node report to node audit to allign with new rpc name
2020-10-27 13:24:00 +02:00