mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-20 04:21:37 +02:00
rpcserver: ForwardingHistory end_time defaults to time.Now()
In this commit we change the default behavior of end_time when calling ForwardingHistory. end_time now defaults to time.Now()
This commit is contained in:
@@ -3514,8 +3514,9 @@ var forwardingHistoryCommand = cli.Command{
|
||||
Query the HTLC switch's internal forwarding log for all completed
|
||||
payment circuits (HTLCs) over a particular time range (--start_time and
|
||||
--end_time). The start and end times are meant to be expressed in
|
||||
seconds since the Unix epoch. If a start and end time aren't provided,
|
||||
then events over the past 24 hours are queried for.
|
||||
seconds since the Unix epoch. If --start_time isn't provided,
|
||||
then 24 hours ago is used. If --end_time isn't provided,
|
||||
then the current time is used.
|
||||
|
||||
The max number of events returned is 50k. The default number is 100,
|
||||
callers can use the --max_events param to modify this value.
|
||||
|
Reference in New Issue
Block a user