channel_control: Forget if unconfirmed for a long time and we are fundee.

We should forget this as it is a potential DoS if we remember every
funding txid that an attacker gave in a `funding_created` but never
broadcasted.
This commit is contained in:
ZmnSCPxj
2018-05-06 13:32:01 +00:00
committed by Christian Decker
parent 30daa539f0
commit 097a8e72d1
9 changed files with 120 additions and 2 deletions

View File

@@ -16,6 +16,7 @@
#include <common/timeout.h>
#include <common/utils.h>
#include <inttypes.h>
#include <lightningd/channel_control.h>
#include <lightningd/gossip_control.h>
/* Mutual recursion via timer. */