You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Audit API sometimes returns different wallet balance (node_balance_msats) probably because a temporary channel down or ongoing HTLC or something
/admin/api/v1/audit
E.g. this could be a scenario when lnbits balance is greater than the node balance in 5 minutes
1:{'delta_msats': -45173146, 'node_balance_msats': 17033383, 'lnbits_balance_msats': 62206529}
2:{'delta_msats': -45173146, 'node_balance_msats': 17033383, 'lnbits_balance_msats': 62206529}
3:{'delta_msats': -45173146, 'node_balance_msats': 17033383, 'lnbits_balance_msats': 62206529}
4:{'delta_msats': -45190805, 'node_balance_msats': 17015724, 'lnbits_balance_msats': 62206529}
5:{'delta_msats': -45173146, 'node_balance_msats': 17033383, 'lnbits_balance_msats': 62206529}
This probably slows down the implementation of killswitch in LNbits? Is this a known issue?
If not it would be helpful to get the node balance in such way it is stable.
To Reproduce
Get the response of /admin/api/v1/audit and wait until the node routes the payment or there is a problem with a channel that goes off for some reason.
Expected behavior
Stable value of node_balance_msats
Describe the bug
Audit API sometimes returns different wallet balance (node_balance_msats) probably because a temporary channel down or ongoing HTLC or something
/admin/api/v1/audit
E.g. this could be a scenario when lnbits balance is greater than the node balance in 5 minutes
1:{'delta_msats': -45173146, 'node_balance_msats': 17033383, 'lnbits_balance_msats': 62206529}
2:{'delta_msats': -45173146, 'node_balance_msats': 17033383, 'lnbits_balance_msats': 62206529}
3:{'delta_msats': -45173146, 'node_balance_msats': 17033383, 'lnbits_balance_msats': 62206529}
4:{'delta_msats': -45190805, 'node_balance_msats': 17015724, 'lnbits_balance_msats': 62206529}
5:{'delta_msats': -45173146, 'node_balance_msats': 17033383, 'lnbits_balance_msats': 62206529}
This probably slows down the implementation of killswitch in LNbits? Is this a known issue?
If not it would be helpful to get the node balance in such way it is stable.
To Reproduce
Get the response of /admin/api/v1/audit and wait until the node routes the payment or there is a problem with a channel that goes off for some reason.
Expected behavior
Stable value of node_balance_msats
The text was updated successfully, but these errors were encountered: