Re: [Lightning-dev] General questions about channels

2017-12-26 Thread Andy Schroder
Andy Schroder On 12/27/2017 01:06 AM, ZmnSCPxj wrote: Good morning Andy, Andy Schroder On 12/27/2017 12:18 AM, Andy Schroder wrote: Channel closing costs dwarf the gains to be made from cheating, however. Since millisatoshis is used, is there a maximum channel funding size? Yes, the uppe

Re: [Lightning-dev] General questions about channels

2017-12-26 Thread Andy Schroder
Andy Schroder On 12/27/2017 12:56 AM, ZmnSCPxj wrote: Good morning Andy, Channel closing costs dwarf the gains to be made from cheating, however. Since millisatoshis is used, is there a maximum channel funding size? Yes, the upper 32 bits must be zero, from B

Re: [Lightning-dev] General questions about channels

2017-12-26 Thread ZmnSCPxj via Lightning-dev
Good morning Andy, > Andy Schroder > > On 12/27/2017 12:18 AM, Andy Schroder wrote: > >>> Channel closing >>> costs dwarf the gains to be made from cheating, however. >>> Since millisatoshis is used, is there a maximum channel funding size? >>> >>> Yes, the upper 32 bits must be zero, from BO

Re: [Lightning-dev] General questions about channels

2017-12-26 Thread Andy Schroder
Andy Schroder On 12/27/2017 12:18 AM, Andy Schroder wrote: Channel closing costs dwarf the gains to be made from cheating, however. Since millisatoshis is used, is there a maximum channel funding size? Yes, the upper 32 bits must be zero, from BOLT #2: - for channels with `chain_hash` id

Re: [Lightning-dev] General questions about channels

2017-12-26 Thread ZmnSCPxj via Lightning-dev
Good morning Andy, > > >> Channel closing >> costs dwarf the gains to be made from cheating, however. >> >>> Since millisatoshis is used, is there a maximum channel funding size? >>> Yes, the upper 32 bits must be zero, from BOLT #2: >> >> - for channels with chain_hash identifying the Bitcoin blo

Re: [Lightning-dev] General questions about channels

2017-12-26 Thread Andy Schroder
Andy Schroder On 12/18/2017 01:40 PM, Rusty Russell wrote: Andy Schroder writes: What's the rational for using millisatoshis as the units for lightning channels? Aren't you going to loose up to 1/2 of a satoshi when the channel is closed? You can lose up to 0.999 satoshi per in-progress paym