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
araspitzu b201efe054
BOLT 3: add test vectors for htlc-transactions in case where CLTV is used as tie-breaker for sorting (#539)
Add a serialized transactions test vector for the edge case of sorting htlc-timeout-tx
when there are multiple offered htlc with the same amount and preimage.

The test vector reuses previous preimages and creates a case scenario with 1 received htlc
and 2 offered, the two offered will have same scriptPubKey and redeemScript, but different CLTV value.

It is asserted the order in which the htlc transactions should be kept internally
and we assume the same order is used to construct the commitment_signed message.
This complements #491 .
2021-03-05 09:10:26 +01:00
bolt04 bolt04: minor JSON fix and generate the exact number of bytes for the padding 2020-01-24 18:17:10 +01:00
bolt07 Add test vector for extended queries 2019-09-16 22:36:59 +02:00
tools tlvs -> tlv_stream in extract-formats.py 2020-11-09 13:10:22 -06:00
.aspell.en.pws bolt-09: reserve feature bits for option_anchors_zero_fee_htlc_tx (#828) 2021-01-04 20:40:57 +01:00
.copy-edit-stylesheet-checklist.md Fix typos 2019-09-26 06:12:41 +00:00
.travis.yml spelling: check all the .md files 2019-07-28 07:03:19 +00:00
00-introduction.md Bolt 00: Added Internal Links to Glossary (#637) 2019-07-15 10:01:15 +02:00
01-messaging.md tlvs -> tlv_stream subsitution everywhere 2020-11-09 13:10:22 -06:00
02-peer-protocol.md Add 2016 blocks channel funding timeout (#839) 2021-03-02 09:16:07 +01:00
03-transactions.md BOLT 3: add test vectors for htlc-transactions in case where CLTV is used as tie-breaker for sorting (#539) 2021-03-05 09:10:26 +01:00
04-onion-routing.md Clarify nonce size for onion cipher 2021-02-18 10:21:48 -03:00
05-onchain.md Require to claim revoked local output in its own penalty tx post-anchor (#803) 2020-12-07 19:52:00 +01:00
07-routing-gossip.md Gossip queries: sync complete is back (#826) 2021-02-15 21:37:06 +01:00
08-transport.md Replace RFC7539 with RFC8439 (#763) 2020-08-03 22:56:00 +02:00
09-features.md bolt-09: reserve feature bits for option_anchors_zero_fee_htlc_tx (#828) 2021-01-04 20:40:57 +01:00
10-dns-bootstrap.md BOLT 10 copy edit (#440) 2018-08-07 00:10:11 +00:00
11-payment-encoding.md Bolt 11: add distinct HRP prefix for Bitcoin signet (#844) 2021-03-02 09:16:36 +01:00
CONTRIBUTING.md CONTRIBUTING.md: first draft of how to write and change spec. 2019-07-28 07:03:19 +00:00
README.md Fix formatting of BOLT links 2018-01-22 14:02:01 +01:00

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.