mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
d8feec2197
The recent update to BOLT #4 includes failure message specifications, which are completely orthogonal to the normal ones. Don't include them in the gen_peer_wire_csv. This onion_defs.h file assumes we are using 2-byte failure codes as per the onion-failmsg-cleanup branch. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
30 lines
928 B
Plaintext
30 lines
928 B
Plaintext
#include <wire/onion_defs.h>
|
|
invalid_realm,PERM|1
|
|
temporary_node_failure,NODE|2
|
|
permanent_node_failure,PERM|NODE|2
|
|
required_node_feature_missing,PERM|NODE|3
|
|
invalid_onion_version,BADONION|PERM|4
|
|
invalid_onion_version,0,sha256-of-onion,32
|
|
invalid_onion_hmac,BADONION|PERM|5
|
|
invalid_onion_hmac,0,sha256-of-onion,32
|
|
invalid_onion_key,BADONION|PERM|6
|
|
invalid_onion_key,0,sha256-of-onion,32
|
|
temporary_channel_failure,7
|
|
permanent_channel_failure,PERM|8
|
|
required_channel_feature_missing,PERM|9
|
|
unknown_next_peer,PERM|10
|
|
amount_below_minimum,UPDATE|11
|
|
amount_below_minimum,0,htlc-msat,4
|
|
amount_below_minimum,4,len,2
|
|
fee_insufficient,UPDATE|12
|
|
fee_insufficient,0,htlc-msat,4
|
|
fee_insufficient,4,len,2
|
|
incorrect_cltv_expiry,UPDATE|13
|
|
incorrect_cltv_expiry,0,cltv-expiry,4
|
|
incorrect_cltv_expiry,4,len,2
|
|
expiry_too_soon,UPDATE|14
|
|
expiry_too_soon,0,len,2
|
|
unknown_payment_hash,PERM|15
|
|
incorrect_payment_amount,PERM|16
|
|
final_expiry_too_soon,17
|