Commit graph

58 commits

Author SHA1 Message Date
bitromortac
ec5d4338b9 frcli: add forwardingability command
Add the frcli forwardingability command to query the RPC over a time range
and optional liquidity floor. It decodes the sparse response and prints each
pair with its raw effective uptime and forwarded volume, plus uptime fraction
and velocity derived from the reported window.
2026-06-11 12:40:32 +02:00
bitromortac
f1186409c3 frcli: add chan events command
Adds a `chanevents` subcommand that wraps GetChannelEvents and exposes
chan_point, start/end time, max_events, and last_id flags. The help
text documents the manual pagination contract: keep re-running with
--last_id set to the previous response's last_id until has_more is
false, while leaving --start_time and --end_time fixed across calls.
2026-05-08 20:16:52 +02:00
Boris Nagaev
21b4254810
frcli, frdrpcserver: expose bitfinex fiat backend 2026-02-28 18:43:20 -05:00
Elle Mouton
951cc86742
frcli: only use default paths if user has not defined
Only overwrite the default TLS cert and macaroon paths if the user has
not explicitly defined them.
2024-08-15 09:00:37 +02:00
Oliver Gugger
1f027602a3
mod+cmd/frcli: bump lnd version to v0.17.0-beta 2023-10-03 19:35:08 +02:00
Oliver Gugger
71bb06f6f7
multi: fix linter issues, run imports 2022-11-21 17:12:17 +01:00
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
Carla Kirk-Cohen
76460233dd
Merge pull request #116 from ellemouton/coindeskBackends
multi: add Coindesk backends for fiat prices
2021-05-19 10:44:59 +02:00
Oliver Gugger
420343d5ca
cmd/faraday: remove unnecessary logging
We only want to set up logging in one place so we print directly to
stderr on startup error, the same way we do in all other projects.
2021-05-17 11:08:37 +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
Oliver Gugger
27b9a60939
gvncli: update default port 2020-03-27 09:15:13 +01:00
Oliver Gugger
e7e00bbf9a
gvncli+governator: add version 2020-03-19 10:47:41 +01:00
carla
bb9a36d80d
gvncli: fix display of total volume per confirmation 2020-03-10 11:02:39 +02:00
carla
bcaa7910f6
multi: rename trmcli to gvncli 2020-03-05 17:07:39 +02:00
carla
fcf64d6d93
multi: rename trmrpc to gvnrpc 2020-03-05 17:07:35 +02:00
carla
36dfb58c37
multi: rename terminator main package to governator 2020-03-05 17:07:21 +02:00
carla
5d409db9d2
trmrpc+trmcli: add volume based recommendations 2020-03-04 09:56:33 +02:00