IMPL1-3.md (554B)
1 # IMPL1-3 - Message Types 2 3 ## Scope 4 5 - ADTs for BOLT #1 messages: 6 - init (including init_tlvs: networks, remote_addr) 7 - error, warning 8 - ping, pong 9 - peer_storage, peer_storage_retrieval 10 - Message envelope with type + payload + optional extension TLV. 11 - Feature bitset modeling and helpers. 12 13 ## Work 14 15 - Define strict, UNPACKed fields where helpful. 16 - Add smart constructors for validated fields. 17 - Enforce padding/byte-aligned feature lengths. 18 19 ## Tests 20 21 - Unit tests for constructors and invariants. 22 - Roundtrip tests for type-level encodings. 23