lnrpc: add AMP feature bits

This commit is contained in:
Johan T. Halseth committed 2021-04-27 09:47:23 +02:00
1 parent 56a2c65477
commit 0b9137cdac
4 files changed
+815 -800

No files matched your search

+3 -1
View File
@@ -610,7 +610,9 @@
"ANCHORS_REQ", "ANCHORS_REQ",
"ANCHORS_OPT", "ANCHORS_OPT",
"ANCHORS_ZERO_FEE_HTLC_REQ", "ANCHORS_ZERO_FEE_HTLC_REQ",
"ANCHORS_ZERO_FEE_HTLC_OPT" "ANCHORS_ZERO_FEE_HTLC_OPT",
"AMP_REQ",
"AMP_OPT"
], ],
"default": "DATALOSS_PROTECT_REQ" "default": "DATALOSS_PROTECT_REQ"
}, },
+804 -797
View File
File diff suppressed because it is too large. Load diff
+2
View File
@@ -3415,6 +3415,8 @@ enum FeatureBit {
ANCHORS_OPT = 21; ANCHORS_OPT = 21;
ANCHORS_ZERO_FEE_HTLC_REQ = 22; ANCHORS_ZERO_FEE_HTLC_REQ = 22;
ANCHORS_ZERO_FEE_HTLC_OPT = 23; ANCHORS_ZERO_FEE_HTLC_OPT = 23;
AMP_REQ = 30;
AMP_OPT = 31;
} }
message Feature { message Feature {
+6 -2
View File
@@ -1193,7 +1193,9 @@
"ANCHORS_REQ", "ANCHORS_REQ",
"ANCHORS_OPT", "ANCHORS_OPT",
"ANCHORS_ZERO_FEE_HTLC_REQ", "ANCHORS_ZERO_FEE_HTLC_REQ",
"ANCHORS_ZERO_FEE_HTLC_OPT" "ANCHORS_ZERO_FEE_HTLC_OPT",
"AMP_REQ",
"AMP_OPT"
] ]
}, },
"collectionFormat": "multi" "collectionFormat": "multi"
@@ -3559,7 +3561,9 @@
"ANCHORS_REQ", "ANCHORS_REQ",
"ANCHORS_OPT", "ANCHORS_OPT",
"ANCHORS_ZERO_FEE_HTLC_REQ", "ANCHORS_ZERO_FEE_HTLC_REQ",
"ANCHORS_ZERO_FEE_HTLC_OPT" "ANCHORS_ZERO_FEE_HTLC_OPT",
"AMP_REQ",
"AMP_OPT"
], ],
"default": "DATALOSS_PROTECT_REQ" "default": "DATALOSS_PROTECT_REQ"
}, },