mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
Update wire from spec ed107e4ef019f33a88aa5567adca7fbb944e93af
This version correctly extracts fields with _ in them, meaning we get more fields. Also adds Makefile dependency which I noticed broke the build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -19,7 +19,7 @@ WIRE_SRC := wire/wire_sync.c \
|
||||
|
||||
WIRE_OBJS := $(WIRE_SRC:.c=.o) $(WIRE_GEN_SRC:.c=.o)
|
||||
WIRE_ONION_OBJS := $(WIRE_GEN_ONION_SRC:.c=.o)
|
||||
$(WIRE_OBJS): $(CCAN_HEADERS)
|
||||
$(WIRE_OBJS): $(CCAN_HEADERS) $(WIRE_HEADERS) $(WIRE_GEN_HEADERS)
|
||||
|
||||
# They may not have the bolts.
|
||||
BOLT_EXTRACT=$(BOLTDIR)/tools/extract-formats.py
|
||||
|
||||
@@ -16,14 +16,18 @@ unknown_next_peer,PERM|10
|
||||
amount_below_minimum,UPDATE|11
|
||||
amount_below_minimum,0,htlc-msat,4
|
||||
amount_below_minimum,4,len,2
|
||||
amount_below_minimum,6,channel_update,len
|
||||
fee_insufficient,UPDATE|12
|
||||
fee_insufficient,0,htlc-msat,4
|
||||
fee_insufficient,4,len,2
|
||||
fee_insufficient,6,channel_update,len
|
||||
incorrect_cltv_expiry,UPDATE|13
|
||||
incorrect_cltv_expiry,0,cltv-expiry,4
|
||||
incorrect_cltv_expiry,4,len,2
|
||||
incorrect_cltv_expiry,6,channel_update,len
|
||||
expiry_too_soon,UPDATE|14
|
||||
expiry_too_soon,0,len,2
|
||||
expiry_too_soon,2,channel_update,len
|
||||
unknown_payment_hash,PERM|15
|
||||
incorrect_payment_amount,PERM|16
|
||||
final_expiry_too_soon,17
|
||||
|
||||
Reference in New Issue
Block a user