Rusty Russell
f747ad8f73
common/daemon_conn: add daemon_conn_wake() helper.
...
We've been open-coding it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-25 02:13:52 +00:00
Rusty Russell
5e333b75b9
daemon_conn: simplify msg_queue_cleared_cb.
...
Now it just returns true if it queued something. This allows it
to queue multiple packets, and lets it share code paths with other code
in future patches.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-03-14 02:19:37 +00:00
rvandermeer
4c0f7dbd04
Spelling corrections ( #824 )
...
* Small spelling fixes, and clarity for 'iff'
[ Squashed commit --RR ]
2018-01-29 04:46:54 +00:00
Rusty Russell
0cab9d1dd1
daemon_conn: helper to release daemon_conn.
...
We'll want this for the next change, where gossipd migrates remote peers
back to local ones.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-12-17 02:44:20 +00:00
Rusty Russell
a37c165cb9
common: move some files out of lightningd/
...
Basically all files shared by different daemons.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-08-29 17:54:14 +02:00