mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-07 22:39:36 +01:00
cb22015b2a
We make it a first-class citizen internally, even though we won't use it over the wire (at least, non-experimental builds). This scheme follows the latest draft, in which features are flagged compulsory. We also add several helper functions. Since uses the *even* bits (as per latest spec), not the *odd* bits, we have some other fixups. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
62 lines
2.4 KiB
C
Generated
62 lines
2.4 KiB
C
Generated
/* This file was generated by generate-wire.py */
|
|
/* Do not modify this file! Modify the .csv file it was generated from. */
|
|
/* Template located at tools/gen/print_header_template */
|
|
#ifndef LIGHTNING_WIRE_ONION_PRINTGEN_H
|
|
#define LIGHTNING_WIRE_ONION_PRINTGEN_H
|
|
#include <ccan/tal/tal.h>
|
|
#include <devtools/print_wire.h>
|
|
#include <wire/onion_defs.h>
|
|
|
|
void printonion_wire_message(const u8 *msg);
|
|
|
|
void printonion_wire_tlv_message(const char *tlv_name, const u8 *msg);
|
|
|
|
void printwire_invalid_realm(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_temporary_node_failure(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_permanent_node_failure(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_required_node_feature_missing(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_invalid_onion_version(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_invalid_onion_hmac(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_invalid_onion_key(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_temporary_channel_failure(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_permanent_channel_failure(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_required_channel_feature_missing(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_unknown_next_peer(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_amount_below_minimum(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_fee_insufficient(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_incorrect_cltv_expiry(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_expiry_too_soon(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_incorrect_or_unknown_payment_details(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_final_incorrect_cltv_expiry(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_final_incorrect_htlc_amount(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_channel_disabled(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_expiry_too_far(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_invalid_onion_payload(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_mpp_timeout(const char *fieldname, const u8 *cursor);
|
|
|
|
|
|
void printwire_onionmsg_path(const char *fieldname, const u8 **cursor, size_t *plen);
|
|
#endif /* LIGHTNING_WIRE_ONION_PRINTGEN_H */
|
|
// SHA256STAMP:09dc1e023332a80d6e5b948472d121823404a3d7bfc843142b00ead7892148a1
|