balanceofsatoshis
balanceofsatoshis copied to clipboard
telegram /earnings no longer showing daily earnings
Hi,
I frequently check /earnings to keep track of my node on telegram. Today, for the first time, I noticed that the daily earnings is "-", despite many fee-earning forwards today.
The weekly earnings value is present, but it is short by todays earnings.
lncli fwdinghistory --start_time "-1d" --skip_peer_alias_lookup --max_events 1
{
"forwarding_events": [
{
"timestamp": "1700321338",
"chan_id_in": "874615320612962305",
"chan_id_out": "845562924766789634",
"amt_in": "2",
"amt_out": "1",
"fee": "1",
"fee_msat": "1000",
"amt_in_msat": "2502",
"amt_out_msat": "1502",
"timestamp_ns": "1700321338975766852",
"peer_alias_in": "",
"peer_alias_out": ""
}
],
"last_offset_index": 1
}
what does /version show
I today also noticed a large discrepancy:
BOS 17.2.0:
Day Week
Routing 10,377 46,474
LNDg 0.18: 1-Day 23,063 7-Day 59,172
$ lncli fwdinghistory --start_time "-1d" --skip_peer_alias_lookup --max_events 10000000 | jq -r '.forwarding_events | length as $count | (map(.amt_out | tonumber) | add) as $total_amt_out | (map(.fee | tonumber) | add) as $total_fee | "Total events: ($count)\nTotal forwarded: ($total_amt_out)\nTotal fees earned: ($total_fee)"' Total events: 23131 Total forwarded: 476938 Total fees earned: 23075
What changed: I moved from zero base to 1 sat base and forwarded 23k of satograms.
should be fixed now
yep, seems fixed. thanks!