-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge with master #5
Commits on Sep 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8d95917 - Browse repository at this point
Copy the full SHA 8d95917View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2402c52 - Browse repository at this point
Copy the full SHA 2402c52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0128bc7 - Browse repository at this point
Copy the full SHA 0128bc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d7e603 - Browse repository at this point
Copy the full SHA 2d7e603View commit details -
Configuration menu - View commit details
-
Copy full SHA for f417dfa - Browse repository at this point
Copy the full SHA f417dfaView commit details -
chainparams: Remove index from chainparams
We no longer use it to reference chainparams, so we can remove it completely.
Configuration menu - View commit details
-
Copy full SHA for e10cde3 - Browse repository at this point
Copy the full SHA e10cde3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc88c35 - Browse repository at this point
Copy the full SHA dc88c35View commit details -
master: Move JSON-RPC setup below PID-file creation
If we run two daemons on the same directory we'd be getting the failure from trying to listen to the same file before we'd hit the pid-file error, which was causing confusion.
Configuration menu - View commit details
-
Copy full SHA for d9ea2e6 - Browse repository at this point
Copy the full SHA d9ea2e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b861e44 - Browse repository at this point
Copy the full SHA b861e44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79da1b9 - Browse repository at this point
Copy the full SHA 79da1b9View commit details -
pytest: Fix flaky test_logging
File was rotated away but didn't wait for the first line to be actually written.
Configuration menu - View commit details
-
Copy full SHA for f1e931f - Browse repository at this point
Copy the full SHA f1e931fView commit details -
lightningd: split pidfile handling.
We want to try it before --daemon, in case we error, but we don't know the pid yet, so we split into 'lock' and 'write'. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for bdb8416 - Browse repository at this point
Copy the full SHA bdb8416View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a1bc0f - Browse repository at this point
Copy the full SHA 4a1bc0fView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 704d30e - Browse repository at this point
Copy the full SHA 704d30eView commit details -
wallet: fix Makefile to include correct dependencies.
It didn't depend on its own headers, it should also depend on lightningd/lightningd.h. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for c2e56fb - Browse repository at this point
Copy the full SHA c2e56fbView commit details -
wallet: include Makefile from lightningd/Makefile so that lightning h…
…eaders defined. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 30f1292 - Browse repository at this point
Copy the full SHA 30f1292View commit details -
lightningd: fix Makefile to remove cruft.
Everything depends on common headers etc, and the HSM_CLIENT_HEADERS was removed quite a while ago. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for bcbcf2f - Browse repository at this point
Copy the full SHA bcbcf2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3372228 - Browse repository at this point
Copy the full SHA 3372228View commit details
Commits on Sep 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f505a94 - Browse repository at this point
Copy the full SHA f505a94View commit details -
docker: Prepare builder to include flask and cherrypy
This is in preparation for the next commit.
Configuration menu - View commit details
-
Copy full SHA for 0a5c45e - Browse repository at this point
Copy the full SHA 0a5c45eView commit details -
pytest: Add an RPC proxy inbetween bitcoind and bitcoin-cli
This is a simple reverse proxy that `bitcoin-cli` can talk to when invoked by `lightningd`. It allows us to trace `bitcoin-cli` calls, and intercept calls to mock the replies, better than the current bash-script based method.
Configuration menu - View commit details
-
Copy full SHA for e132dff - Browse repository at this point
Copy the full SHA e132dffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8818602 - Browse repository at this point
Copy the full SHA 8818602View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74f228d - Browse repository at this point
Copy the full SHA 74f228dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dabc5a - Browse repository at this point
Copy the full SHA 2dabc5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa80a33 - Browse repository at this point
Copy the full SHA aa80a33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16869e3 - Browse repository at this point
Copy the full SHA 16869e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e5d7da - Browse repository at this point
Copy the full SHA 9e5d7daView commit details -
Configuration menu - View commit details
-
Copy full SHA for f29f92a - Browse repository at this point
Copy the full SHA f29f92aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36eab5d - Browse repository at this point
Copy the full SHA 36eab5dView commit details
Commits on Sep 19, 2018
-
CHANGELOG.md: add Unreleased section at the top.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 5f059ef - Browse repository at this point
Copy the full SHA 5f059efView commit details -
listpeers: add 'scratch_txid' for the tx we would broadcast if necess…
…ary. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 7744c41 - Browse repository at this point
Copy the full SHA 7744c41View commit details -
pytest: don't wait for sendrawtx, wait for expected tx.
In particular, test_no_fee_estimate was flaky due to seeing the funding tx being sent. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 252bbe1 - Browse repository at this point
Copy the full SHA 252bbe1View commit details -
lightningd: make some bitcoind requests high priority.
fiatjaf has a cheap VPS, connecting remotely to his home bitcoind node. fiatjaf's latency on bitcoin-cli getblock is between 10 and 37 seconds. fiatjaf's c-lightning node is getting one block per hour. fiatjaf is sad. We single-file our bitcoind requests, because bitcoind has a limited thread pool and it *fails* rather than queueing if you upset it. We probably be fine using separate queues for each command type, but simply allowing some requests to cut in line should prove my theory that we're getting stuck behind gossip verification requests. fiatjaf now gets one block per 2 minutes. fiatjaf is less sad. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 2cdc5fb - Browse repository at this point
Copy the full SHA 2cdc5fbView commit details -
lightningd: make bcli_args() helper take ctx.
Otherwise we can get leak complaints: all callers now use tmpctx. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 9b8c8f6 - Browse repository at this point
Copy the full SHA 9b8c8f6View commit details -
lightningd: verbose debugging for bitcoind commands.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for e7a0ffc - Browse repository at this point
Copy the full SHA e7a0ffcView commit details -
lightningd: allow more than one bitcoind request at once, run multipl…
…e queues. With the previous patch, we could still get stuck behind a low-prio request. Generalize it into separate queues, and allow more than one request in parallel. Worth noting that the test time for `VALGRIND=0 pytest -vx tests/ -n 10` doesn't change measurably. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for f6fb120 - Browse repository at this point
Copy the full SHA f6fb120View commit details