[Lightning-dev] Atomic Secrets Exchange

2019-10-18 Thread CJP
that case Bob could calculate SA = PP_b0 - P. Otherwise, Alice could just tell Bob SA, e.g. as meta-data included in the first bet tx. Similarly, Alice has to know SB to generate PP_x0; Alice could calculate SB = PP_b1 - Q, or Bob could tell Alice SB, e.g. as meta-data included in the second bet tx.

Re: [Lightning-dev] An Argument For Single-Asset Lightning Network

2019-01-02 Thread CJP
it matter? Can you trust me? Maybe, but I guess you shouldn't anyway. In my view, words should be convincing or unconvincing regardless of who speaks them. CJP CJP schreef op vr 28-12-2018 om 09:27 [+0100]: > Hi ZmnSCPxj, > > I think we've already addressed this issue before

Re: [Lightning-dev] An Argument For Single-Asset Lightning Network

2019-01-02 Thread CJP
sively involving every single Lightning node in trying to solve your problem. Maybe it is possible, but I'd like not to do that. I like to see the exchange function as a higher layer (layer 3) on top of the Lightning layer, and have each layer solve its own problems in a clean and elegant way. I p

Re: [Lightning-dev] An Argument For Single-Asset Lightning Network

2018-12-29 Thread CJP
d for trade, not the full value. Now, if an RM can be punished, it would be even better. I was thinking in the direction of collecting proof of misbehavior, which can then help make the RM lose its (lucrative!) business, but I doubt this is possible. CJP (*) not necessarily in latency: the low

Re: [Lightning-dev] An Argument For Single-Asset Lightning Network

2018-12-28 Thread CJP
basis. CJP ZmnSCPxj via Lightning-dev schreef op do 27-12-2018 om 05:43 [+]: > HTLCs as American Call Option, or, How Lightning Currently Cannot > Work Across Assets, or, An Argument For Single-Asset Lightning > Network > > Introduction > > > In theory, the

Re: [Lightning-dev] Proposal for updateable / revokable proofs of payment

2018-11-05 Thread CJP
ies. I'm sure there are complex business arrangements that have a need for this, but I think we can always develop that later. Let's first tackle this relatively simple case. CJP ZmnSCPxj schreef op ma 05-11-2018 om 01:20 [+]: > Good morning CJP, > > It seems to me, naively, tha

[Lightning-dev] Proposal for updateable / revokable proofs of payment

2018-11-04 Thread CJP
ment channel. A potential issue is that, theoretically, the "contract update chain" can fork. The simple solution is "don't do that": either party can stop it from happening by not signing the forking update. CJP ___ Lightning-dev mail

Re: [Lightning-dev] Proposal for rendez-vous routing

2018-11-04 Thread CJP
ZmnSCPxj schreef op zo 04-11-2018 om 14:34 [+]: > Good morning CJP, > > I believe this is a desirable feature, although... > > > Sent with ProtonMail Secure Email. > > ‐‐‐ Original Message ‐‐‐ > On Sunday, November 4, 2018 2:26 PM, CJP > wrote: >

[Lightning-dev] Proposal for rendez-vous routing

2018-11-04 Thread CJP
having nodes on each network if you need to, and simply move funds on-chain between your nodes whenever needed. That will require on-chain mixing though. CJP ___ Lightning-dev mailing list Lightning-dev@lists.linuxfoundation.org https://lists.linuxfo

[Lightning-dev] Why do we need fee estimation in the protocol?

2018-05-12 Thread CJP
(but important) case, but during normal operation, peers should be free to choose the fee for their own commit tx. You'd have to deal with any follow-up transactions as well: changing a fee changes the txID, so you need to update follow-up transactions. regards, CJP _

Re: [Lightning-dev] AMP: Atomic Multi-Path Payments over Lightning

2018-02-09 Thread CJP
nnecessary to enforce HTLCs with scripts, because their amounts are so small(*). If one micro-payment fails, that just makes them learn that a certain channel is unreliable, and they'll send further payments (and even the remaining part of the same payment) through a different route. CJP (*) not worth