mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
9224d9a500
We assume if they set this to 0 (which nobody did previously), they're using it as a modern flag and use it to indicate when they're finished. Otherwise, we count how many blocks they've sent and use that to determine whether they've finished. See: https://github.com/lightningnetwork/lightning-rfc/pull/826 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: Protocol: we use `sync_complete` for gossip range query replies, with detection for older spec nodes.
78 lines
2.9 KiB
C
Generated
78 lines
2.9 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_PEER_PRINTGEN_H
|
|
#define LIGHTNING_WIRE_PEER_PRINTGEN_H
|
|
#include <ccan/tal/tal.h>
|
|
#include <devtools/print_wire.h>
|
|
|
|
void printpeer_wire_message(const u8 *msg);
|
|
|
|
void printpeer_wire_tlv_message(const char *tlv_name, const u8 *msg);
|
|
|
|
void printwire_init(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_error(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_warning(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_ping(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_pong(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_open_channel(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_accept_channel(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_funding_created(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_funding_signed(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_funding_locked(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_shutdown(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_closing_signed(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_update_add_htlc(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_update_fulfill_htlc(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_update_fail_htlc(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_update_fail_malformed_htlc(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_commitment_signed(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_revoke_and_ack(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_update_fee(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_channel_reestablish(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_announcement_signatures(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_channel_announcement(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_node_announcement(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_channel_update(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_query_short_channel_ids(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_reply_short_channel_ids_end(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_query_channel_range(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_reply_channel_range(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_gossip_timestamp_filter(const char *fieldname, const u8 *cursor);
|
|
|
|
void printwire_onion_message(const char *fieldname, const u8 *cursor);
|
|
|
|
|
|
void printwire_channel_update_checksums(const char *fieldname, const u8 **cursor, size_t *plen);
|
|
void printwire_channel_update_timestamps(const char *fieldname, const u8 **cursor, size_t *plen);
|
|
#endif /* LIGHTNING_WIRE_PEER_PRINTGEN_H */
|
|
// SHA256STAMP:b3a92a714208711191936bbdb7ff0f0a2ca412941ea95e67210029e5249f3d60
|