Oliver Gugger
a8f75e0221
Merge pull request #4177 from torkelrogstad/2020-04-11-lncli-complete
...
Add auto-generated Fish shell lncli-completions
2021-12-13 12:22:44 +01:00
Torkel Rogstad
f51891da27
docs: update release notes
2021-12-13 11:08:48 +01:00
Torkel Rogstad
55617f153f
lncli: add fish-completion
...
This is a new, hidden command that generates completions for Fish shell.
This can be piped into `source` or saved in a file to activate (almost)
perfect tab completion.
2021-12-13 11:07:49 +01:00
Torkel Rogstad
c64e9c5286
Bump urfave/cli version
...
urfave/cli added functionality for generating Fish shell tab-completions
a few releases ago. We bump the dependency version to get access to
this functionality.
2021-12-13 11:07:49 +01:00
Oliver Gugger
2aef091367
Merge pull request #5952 from jblachly/key-import-docs
...
Docs: fix language ambiguity in key import
2021-12-13 11:00:25 +01:00
Elle Mouton
2449e66d29
lnwallet+docs: minrelayfee always above fee floor
...
The minimum relay fee is always ensured to be above our fee floor except
in the very first min relay fee query to bitcoind. This commit ensures
that the fee floor is respected in this first query.
2021-12-13 08:22:34 +02:00
Oliver Gugger
485ec0f697
Merge pull request #5710 from ErikEk/zmq-healthcheck
...
config: misconfigured bitcoind zmq
2021-12-10 12:54:15 +01:00
Oliver Gugger
2de8571ab3
Merge pull request #6073 from mattbajorek/5518-clarify-invalid-config-timeout-constraints
...
netann: clarify invalid config timeout constraints [skip ci]
2021-12-10 12:52:29 +01:00
Oliver Gugger
66a669d8e9
Merge pull request #5854 from LN-Zap/upstream/RPCTransaction
...
Adds helper function lnrpc.RPCTransaction to create a single lnrpc.Transaction and refactors lnrpc.RPCTransactionDetails
2021-12-10 12:45:17 +01:00
Oliver Gugger
1ccd03784b
Merge pull request #5539 from Kixunil/no-psbt-midstep-enforce-new-reserved-value
...
Do not enforce new reserved value in PSBT midstep
2021-12-10 12:33:05 +01:00
Bjarne Magnussen
46c268eec0
add to release notes 0.14.2
2021-12-10 08:27:19 +01:00
Bjarne Magnussen
93e5de9306
lnrpc: refactor populating lnrpc.Transaction inside SubscribeTransaction
2021-12-10 08:26:16 +01:00
Martin Habovstiak
333fe39a51
docs: added release notes regarding #5539
2021-12-10 00:23:00 +01:00
Martin Habovstiak
2b3b70d40b
test: don't enforce reserved value in PSBT midstep
...
This adds an integration test that makes sure channel can be funded from
empty wallet using PSBT if the funding transaction contains an output
belonging to the wallet, satisfying the reserve.
2021-12-10 00:22:17 +01:00
Martin Habovstiak
ec24767b9b
lnwallet: don't enforce new reserved value in PSBT midstep
...
This change avoids enforcing new reserved value when PSBT funding is not
finished yet as new inputs and outputs may still be added that could
change the outcome of the check.
This originally failed in the scenario when funding a channel from
external wallet *and depositing to on-chain wallet* was done
simultaneously in a single transaction. If such transaction confirms
then reserved UTXO is guaranteed to be available but the check didn't
take it into account.
The enforcement still occurs in the final step of PSBT funding flow, so
it is safe. It also occurs in case of non-PSBT funding.
2021-12-10 00:22:17 +01:00
Olaoluwa Osuntokun
f022e557bf
Merge pull request #6068 from bhandras/mc_store_fix
...
routing: fix memory corruption in MC store
2021-12-09 15:20:07 -08:00
Olaoluwa Osuntokun
842fa15229
Merge pull request #6062 from yyforyongyu/6056-fix-webapi
...
chainfee: return floor fee rate when a given target is not found
2021-12-09 15:17:05 -08:00
Matthew Bajorek
93b1cd0e82
docs: update release note for #6073 [skip ci]
2021-12-09 09:29:18 -05:00
Matthew Bajorek
6fb3c25228
netann: clarify invalid config timeout constraints [skip ci]
2021-12-09 09:29:04 -05:00
Oliver Gugger
94bbad3fd1
Merge pull request #6071 from sputn1ck/fix-error-msgs
...
routerrpc: fix wrong error messages
2021-12-09 10:54:22 +01:00
ErikEk
94cb818dd9
healthcheck: misconfigured bitcoind zmq
2021-12-09 10:51:34 +01:00
kon
59b215fe09
routerrpc: fix wrong error messages
...
when payment_hash or final_cltv_delta and payment_request was set, the error message showed that the parameters shouldn't be set with dest instead of payment_request
[skip ci]
2021-12-09 10:36:32 +01:00
Andras Banki-Horvath
5efbb2b0ff
docs: update release notes
2021-12-08 23:10:20 +01:00
Andras Banki-Horvath
8cd607447e
routing: fix memory corruption in MC store
...
Since bbolt returns references to internally stored data when storing
locally it's best to copy the byte slices returned or alternatively
convert them to string (which also makes a copy) to avoid crashes casued
by memory corruption.
2021-12-08 23:10:16 +01:00
Oliver Gugger
71b23a2c54
Merge pull request #5971 from yyforyongyu/add-chan-status
...
rpcserver: expose ChanStatusFlags in pending close
2021-12-08 12:23:07 +01:00
yyforyongyu
4a62b7cf8c
docs: add release note for ChanStatusFlags
2021-12-08 04:50:47 +08:00
yyforyongyu
53e02fa83d
rpcserver: expose ChanStatusFlags in pending close
...
This commit exposes the ChanStatusFlags inside waitingCloseResp such
that the channel close type is exposed.
2021-12-08 04:50:23 +08:00
Oliver Gugger
099d5b8286
Merge pull request #6060 from mattbajorek/bugfix/lncli-trackpayment-json
...
lncli: Add json flag to trackpayment
2021-12-07 21:15:38 +01:00
Matthew Bajorek
6ebc896f6f
lncli: Add json flag to trackpayment [skip ci]
2021-12-07 14:04:27 -05:00
yyforyongyu
7f3a146216
docs: update release note for fee rate fix
2021-12-07 20:18:24 +08:00
yyforyongyu
7e7fca78c4
chainfee: update test TestWebAPIFeeEstimator
2021-12-07 20:18:24 +08:00
yyforyongyu
655ce00220
chainfee: handle conf target not found in cache
2021-12-07 20:18:24 +08:00
Oliver Gugger
c75c3bd847
Merge pull request #5756 from yyforyongyu/itest-1-run-ctx
...
itest: refactor context management inside harness node and net
2021-12-07 13:14:27 +01:00
yyforyongyu
c4de19b757
docs: update release note for itest ctxt fix
2021-12-07 18:52:55 +08:00
Oliver Gugger
17babfdd8e
Merge pull request #6050 from arshbot/export-BitcoindBackendConfig-attributes
...
lntest: export attributes of type BitcoindBackendConfig
2021-12-07 11:36:24 +01:00
Harsha Goli
64a34f4f9f
docs: update release notes
2021-12-06 14:45:11 -05:00
yyforyongyu
0379b4f1bf
makefile: add itest-clean to kill uncleaned processes
2021-12-04 14:54:37 +08:00
yyforyongyu
05ac516762
itest: replace fakeLogger with v2 logger with Discard
2021-12-04 14:54:37 +08:00
yyforyongyu
403fdaa716
itest: use run context when making rpc requests
2021-12-04 14:54:37 +08:00
yyforyongyu
bd521dd2f0
itest: rename harness net file and add run context
...
This commit renames harness.go to harness_net.go. It also adds a run
context which is served as the parent context when creating new
contexts.
2021-12-04 14:54:37 +08:00
yyforyongyu
26ed64fa52
itest: manage context within HarnessNode
...
This commit removes the context as a param needed when calling methods
of HarnessNode. This change moves the context management inside
HarnessNode, aside from saving us a few lines, it makes the context
creation/timeout less error-prone.
2021-12-04 14:54:36 +08:00
yyforyongyu
6f59f41e86
itest: use ProcessState and runCtx to control process quit
2021-12-04 14:54:36 +08:00
yyforyongyu
f81bcdf4db
itest: add run context to harness node
...
This commit adds a running context to HarnessNode which replaces all the
background context used and also serves as a way to signal quit when the
test is shutting down.
2021-12-04 14:54:36 +08:00
yyforyongyu
98d7e64dc1
itest: add test_common to hold commonly used methods
...
A new file, test_common.go, is added to hold commonly used functions
across lntest.
2021-12-04 14:54:36 +08:00
Harsha Goli
eccf20c5b2
lntest: export attributes of type BitcoindBackendConfig
...
Allows these values to be accessed upstream
2021-12-03 13:03:36 -05:00
Olaoluwa Osuntokun
ad78ff114f
Merge pull request #6049 from bhandras/etcd_msg_size
...
etcd: make max message size configurable
2021-12-02 15:19:37 -08:00
Andras Banki-Horvath
24d5146894
docs: update release notes
2021-12-02 21:07:50 +01:00
Andras Banki-Horvath
1ccc5e8014
etcd: make max message size configurable
2021-12-02 21:07:49 +01:00
Oliver Gugger
ed3e597598
Merge pull request #5953 from yyforyongyu/add-contribution-checklist
...
docs: add skip ci to PR checklist [skip ci]
2021-12-02 10:46:37 +01:00
Oliver Gugger
8d3fec35fe
Merge pull request #6033 from sangaman/example-systemd-service
...
docs: add example systemd service file
2021-12-01 15:14:32 +01:00