mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34:20 +01:00
Revert "gossipd: handle premature node_announcements in the store."
This reverts commit e2f426903d.
With the new store version, this can't happen.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
48de77d56e
commit
8455b12781
@@ -312,13 +312,9 @@ bool routing_add_channel_update(struct routing_state *rstate,
|
||||
* Directly add the node being announced to the network view, without verifying
|
||||
* it. This must be from a trusted source, e.g., gossip_store. For untrusted
|
||||
* sources (peers) please use @see{handle_node_announcement}.
|
||||
*
|
||||
* Populates *unknown_node if it isn't NULL and this returns false to indicate
|
||||
* if failure was due to an unknown node_id.
|
||||
*/
|
||||
bool routing_add_node_announcement(struct routing_state *rstate,
|
||||
const u8 *msg TAKES,
|
||||
bool *unknown_node);
|
||||
const u8 *msg TAKES);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user