bolt1

Base Lightning protocol, per BOLT #1 (docs.ppad.tech/bolt1).
git clone git://git.ppad.tech/bolt1.git
Log | Files | Refs | README | LICENSE

IMPL1-2.md (433B)


      1 # IMPL1-2 - TLV Streams
      2 
      3 ## Scope
      4 
      5 - TLV record and TLV stream types.
      6 - Encode/decode with BOLT #1 validation rules.
      7 
      8 ## Work
      9 
     10 - Strictly increasing type ordering.
     11 - Minimal encoding checks for type/length.
     12 - Length bounds validation.
     13 - Unknown even type fails; unknown odd skipped.
     14 
     15 ## Tests
     16 
     17 - Appendix B vectors if available.
     18 - Property tests for ordering/minimality.
     19 - Negative tests for invalid lengths and unknown even types.
     20