Re: [Lightning-dev] Resumable channels using OP_CHECKSIGFROMSTACK

2023-08-18 Thread Thomas Voegtlin
On 17.08.23 16:20, Bastien TEINTURIER wrote: Hi Thomas, I don't think this is an attack wallet providers can reasonably attempt. The mobile wallet can check at every connection that the provider isn't trying to cheat, and the provider doesn't have any way of knowing when the mobile wallet has l

Re: [Lightning-dev] Backing up channel state with counterparties

2023-08-18 Thread GamedevAlice
> If Alice's wallet uses > Electrum servers, then whoever operates the server will be able to infer > whether Alice has been restoring from seed or not. Not only Electrum, > uses Electrum servers, but a whole range of mobile wallets do, > including Phoenix. That's also a good point. But I'm willin

Re: [Lightning-dev] Resumable channels using OP_CHECKSIGFROMSTACK

2023-08-18 Thread Bastien TEINTURIER
Hi ghost, > Note that the "reputation loss" argument does not hold up that well if > you let Bob connect to arbitrary nodes. That's true, in that case such nodes don't care as much about their reputation and could have an incentive to cheat. But even in that case, the user will detect it easily (

Re: [Lightning-dev] Resumable channels using OP_CHECKSIGFROMSTACK

2023-08-18 Thread SomberNight via Lightning-dev
Hi Bastien, > I don't think this is an attack wallet providers can reasonably attempt. > The mobile wallet can check at every connection that the provider isn't > trying to cheat, and the provider doesn't have any way of knowing when > the mobile wallet has lost data: it would thus be a very risky

Re: [Lightning-dev] Backing up channel state with counterparties

2023-08-18 Thread Peter Todd
On Thu, Aug 17, 2023 at 11:36:58AM +0200, Thomas Voegtlin wrote: > Hello Peter, > > I have to disagree with both your reasoning and the numerical values > you are proposing. Let us first look at the equations: > > > Suppose that Alice goes a few days without connecting to Bob 10 > > times per yea