Thanks for the response Rusty. 

I think what's confusing me is that the tutorials all show an example where
Alice and Bob each put 5BTC into the funding transaction.  However, in the
spec open_channel has the funding_satoshis attribute for this purpose while
accept_channel does not.  Does this mean that each channel is funded by one
party only but they can make payments in both directions (assuming that some
initial payments are made by the party funding the channel)?  Any idea about
the rationale for one-sided channel funding?

Regards,
Alan

-----Original Message-----
From: Rusty Russell [mailto:[email protected]] 
Sent: 21 November 2017 03:05
To: Alan Carbery <[email protected]>;
[email protected]
Subject: Re: [Lightning-dev] Bi-directional or uni-directional?

Alan Carbery via Lightning-dev <[email protected]>
writes:
> Hi,
>
> All the tutorials that I've read about Lightning describe 
> bi-directional channels.  However, reading through the draft RFC I'm 
> wondering if it's uni-directional only.  Can anyone clarify if this is 
> the case and if so then is there a reason for not doing bi-directional 
> channels in the first release?

No, they're bidirectional!  It's just that each side sends a batch of
updates followed by a commitment, then the other side replies with an ack.
Both sides can do that independently and it all works out.

Hope that helps!
Rusty.

_______________________________________________
Lightning-dev mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev

Reply via email to