Rusty Russell
704d30edce
ping: complete JSON RPC ping commands even if one ping gets no response.
...
We would never complete further ping commands if we had < responses
than pings. Oops.
Fixes : #1928
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-09-14 22:11:23 +02:00
Wladimir J. van der Laan
84eacaee26
ping: First parameter is called 'id' not 'peerid', fix help
...
The first argument of 'ping' was documented as 'peerid', however
internally it is expected to be just 'id'.
To avoid breaking the API, opt to fix the documentation.
2018-09-11 14:09:26 -07:00
Mark Beckwith
a3178b8177
param: remove old callback code
...
Cleaned up remaining code. Reduced comment noise. Reverted
macro names back to the original.
Signed-off-by: Mark Beckwith <wythe@intrig.com>
2018-08-20 01:02:25 +00:00
Mark Beckwith
9b28ecf8fc
param: upgraded json_tok_pubkey
...
Also add json_to_pubkey as utility function.
Signed-off-by: Mark Beckwith <wythe@intrig.com>
2018-08-20 01:02:25 +00:00
Mark Beckwith
294dc06de9
param: upgraded json_tok_number
...
Also renamed old version to json_to_number for use as a utility function.
Signed-off-by: Mark Beckwith <wythe@intrig.com>
2018-08-20 01:02:25 +00:00
Rusty Russell
71575b2115
ping: no longer a dev_ command.
...
Fixes : #1407
Suggested-by: conanoc@gmail.com
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-08-10 12:46:45 +02: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
Rusty Russell
8f358b7a91
lightningd: add dev_ping command for channeld.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-04-25 22:00:28 +02:00
Rusty Russell
d5be8d26f2
lightningd/ping: ping support.
...
A spec update brings ping support.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-04-25 22:00:28 +02:00