bolt9

Lightning feature flags, per BOLT #9 (docs.ppad.tech/bolt9).
git clone git://git.ppad.tech/bolt9.git
Log | Files | Refs | README | LICENSE

CHANGELOG (1235B)


      1 # Changelog
      2 
      3 - 0.1.0 (2026-10-10)
      4   * Breaking: the API is redesigned and now lives entirely in
      5     Lightning.Protocol.BOLT9, with snake_case names. The submodules,
      6     the bit-index newtypes, the name-based feature lookups and the
      7     duplicate bit operations are gone.
      8 
      9   * Breaking: features are a closed enumeration matching the BOLT #9
     10     table at lightning/bolts@1aadb719, which adds zero_fee_commitments,
     11     option_splice and option_onion_messages_only_channels.
     12 
     13   * Breaking: contexts follow the spec. C- and C+ are no longer
     14     contexts, and channel_type is validated as a BOLT #2 channel type
     15     (the new ChannelType) rather than as a feature vector.
     16 
     17   * FeatureVector preserves received bytes exactly for re-encoding,
     18     compares equal regardless of leading zero bytes, and gains union.
     19 
     20   * Fixes remote validation, which skipped the dependency check, let
     21     bits above 65535 wrap onto known features, and applied the init
     22     rules in every context. Local validation now rejects unknown bits,
     23     and a dependency on an ASSUMED feature counts as met.
     24 
     25   * Fixes setting a feature, which could leave both bits of its pair
     26     set.
     27 
     28   * Drops the dependency on containers.
     29 
     30 - 0.0.1 (2026-04-18)
     31   * Initial release.