Commit Graph

12596 Commits

Author SHA1 Message Date
Oliver Gugger
774c541453
Merge pull request #6116 from bottlepay/pg-max-conns
itest: increase pg database connection limit
2022-01-04 10:00:24 +01:00
Joost Jager
2009aec59d
itest: increase pg database connection limit 2022-01-04 08:29:22 +01:00
Oliver Gugger
71ecc8a299
Merge pull request #5964 from bottlepay/leaseoutput
lncli: add leaseoutput command
2022-01-03 18:41:26 +01:00
Joost Jager
f99b472bbb
lncli: add lockid parameter to releaseoutput 2022-01-03 18:21:12 +01:00
Joost Jager
0b2388bd4b
lncli: add leaseoutput command 2022-01-03 18:21:10 +01:00
Oliver Gugger
9d6701be2b
Merge pull request #6082 from yyforyongyu/6000-peer-conn
peer: fix competing connections to the same peer
2022-01-03 13:28:45 +01:00
Oliver Gugger
c2c96d907c
Merge pull request #6053 from yyforyongyu/itest-fix-invoice-registry
invoice: fix inactive client not cleaned from invoice registry
2022-01-03 13:21:01 +01:00
Oliver Gugger
2aad76aea9
Merge pull request #6105 from liviu-ln/master
make: don't optimize debug binaries
2022-01-03 12:35:24 +01:00
yyforyongyu
c9aa034ec9
docs: add release note for peer conn fix 2021-12-28 19:31:52 +08:00
yyforyongyu
85b626e6a7
server: fix peers not ignored during bootstrapping
This commit fixes the issue where duplicate peers are used both in
making persistent connections and bootstrap connections. When we init
bootstrapping, we need to ignore peers that have connections already
made so far plus peers which we are attempting to make connections with,
hence the persistent peers.
2021-12-23 15:14:37 +08:00
yyforyongyu
46050fc631
multi: enhance logging for debugging peer connection 2021-12-23 15:14:37 +08:00
Oliver Gugger
5d9b59ac5a
Merge pull request #6108 from bottlepay/pg-fix
kvdb/postgres: fix context cancellation
2021-12-22 15:44:51 +01:00
Joost Jager
0cae55c162
kvdb/postgres: fix context cancellation 2021-12-22 14:54:43 +01:00
Joost Jager
62a2f3c809
kvdb/postgres: fix tests 2021-12-22 14:54:41 +01:00
Liviu
715d2f08fd docs: update release notes 2021-12-21 22:08:24 -08:00
Liviu
abada24899 make: don't optimize debug binaries
Disable compiler optimizations and function inlining on a debug build to
improve debugging experience.
2021-12-20 11:47:18 -08:00
Oliver Gugger
088970e7e8
Merge pull request #6096 from Kixunil/clarify-systemd-log-message
(trivial) signal: clarify the log message about systemd
2021-12-20 13:44:02 +01:00
Oliver Gugger
f7e40d82f6
Merge pull request #6085 from schjonhaug/improvements-to-mobile-instructions
docs: Improvements to mobile instructions [skip ci]
2021-12-20 12:46:35 +01:00
Andreas Schjønhaug
6dc7bda883 docs: Improvements to mobile instructions [skip ci]
Fixed PR feedback

Fixed name of xcode framwork file, and added section on dependency on Swift Protobuf in Xcode

Added link to https://api.lightning.community

Link to PR
2021-12-20 12:43:02 +01:00
Martin Habovstiak
17cf90ee34 signal: clarify the log message about systemd
The log message was confusing because it was emitted even when running
within systemd if the service type was **not** `notify`. This clarifies
the message by mentioning the edge case.

Being able to distinguish the two cases would be nicer but there doesn't
seem to be a reasonably simple, obvious, reliable way to do it.
Complicated solutions are most likely not worth it for a simple log
message.
2021-12-16 14:02:24 +01:00
Oliver Gugger
3e57d1d416
Merge pull request #6093 from ellemouton/botControls
docs: add review bot commands to guidelines [skip ci]
2021-12-16 12:41:50 +01:00
Olaoluwa Osuntokun
d13246dbc2
Merge pull request #6075 from Roasbeef/chan-type-satisfice
funding: always send a channel type in explicit mode
2021-12-15 16:39:02 -08:00
Olaoluwa Osuntokun
e78560c472
docs/release-notes: add entry for chan type fix 2021-12-15 16:38:34 -08:00
Olaoluwa Osuntokun
99f79ea507 funding: always send a channel type in explicit mode
In this commit, we switch to always sending a channel type when we're in
explicit mode. This is compatible with prior versions of lnd as they
won't send a channel type, and we'll just arrive at the same type via
the existing implicit funding.

Fixes https://github.com/lightningnetwork/lnd/issues/6067
2021-12-15 16:36:28 -08:00
Olaoluwa Osuntokun
e58a9793b8
Merge pull request #6076 from ellemouton/alwaysClampFeeFloor
lnwallet+docs: minrelayfee always above fee floor
2021-12-15 16:33:28 -08:00
Elle Mouton
b829be133a
docs: add review bot commands to guidelines [skip ci]
Add the review bot commands to the contribution guidelines so that we
can link to these commands from the bots readme.
2021-12-15 10:36:36 +02:00
yyforyongyu
48827bb30f
docs: add release note for invoice registry fix 2021-12-15 02:38:54 +08:00
yyforyongyu
df2ecd6bc5
invoices: refactor invoice subscriptions to avoid blocking
This commit fixes a potential blocking when notifying invoice updates.
When a new subscription client is created followed by an immediate
cancel, it's likely the client will be removed from the registry's
map(noop) and then added to its map again. This subscription will then
be kept in registry until lnd is restarted. Another more serious issue
is when multiple subscriptions are made for the same invoice, when the
above case happens, other subscriptions may never send invoice updates
because a previous client has a stopped notification queue that blocks
following notifications.
2021-12-15 02:38:51 +08:00
yyforyongyu
3230cc4822
invoices: remove redundant mutex lock 2021-12-15 02:26:32 +08:00
yyforyongyu
f4f446519b
invoices: remove potential cyclic pointer references
This commit removes the pointer reference to InvoiceRegistry when
creating an InvoiceSubscriptionKit and mounts the channels needed for
communication.
2021-12-15 02:26:32 +08:00
Oliver Gugger
6d59a2c807
Merge pull request #5931 from yyforyongyu/5924-remote-balance
rpcserver: add remote balance for pending force close
2021-12-14 10:02:23 +01:00
yyforyongyu
e00c72e871
docs: add release notes for remote balance field 2021-12-14 03:43:15 +08:00
yyforyongyu
eb11d4866f
rpcserver: add remote balance for pending force close 2021-12-14 03:40:48 +08:00
Oliver Gugger
22607a1c53
Merge pull request #6084 from guggero/backend-readonly
channeldb: allow to be used read-only in external tools
2021-12-13 14:06:27 +01:00
Oliver Gugger
c0e1bfc26f
docs: add release notes 2021-12-13 12:33:48 +01:00
Oliver Gugger
b147d589c1
channeldb: add NoMigration mode
In case the channeldb package is used as a library in external tools, it
can be useful to allow read-only access to a DB. This allows such a
tool to access a DB even if not all migrations were executed, which can
be useful for recovery purposes.
To make it possible to even start the DB with a read-only backend, we
need to disable the automatic migration step.
2021-12-13 12:31:49 +01:00
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