core-lightning/contrib
Rusty Russell 83e654a106 close: change to a unilateraltimeout argument.
`close` takes two optional arguments: `force` and `timeout`.
`timeout` doesn't timeout the close (there's no way to do that), just
the JSON call.  `force` (default `false`) if set, means we unilaterally
close at the timeout, instead of just failing.

Timing out JSON calls is generally deprecated: that's the job of the
client.  And the semantics of this are confusing, even to me!  A
better API is a timeout which, if non-zero, is the time at which we
give up and unilaterally close.

The transition code is awkward, but we'll manage for the three
releases until we can remove it.

The new defaults are to unilaterally close after 48 hours.

Fixes: #2791
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-08-09 05:47:16 +00:00
..
init systemd: wait until network is up 2019-05-16 19:30:38 +02:00
plugins pylightning: Warn users of plugins that may break due to extra args 2019-08-05 00:19:48 +00:00
pylightning close: change to a unilateraltimeout argument. 2019-08-09 05:47:16 +00:00
bootstrap-node.sh contrib: simple script to bootstrap node. 2019-08-07 21:13:17 +08:00
Dockerfile.builder docker: Update pytest dependencies in the builder image 2018-11-26 22:53:37 +00:00
Dockerfile.builder.fedora contrib: Dockerfile.builder.fedora bump fedora release 2019-03-22 17:13:16 +01:00
Dockerfile.builder.i386 docker: Update pytest dependencies in the builder image 2018-11-26 22:53:37 +00:00
lightning-cli.bash-completion bash-completion: include underscores 2019-07-09 13:23:14 +02:00
linuxarm32v7.Dockerfile Use tini as docker entrypoint 2019-03-19 14:26:03 +01:00
short_channel_id-to-txid.sh contrib/short_channel_id-to-txid.sh: simple mapping util. 2018-08-21 22:53:45 +02:00
startup_regtest.sh contrib: add txindex to bitcoind for regtest 2019-08-09 05:07:18 +00:00