feature: use +100 staging bit for taproot channels

In this commit, we carry out a new notion introduced during a recent
spec meeting to use a feature bit plus 100 before the feature has been
finalized in the spec.

We split into the Final and Staging bits.
This commit is contained in:
Olaoluwa Osuntokun
2023-08-18 17:04:07 -07:00
parent fcbf6f2483
commit 384b1b1c12
9 changed files with 92 additions and 76 deletions

View File

@@ -2152,7 +2152,7 @@ func (r *rpcServer) parseOpenChannelReq(in *lnrpc.OpenChannelRequest,
channelType = new(lnwire.ChannelType)
fv := lnwire.NewRawFeatureVector(
lnwire.SimpleTaprootChannelsRequired,
lnwire.SimpleTaprootChannelsRequiredStaging,
)
// TODO(roasbeef): no need for the rest as they're now