Keagan McClelland
f2bb4ff559
invoices+htlcswitch: fix style nits
2023-07-07 13:17:01 -06:00
Keagan McClelland
61f48ccf4e
docs: update release notes
2023-07-07 10:49:05 -06:00
Keagan McClelland
36bf471a1f
invoices+htlcswitch: add tests for relaxed link and invoice checks
2023-07-07 10:48:57 -06:00
dependabot[bot]
63382faec1
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.53.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.41.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.41.0...v1.53.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 21:12:31 +00:00
dependabot[bot]
b9b34a086f
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.53.0 in /kvdb
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.41.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.41.0...v1.53.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 21:12:10 +00:00
Olaoluwa Osuntokun
86e7b4e1e0
Merge pull request #7794 from yyforyongyu/prepare-channel-ready-fix
...
brontide: refactor peer to prepare channel ready fix
2023-07-04 12:39:59 -07:00
Olaoluwa Osuntokun
55c991a1a7
Merge pull request #7775 from yyforyongyu/fix-logger-order
...
lnd: fix orders when initializing subsystem loggers
2023-07-04 12:39:39 -07:00
Olaoluwa Osuntokun
5015cd941e
Merge pull request #7797 from guggero/kvdb-1-4-2
...
mod: bump kvdb submodule to v1.4.2
2023-07-04 12:39:23 -07:00
Olaoluwa Osuntokun
df9b53b6af
Merge pull request #7766 from ffranr/export_unmarshall_outpoint
...
Export unmarshall outpoint functionality
2023-07-04 12:37:48 -07:00
Olaoluwa Osuntokun
f3437d6d2a
Merge pull request #7782 from guggero/fix-tor-dial-ipv6
...
tor: short circuit host lookup if connecting to IP
2023-07-04 12:37:36 -07:00
Keagan McClelland
1b1eedb434
htlcswitch: relax final onion packet check
...
The spec allows the final HTLC value and CLTV expiry to exceed
the value and expiry specified in the payload of the last hop
of the onion packet. We were over-restricting it to require
that it matches exactly.
2023-06-29 17:13:36 -06:00
Keagan McClelland
e0c0815c96
invoices: allow overpayment in mpps
2023-06-29 17:13:36 -06:00
Oliver Gugger
5c5ce1f707
Merge pull request #7780 from ziggie1984/max_local_csv
...
Change defaultMaxLocalCSVDelay to protect user from high delays
2023-06-29 20:52:26 +02:00
Oliver Gugger
2604aebdef
mod: bump kvdb submodule to v1.4.2
...
This is necessary after #7796 to apply the change made in the kvdb
submodule to the main module.
2023-06-29 13:37:58 -04:00
Oliver Gugger
5ea4251b3a
Merge pull request #7796 from hsjoberg/update-kvdb
...
kvdb: Update bbolt to 1.3.7 in order to address mmap issues
2023-06-29 19:35:26 +02:00
Hampus Sjöberg
3d69ed3d4c
kvdb: Update bbolt to 1.3.7 in order to address mmap issues
2023-06-29 17:54:43 +02:00
ziggie
6cbb62a2df
docs: update release-notes
2023-06-28 07:08:32 +02:00
Olaoluwa Osuntokun
aa17c17f9a
Merge pull request #7772 from Roasbeef/release-notes-merge-queue
...
scripts: update release notes check for merge queue usage
2023-06-27 13:46:29 -04:00
yyforyongyu
195e951e58
peer: rename newChannels
to newActiveChannel
...
As new pending channels will be tracked in the following commits, the
`newChannels` is now renamed to `newActiveChannel` to explicitly refer
to active, non-pending channels.
2023-06-27 20:19:37 +08:00
yyforyongyu
22d2819489
peer: add handleNewChannelMsg
method to handle new channel request
2023-06-27 20:19:37 +08:00
yyforyongyu
60627f676f
peer: stop considering pending channels as active
...
This commit changes the method `isActiveChannel` such that the pending
channels are not consider as active.
2023-06-27 20:19:37 +08:00
yyforyongyu
ccb86a9d1d
peer: update and use SyncMap in Brontide
...
This commit applies methods `ForEach` and `Len` to `Brontide`.
2023-06-27 20:19:37 +08:00
yyforyongyu
a66d42c682
funding: use SyncMap
to simplify map usage
2023-06-27 20:19:37 +08:00
ziggie
39f9673bc7
lnd: update defaultMaxLocalCSVDelay
...
Make sure our default local csv delay maximum is symetric
compared to the remote default csv maximum.
2023-06-26 23:39:45 +02:00
Olaoluwa Osuntokun
d0ca48a435
Merge pull request #7767 from yyforyongyu/fix-mempool-leak
...
Fix mempool memory usage
2023-06-22 11:22:20 -05:00
Oliver Gugger
e95720cf3a
tor: short circuit host lookup if connecting to IP
...
With this commit we avoid calling LookupHost if we already have an IPv4
or IPv6 address, as we can return that directly.
This avoids asking Tor to resolve an IPv6 address, which it cannot do.
2023-06-22 09:43:22 +02:00
Oliver Gugger
13e198fbde
Merge pull request #7777 from yyforyongyu/fix-pprof-redirect
...
lnd: fix pprof server redirects
2023-06-22 09:20:31 +02:00
yyforyongyu
148732af61
lnd: fix pprof server redirects
2023-06-22 01:23:27 +08:00
yyforyongyu
b04a40e7b3
mod: update btcwallet
version
2023-06-22 01:09:15 +08:00
Oliver Gugger
f1bca2a59c
Merge pull request #7774 from yyforyongyu/log-block-sync
...
lnd: add debug log when syncing blocks
2023-06-20 13:56:07 +02:00
yyforyongyu
2451e6ae50
lnd: fix orders when initializing subsystem loggers
...
This commit fixed a wrong ordering of initializing subsystem loggers. We
need to make sure "third party" loggers are initialized first such that
when we customize the names later in `lnd`'s packages, the overwriting
of the logger names will take effect.
2023-06-20 18:34:16 +08:00
Oliver Gugger
0d8d0fd261
Merge pull request #7763 from yyforyongyu/enhance-temp-miner
...
Better temp miner management and more verbose loggings
2023-06-19 10:37:01 +02:00
yyforyongyu
bd205aac13
lnd: add debug log when syncing blocks
2023-06-19 14:53:56 +08:00
yyforyongyu
29124dd3b4
itest+lntest: add helper methods to manage temp miners
...
This commit adds several methods to easily spawn a temp miner and
connect/disconnect it from the original miner.
2023-06-19 14:04:24 +08:00
yyforyongyu
bacb49ddba
peer+server: provide more verbose logging
2023-06-19 14:04:24 +08:00
Olaoluwa Osuntokun
7f95810359
Merge pull request #7710 from carlaKC/7297-updateaddtlvs
...
Channeldb: Store HTLC Extra TLVs in Onion Blob Varbytes
2023-06-16 14:31:11 -05:00
Oliver Gugger
02c1261a3d
Merge pull request #7728 from shaurya947/memo-pending-channels
...
lnrpc+itest: return channel Memo for Pending channels
2023-06-16 18:34:30 +02:00
Oliver Gugger
2e1b6597cf
Merge pull request #7771 from ellemouton/towerConfigDefaults
...
multi: add tower config defaults
2023-06-16 09:39:49 +02:00
Olaoluwa Osuntokun
f42b6a3949
scripts: update release notes check for merge queue usage
...
Without this commit, PRs can fail to be merged via the merge queue, as
it'll fail with this error:
```
Run scripts/check-release-notes.sh
PR gh-readonly-queue didn't update release notes
Error: Process completed with exit code 1.
```
2023-06-15 17:48:55 -05:00
shaurya947
44fdd02ab4
lnrpc+itest: return channel Memo for Pending channels
...
In a previous PR we added a Memo field for channels that could be
specified when opening a channel. This was a reference note-to-self
with no bearing on the functioning of the channel. In that PR, the
memo value was returned only through ListChannels. This commit builds
upon that PR by also returning the Memo field for channels returned by
PendingChannels RPC.
2023-06-15 15:16:06 -04:00
Elle Mouton
7484910968
docs: add release note for 7771
2023-06-15 11:36:44 +02:00
Elle Mouton
255d8bb355
lncfg: remove deprecated PrivateTowerURIs from Wtclient cfg
...
This commit removes the `PrivateTowerURIs` member from the `WtClient`
config struct. This field has been deprecated since v0.8.0-beta and
currently, LND would fail to start if the field was specified.
2023-06-15 11:36:44 +02:00
Elle Mouton
f3525e8b7c
multi: add default watchtower config to main LND config
...
In this commit, a `DefaultWatchtowerCfg` function is added which is used
to construct a default `lncfg.Watchtower` struct. This is then used to
populate the default watchtower config in the main LND config struct.
2023-06-15 11:36:44 +02:00
Elle Mouton
d9c4ada991
multi: add wtclient config defaults to lnd config
...
In this commit, a `DefaultWtClientCfg` function is added which
populates some default values for the `WtClient` struct. This is then
used to populate the wtclient defaults in the main LND config struct.
2023-06-15 11:15:32 +02:00
Olaoluwa Osuntokun
453fbb3358
Merge pull request #7565 from Torakushi/accounts
...
Fix non-deterministic behaviour for custom accounts
2023-06-14 23:28:42 -05:00
ffranr
51e2da6fbc
walletrpc: allow both txid fields populated during OutPoint unmarshall
2023-06-14 14:07:46 +01:00
ffranr
72a89520d4
walletrpc: export unmarshall lnrpc.OutPoint functionality
2023-06-14 14:07:46 +01:00
Torakushi
be4dae0ec5
update release-notes-0.17
2023-06-14 09:58:54 +02:00
Torakushi
77d3f00c3b
walletrpc+btcwallet: no custom account with various key scopes
...
Currently, a user can create a custom account with various key scopes.
This is not a desired behaviour.
2023-06-14 09:58:53 +02:00
Torakushi
dd5ed71669
btcwallet: remove LookupAccount because of non-deterministic result
...
In theory, it should be only one custom account with a given name. However,
users could have created custom accounts with various key scopes. In that case,
'LookupAccount' has a non deterministic behaviour. To fix that, we browse
through all key scopes (deterministically) and return the first account we found.
2023-06-14 09:58:52 +02:00