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
In order to not accidentally leak your lightning node wallet when the nsec is compromised, I think the balance should be the minimum of the real balance and some fake value.
One approach would be to have a command like lightning-cli nostr-wallet-topup which allocates a specific budget. You'd then have to track receives and spends. This could be a nice additional safety above the hourly and daily limits.
The prevent fractional reserve shenanigans, you'd still want to take the minimum of this value and the real balance.
The text was updated successfully, but these errors were encountered:
In order to not accidentally leak your lightning node wallet when the nsec is compromised, I think the balance should be the minimum of the real balance and some fake value.
cln-nostr-wallet-connect/src/main.rs
Lines 354 to 361 in 6450ad9
One approach would be to have a command like
lightning-cli nostr-wallet-topup
which allocates a specific budget. You'd then have to track receives and spends. This could be a nice additional safety above the hourly and daily limits.The prevent fractional reserve shenanigans, you'd still want to take the minimum of this value and the real balance.
The text was updated successfully, but these errors were encountered: