Commit graph

35 commits

Author SHA1 Message Date
Oliver Gugger
9f9e8a832e
multi: bump lnd compile time dependency to v0.14.0-beta.rc1 2021-11-03 19:24:23 +01:00
carla
3a515ae086
frcli: add coingecko option 2021-09-01 09:07:36 +02: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
4a7199f38d
multi: rename MsatToUSD func to MsatToFiat
Rename the MsatToUSD functino to MsatToFiat so that the name is
appropriate for multiple currencies.
2021-08-27 16:01:51 +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
carla
442fa2ab19
mutli: add custom categories to node audit rpc 2020-10-27 13:23:41 +02:00
Oliver Gugger
7c2253fc2b
cmd/frcli: add macaroon params to CLI 2020-09-11 15:10:51 +02:00
Oliver Gugger
c675def461
Merge pull request #79 from guggero/tls-flag-fix
cmd/frcli: add default path for TLS cert
2020-09-09 14:09:18 +02:00
Oliver Gugger
2525bba785
cmd/frcli: add default path for TLS cert 2020-09-09 13:55:37 +02:00
carla
400bca29d8
multi: rename nodereport to nodeaudit
Consensue on the team is that nodereport is more representative of
a report about the node's operation than an accounting report. Renaming
in anticipation of upcoming release.
2020-09-09 10:41:37 +02:00
Carla Kirk-Cohen
6f3ca76035
Merge pull request #74 from carlaKC/makefile-addimportscheck
makefile: add import order check
2020-09-09 10:39:52 +02:00
carla
2be7115ebe
multi: standardize import order 2020-09-09 10:07:14 +02:00
carla
da26a5e505
frcli: wrap tls cert error with explanation 2020-09-09 09:24:20 +02:00
Oliver Gugger
b867a7f5f7
cmd/frcli: add TLS params to CLI 2020-09-08 20:09:31 +02:00
carla
d257638dd9
frcli: make fiat prices opt-in
Make fiat opt-in so that only those who need it will make the query to
the price api.
2020-08-19 09:32:18 +02:00
carla
b8eef9c510
frdrpc: surface bitcoin price and timestamp in report 2020-07-22 16:41:33 +02:00
carla
03d4738f17
multi: switchover fiat to use timestamped bitcoin prices and rename 2020-07-22 16:41:17 +02:00
carla
773feab744
frcli: add close report endpoint 2020-06-27 14:47:34 +02:00
carla
e8b7a197e4
multi: add option to disable fiat pricing for reports
For testing, or users uninterested in fiat prices, we add an option to
disable querying for fiat prices.
2020-06-26 08:46:46 +02:00
carla
27a6810841
multi: remove granularity from rpc endpoints
The granularity with which we query our price backend is an
implementation detail that we don't need to expose to users. Rather than
making this configurable, we just calculate our best possible level
of granularity server side, and leave this decision out of the user's
hands.
2020-06-23 11:39:29 +02:00
carla
3975b05239
frcli: add on chain report command and cli option
Add a cli option which allows outputting to a csv.
2020-05-20 15:46:25 +02:00
Oliver Gugger
d666e866ac
frcli: add macaroonpath option 2020-05-15 10:50:59 +02:00
Oliver Gugger
f08841ef87
frcli: add tlscertpath option 2020-05-14 15:39:59 +02:00
carla
3b982197c0
frcli: add fiat estimate 2020-04-30 13:06:24 +02:00
Suheb
8ba6131cc5
Minor typos in the cli 2020-04-17 22:49:56 -04:00
carla
df836c2d21
multi: faraday rename 2020-03-30 09:25:46 +02:00