state: remove anchor timeout.

We'll bring it back as a block-based timeout at the end.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-11-09 08:04:20 +10:30
parent b349e2884b
commit bbd1bbd931
6 changed files with 13 additions and 74 deletions

View File

@@ -103,14 +103,8 @@ static inline bool input_is(enum state_input a, enum state_input b)
* peer_watch_anchor: create a watch for the anchor transaction.
* @peer: the state data for this peer.
* @depth: depth at which to fire @depthok.
* @timeout: the input to give if anchor doesn't reach depth in time.
*
* @timeout can be INPUT_NONE if it's our anchor (we don't time
* ourselves out).
*/
void peer_watch_anchor(struct peer *peer,
int depth,
enum state_input timeout);
void peer_watch_anchor(struct peer *peer, int depth);
/* Start creation of the bitcoin anchor tx. */
void bitcoin_create_anchor(struct peer *peer);