mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-09 07:10:16 +01:00
942d04ba87
We make new_routing_channel() populate both connections (active=false), so local_add_channel becomes simpler. We also suppress listchannels output of active=false unannounced channels, to avoid breaking tests (also, these are unusable, so it makes sense to omit them) It also seems the logic in add_channel_direction is legacy: a channel_announce cannot replace the scid (that would be a different channel), we don't allow duplicate announcements, and the announcement is never NULL. And since we disallow repeated channel_announce already, I believe 'forward' is always true, greatly simplifying the logic in handle_pending_cannouncement. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
run-bench-find_route.c | ||
run-find_route-specific.c | ||
run-find_route.c | ||
run-initiator-success.c | ||
run-responder-success.c |