1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

CONTRIBUTING.md: modern feature bit assignment.

1. Put it in the PR title so everyone can see.
2. Deploy with +100 while it's still unratified, in case it changes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2023-09-12 06:31:08 +09:30
parent 6e85df448b
commit 6649f51228

View File

@ -35,7 +35,11 @@ escape into the wild).
also they can be used to find appropriate peers.
Feature bits are always assigned in pairs, even if it doesn't make sense
for them to ever be compulsory.
for them to ever be compulsory. The feature bit is self-assigned in the
title of the PR, to make it easier for others to self-assign. Until the PR
is merged into the spec, experimental implementations should use the proposed
feature bit +100; they can accept both feature bits once it is merged (if
the protocol does not change!).
Almost every spec change should have a feature bit associated; in the past
we have grouped feature bits, then we couldn't disable a single feature