1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00
BOLT: Basis of Lightning Technology (Lightning Network Specifications)
Go to file
Rusty Russell 62b5eedb4a BOLT 2: allow more leniancy with forks during channel establishment. (#77)
* BOLT 2: allow more leniancy with forks during channel establishment.

Christoper points out that two nodes with aggressive minimum-depth settings
may see different blocks and the protocol requires they close the channel
since their funding_locked messages will disagree.

This can also happen when only one side has an aggressive minimum-depth
setting: if it sends funding_locked referring to a block which is orphaned,
it can't update it.

There are three changes here, two optional.
- Allow sending of an updated funding_locked.  This fixes this case where
  one side is on an orphan and uses a v. low minimum-depth.
- Require accepting of an updated funding_locked.
- Allow waiting instead of immediate failure if funding_lock disagrees.
  eg. you might wait another block or two to see if one side reorgs.

Reported-by: Christopher Jämthagen
Closes: #73
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-13 11:39:39 +10:30
tools BOLT 2: remove attempts to align signatures. 2016-11-29 12:58:13 +10:30
00-introduction.md spelling typo 2017-01-11 20:15:21 +10:30
01-messaging.md BOLT01: Further specifying what it means to be printable 2017-01-03 10:27:44 +10:30
02-peer-protocol.md BOLT 2: allow more leniancy with forks during channel establishment. (#77) 2017-01-13 11:39:39 +10:30
03-transactions.md witnessScript is part of witness + null dummy for OP_CHECKMULTISIG (#70) 2017-01-04 16:09:18 +10:30
04-onion-routing.md BOLT 4: format data layout like BOLT 1 and 2 2017-01-06 10:01:09 +10:30
05-onchain.md witnessScript is part of witness + null dummy for OP_CHECKMULTISIG (#70) 2017-01-04 16:09:18 +10:30
06-irc-announcements.md [trivial] Some spelling and language fixes in BOLTs 6,7,8 (#41) 2016-12-09 10:32:23 +10:30
07-routing-gossip.md BOLT 2, BOLT 7: rename expiry to cltv-expiry / cltv-expiry-delta. 2017-01-06 10:01:09 +10:30
08-transport.md typo in byte count 2017-01-11 20:15:21 +10:30
README.md Add CC-BY. 2016-11-23 06:22:59 +10:30

Lightning Network In-Progress Specifications

The specifications are currently a work-in-progress and currently being drafted.

Pull requests and comments welcome, seeking input from community stakeholders.

Discussion available on the lighting-dev mailing list.

Start here for Table of Contents

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.