tlv+go.mod: generate inbound fee TLV type

Also add a temporariy replace to the tlv package which can be removed as
soon as the PR that includes this commit is merged and a new tag for the
tlv package has been created.
This commit is contained in:
Elle Mouton committed 2025-06-09 08:32:50 +02:00
1 parent bf72d9ec19
commit 7add5bfd4a
4 files changed
+18 -2

No files matched your search

+5
View File
@@ -22,6 +22,10 @@ const (
// second defined unsigned TLV range used in pure TLV messages.
pureTLVSecondUnsignedTypeRangeStart uint32 = 3000000000
// inboundFeeType defines the TLV type used within the channel_update
// message to indicate the inbound fee for a channel.
inboundFeeType = 55555
defaultOutputFile = "tlv_types_generated.go"
)
@@ -29,6 +33,7 @@ const (
var typeMarkers = map[uint32]struct{}{
pureTLVSecondSignedTypeRangeStart: {},
pureTLVSecondUnsignedTypeRangeStart: {},
inboundFeeType: {},
}
const typeCodeTemplate = `// Code generated by tlv/internal/gen; DO NOT EDIT.