lightningd: introduce peer_state enum.

The actual state names are place holders for now, really.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-05-22 20:54:59 +09:30
parent 93849b1e02
commit 34e6e56471
8 changed files with 130 additions and 51 deletions

View File

@@ -282,5 +282,5 @@ class LightningNode(object):
self.daemon.wait_for_log('sendrawtx exit 0, gave')
time.sleep(1)
self.bitcoin.rpc.generate(6)
self.daemon.wait_for_log('Normal operation')
self.daemon.wait_for_log('-> NORMAL')