Oliver Gugger
dfe95d74ea
Merge pull request #7875 from ellemouton/moveStateServerRestRegister
...
refactor: move State server REST registration
2023-08-08 15:00:27 +02:00
Oliver Gugger
bf5aab9d52
Merge pull request #7788 from ellemouton/bumpNeutrino
...
go.mod: bump neutrino and btcwallet versions
2023-08-07 08:46:20 +02:00
Oliver Gugger
aa7e7a1e5a
Merge pull request #7770 from feelancer21/sample-lnd-conf-update-defaults
...
Revision of default values in sample-lnd.conf and building of a check script
2023-08-04 13:10:29 +02:00
Oliver Gugger
4332413fba
chainntnfs: remove block info from conf detail copy
...
Noticed this while updating to latest master in another project:
If there are two notifications for the same output being registered and
the first one does _NOT_ request the block to be included, then the
second one also will not receive the block, even if it explicitly
requests it.
This is caused by the block being removed from the original confirmation
set instead of a copy (as it is done in NotifyHeight and
UpdateConfDetails).
2023-08-02 15:23:14 +02:00
Oliver Gugger
19c121c7a3
Merge pull request #7846 from morehouse/refactor_mailcourier
...
htlcswitch: split mailCourier by courierType
2023-08-02 10:52:46 +02:00
Oliver Gugger
d62bed22a3
Merge pull request #7857 from hieblmi/wallet-balance-account
...
lnrpc: adding account name to the `WalletBalance` rpc
2023-08-02 10:45:46 +02:00
Oliver Gugger
d46ee0bd74
Merge pull request #7842 from morehouse/refactor_handle_warning_error
...
peer: combine handleWarning and handleError
2023-07-27 10:32:07 +02:00
Oliver Gugger
5919615416
Merge pull request #7746 from ziggie1984/min-relay-fee
...
Handle Min Mempool Fee error so that lnd will startup correctly
2023-07-26 14:42:49 +02:00
Oliver Gugger
1d3796a6d4
Merge pull request #7820 from hieblmi/sync-batch-chan-open-params
...
lnrpc: sync BatchOpenChannel and OpenChannel params
2023-07-26 11:31:05 +02:00
Oliver Gugger
7fdb55bd30
Merge pull request #7827 from carlaKC/cleanup-invoicetests
...
invoices/test: Cleanup Invoice Registry Tests
2023-07-25 13:15:34 +02:00
Oliver Gugger
0e0e8d8631
Merge pull request #7854 from matheusdtech/itest-network-conn
...
itest: bind to local addr in network test
2023-07-25 09:20:40 +02:00
Oliver Gugger
c3cd93c98a
Merge pull request #7723 from morehouse/fuzz_zpay32_checksum
...
zpay32: improve fuzz tests
2023-07-19 16:58:44 +02:00
Oliver Gugger
0d2f2aa802
Merge pull request #6895 from ellemouton/towerHasUnackedUpdates
...
wtclient: replay pending and unacked updates
2023-07-19 12:19:49 +02:00
Oliver Gugger
2bb28f7aaf
Merge pull request #7834 from bitcoincore-dev/1689267061/e8c11b989/ee55126b5-scripts/check-release-notes.sh
...
scripts/check-release-notes.sh: fix bash expression
2023-07-18 12:03:30 +02:00
Oliver Gugger
bd3f570107
Merge pull request #7807 from lightningnetwork/dependabot/go_modules/google.golang.org/grpc-1.53.0
...
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.53.0
2023-07-17 14:15:25 +02:00
Oliver Gugger
cbb1d943b2
Merge pull request #7831 from bitcoincore-dev/1689264113/6e68c3b2b/afbc9c629-consistent-username
...
docs: Make MacOS user path consistent across docs
2023-07-17 14:12:22 +02:00
Oliver Gugger
a6fc5d0753
Merge pull request #7826 from carlaKC/race-testinvoice
...
invoices/test: fix data race in TestMppPaymentWithOverpayment
2023-07-13 17:32:27 +02:00
Oliver Gugger
e8c11b9898
Merge pull request #7783 from guggero/bump-tor-dependency-ipv6-fix
...
mod: bump tor submodule to v1.1.1
2023-07-13 11:05:20 +02:00
Oliver Gugger
bc58dce176
docs: update release notes
2023-07-13 10:17:17 +02:00
Oliver Gugger
cffdc9a46f
mod: bump tor submodule to v1.1.1
2023-07-13 10:17:02 +02:00
Oliver Gugger
7d202e69ef
Merge pull request #7739 from sputn1ck/autocert_fix
...
tlsmanager: fix autocert autogeneration
2023-07-12 10:03:01 +02:00
Oliver Gugger
54acf270a2
Merge pull request #7758 from guggero/gpg-homedir
...
scripts: use gpg --homedir flag to fix new behavior in 2.4
2023-07-11 10:33:57 +02:00
Oliver Gugger
52115ab19b
docs: add release notes
2023-07-11 09:18:43 +02:00
Oliver Gugger
8c9f4515b6
scripts: use gpg --homedir flag to fix new behavior in 2.4
...
With the latest Golang Docker base image we are using the new gpg
version 2.4 is now being installed in the lnd Docker base image.
Apparently the expected value for the --keyring flag is just a file name
and not an absolute path. The path of the file is indicated either by
the $HOME environment variable or the --homedir flag. It looks like 2.4
now finally stopped supporting an absolute path in the --keyring flag
and we need to update our gpg command to make the script work again.
This should be backward compatible and still work on older versions of
gpg.
2023-07-11 09:18:22 +02:00
Oliver Gugger
287b0ac219
Merge pull request #7817 from ViktorTigerstrom/2023-07-add-viktor-key
...
scripts: add ViktorTigerstrom PGP key
2023-07-10 14:34:08 +02:00
Oliver Gugger
0045344692
Merge pull request #7814 from harsha-s/patch-2
...
Fix docker compose run issue
2023-07-10 13:36:16 +02:00
Oliver Gugger
6002982baa
Merge pull request #7806 from lightningnetwork/dependabot/go_modules/kvdb/google.golang.org/grpc-1.53.0
...
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.53.0 in /kvdb
2023-07-10 11:14:50 +02:00
Oliver Gugger
93c4b678be
GitHub: bump pinned dependency for grpc
2023-07-10 11:04:14 +02: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
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
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
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
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
Oliver Gugger
cf1f44ab10
Merge pull request #7689 from guggero/housekeeping
...
Housekeeping (fix small issues, take over stale contributor PRs)
2023-06-13 17:42:53 +02:00
Oliver Gugger
f97f54e088
Merge pull request #7480 from maxwellsayles/fundExpiryOnPending
...
lnd: compute FundingExpiryBlocks in PendingOpenChannel message
2023-06-13 17:29:15 +02:00
Oliver Gugger
d1002cd218
docs: add contributors to release notes
2023-06-13 11:58:35 +02:00
Oliver Gugger
03b4d88ed7
docs: mention lnd-itest for testing
...
Fixes #5418 .
2023-06-13 11:58:33 +02:00
Oliver Gugger
7ca7526132
lnrpc: update description for VerifyMessage
...
Fixes #3596 .
2023-06-13 11:58:33 +02:00
Oliver Gugger
31330f1ffc
walletrpc: add note to poorly named field
...
Fixes #2986 .
2023-06-13 11:58:33 +02:00
Oliver Gugger
56dba2df03
multi: update linter, fix new issues
2023-06-13 11:58:33 +02:00
Oliver Gugger
e549096b88
Merge pull request #7687 from morehouse/fuzz_addr_iter
...
wtclient: AddressIterator fuzz test
2023-06-12 12:25:08 +02:00
Oliver Gugger
6931a544e1
Merge pull request #7747 from ardevd/gen_protos_full_image_name
...
fix: use full image name for gen_protos_docker.sh
2023-06-12 11:13:11 +02:00
Oliver Gugger
753af11ed6
Merge pull request #7730 from guggero/grpc-keepalive
...
config+grpc: allow configuring gRPC keepalive params
2023-06-10 13:45:50 +02:00
Oliver Gugger
bf3668240f
docs: add release notes
2023-06-09 10:57:37 +02:00
Oliver Gugger
1515266269
sample-lnd.conf: describe grpc keepalive params
2023-06-09 10:57:37 +02:00
Oliver Gugger
f9f8f6406b
config+lnd: allow configuring gRPC keepalive settings
...
This change allows users to customize the gRPC keepalive settings. The
server ping values configure when the server sends out a ping by itself
and how quickly the client is expected to respond.
The client ping min wait configures the minimum time a client has to
wait before sending another ping. A connection might be closed by the
server if a client pings more frequently than the allowed min wait time.
We choose lower default values than the gRPC library used before:
- ServerPingTime: 1 minute instead of 2 hours
- ClientPingMinWait: 5 seconds instead of 5 minutes
This should by itself already make long-standing gRPC streams more
stable but also allow clients to set a custom client ping time of 5
seconds or more (a value of slightly more than 5000 milliseconds should
be chosen to avoid the server disconnecting due to slight timing skews).
2023-06-09 10:57:36 +02:00
Oliver Gugger
0005adaac8
Merge pull request #7752 from yyforyongyu/improve-logging
...
contractcourt: improve logging for failing dangling htlcs
2023-06-08 18:31:44 +02:00
Oliver Gugger
6833df5236
Merge pull request #7742 from Roasbeef/multimutex-param
...
multimutex: remove HashMutex, make Mutex type a type param
2023-06-05 09:43:10 +02:00
Oliver Gugger
8f382ffd95
Merge pull request #7238 from morehouse/chain_arbitrator_nit
...
contractcourt: fully use chanPoint variable
2023-06-05 09:41:45 +02:00
Oliver Gugger
f9d4600ff8
Merge pull request #7645 from shaurya947/bitcoind-minmempoolfee
...
sweep+lnrpc: enforce provided fee rate is no less than relay fee
2023-05-30 13:15:22 +02:00
Oliver Gugger
bbbf7d33fb
Merge pull request #7722 from yyforyongyu/fix-payment-stream
...
routing+lnrpc: subscribe payment stream before sending it
2023-05-24 16:51:16 +02:00
Oliver Gugger
7dacf5edb9
Merge pull request #7709 from morehouse/fuzz_require
...
lnwire,wtwire: use require package for fuzz tests
2023-05-23 19:55:06 +02:00
Oliver Gugger
15525ff74c
Merge pull request #7618 from morehouse/derandomize_brontide_fuzz
...
brontide: deterministic fuzz targets
2023-05-23 16:36:38 +02:00
Oliver Gugger
b95faaba45
Merge pull request #7720 from ellemouton/updateReleaseNotes
...
docs: move entry for 7705 to 0.16.3
2023-05-23 09:07:40 +02:00
Oliver Gugger
8c58730c34
Merge pull request #7693 from gcaracuel/lncli_env_global_flags
...
lncli: Global flags to accept ENV vars overrides
2023-05-22 22:15:57 +02:00
Oliver Gugger
a043cca77a
Merge pull request #7712 from ErikEk/neutrinorpc-deprecate-getblockhash
...
Neutrinorpc: deprecate getblockhash
2023-05-22 12:16:04 +02:00
Oliver Gugger
3d53d6909a
Merge pull request #7681 from yyforyongyu/btcwallet-mempool
...
mod: update btcwallet's version
2023-05-22 10:24:17 +02:00
Oliver Gugger
d5f5565e50
Merge pull request #7494 from morehouse/fuzz_ci
...
github: run fuzz tests with unit tests
2023-05-22 10:14:44 +02:00
Oliver Gugger
ac3e7be9a0
Merge pull request #7668 from shaurya947/open-channel-memo
...
multi: accept memo note when opening channel
2023-05-19 16:13:13 +02:00
Oliver Gugger
0a2d6b61aa
Merge pull request #7707 from ellemouton/wtclientFixes
...
watchtower: miscellaneous fixes
2023-05-19 12:22:04 +02:00
Oliver Gugger
2fd40d16f1
Merge pull request #7705 from ellemouton/macStoreRootKeyReEncyption
...
macaroons: ensure all root keys are re-encrypted or regenerated
2023-05-17 16:30:48 +02:00
Oliver Gugger
bdb41e5867
Merge pull request #7380 from ellemouton/wtclientDiskQueue
...
watchtower: replace in-mem task queue with a disk over-flow queue
2023-05-16 12:28:53 +02:00
Oliver Gugger
51a23b0901
Merge pull request #7688 from bshramin/update-docker-images
...
Update docker images
2023-05-15 19:12:59 +02:00
Oliver Gugger
d8eb6dab82
Merge pull request #7649 from morehouse/fuzz_lnwire_signature
...
lnwire: signature parsing/conversion fuzz tests
2023-05-12 18:35:06 +02:00
Oliver Gugger
c2d2d448fb
Merge pull request #7486 from sangaman/amt-paid-accepted
...
lnrpc: update docs for invoice amt_paid
2023-05-12 12:26:15 +02:00
Oliver Gugger
58a73bae39
Merge pull request #7049 from MStreet3/bug/fix-race-neutrinotest
...
Bug/fix race neutrinotest
2023-05-12 09:23:14 +02:00
Oliver Gugger
71c4e72fad
Merge pull request #7659 from guggero/lncli-json-hex-replacement
...
lncli: replace deprecated fork for serializing protobuf as JSON with new one
2023-05-12 00:17:29 +02:00
Oliver Gugger
301be1bb08
docs: add release notes
2023-05-11 22:52:52 +02:00
Oliver Gugger
5583926fb9
lint: allow security replace directives
2023-05-11 22:52:52 +02:00
Oliver Gugger
b5d23bba06
mod+lnrpc: use hex encoding jsonpb fork
2023-05-11 22:52:52 +02:00
Oliver Gugger
9615ce20d6
mod: bump github.com/ulikunitz/xz to v0.5.11
...
There is a CVE (CVE-2021-29482) out there for versions previous to
v0.5.11 of the xz library.
2023-05-11 22:52:51 +02:00
Oliver Gugger
451f033855
mod: remove unused replace directive
...
With recent updates to some of our dependencies, the
github.com/dgrijalva/jwt-go package is not referenced in any transitive
dependency anymore which allows us to remove one of the replace
directives which was added as a security precaution before.
2023-05-11 22:52:51 +02:00
Oliver Gugger
ea8fe6f3f3
mod+lnrpc: bump google.golang.org/protobuf to v1.30.0
2023-05-11 22:52:00 +02:00
Oliver Gugger
f9436ec05d
mod+cmd/lncli: use google.golang.org/protobuf package
2023-05-11 22:51:16 +02:00
Oliver Gugger
fd9adaf6ce
Merge pull request #7646 from yyforyongyu/itest-reduce-blocks
...
itest: mine less blocks to speed up tests
2023-05-10 13:09:12 +02:00
Oliver Gugger
ae30581c3f
Merge pull request #7356 from ziggie1984/benchmarking-fundinglocked
...
Fix Benchmark Test (BenchmarkReadMessage/Funding_Locked) in the lnwire package
2023-05-10 10:22:28 +02:00
Oliver Gugger
8df4edef1b
Merge pull request #7624 from ellemouton/marshalBytesAndStringTxid
...
multi: populate both string and byte TXID in lnrpc.Outpoint
2023-05-08 17:32:54 +02:00
Oliver Gugger
eaa8aa7496
Merge pull request #7678 from erikarvstedt/fix-cert-key-plaintext-detection
...
Restore support for `PKCS8`-encoded cert private keys
2023-05-08 15:12:41 +02:00
Oliver Gugger
728452636a
Merge pull request #7568 from carlaKC/7094-updatefeaturemanager
...
Add config options for custom feature bits
2023-05-04 18:35:23 +02:00
Oliver Gugger
c6b736b169
Merge pull request #7631 from hieblmi/sendoutputs-reserve
...
rpc: anchor reserve check for `SendOutputs`
2023-05-04 10:30:32 +02:00
Oliver Gugger
35917eb858
Merge pull request #7643 from ellemouton/lastFewFundingLockeds
...
multi: catch a few uncaught instances of "funding locked"
2023-04-28 10:05:16 +02:00
Oliver Gugger
7854b73892
Merge pull request #7592 from sangaman/gen-default-macaroons-independently
...
lnd: generate default macaroons independently
2023-04-27 14:04:27 +02:00
Oliver Gugger
fdc1ae9d57
Merge pull request #7635 from GeorgeTsagk/node-sync-err
...
routing: log node pubkey as hex
2023-04-26 08:59:07 +02:00
Oliver Gugger
0bc82d3038
Merge pull request #7637 from yyforyongyu/fix-itest-panic
...
Fix panic when canceling rebroadcast for neutrino backend
2023-04-26 08:58:39 +02:00
Oliver Gugger
4355ce62d2
Merge pull request #7623 from ellemouton/queueBackupIDOnly
...
wtclient: queue backup id only
2023-04-24 15:36:09 +02:00
Oliver Gugger
aff6d4c958
Merge pull request #7614 from yyforyongyu/fix-pprof-err
...
lntest+lnd: gracefully shutdown pprof server
2023-04-21 14:23:51 +02:00
Oliver Gugger
d9396741fa
Merge pull request #7607 from yyforyongyu/itest-fix-close-chan
...
lntest: add temporary wait when closing channels
2023-04-19 10:48:43 +02:00
Oliver Gugger
68dc01977c
Merge pull request #7608 from morehouse/docker_autoclean
...
make: clean up container after linting
2023-04-19 10:39:09 +02:00
Oliver Gugger
517f8ed842
Merge pull request #7597 from guggero/persistent-fee-params
...
Update `channelLink` policy correctly when opening channel with custom fee parameters
2023-04-18 13:36:24 +02:00
Oliver Gugger
d54bc8974a
docs: add release notes
2023-04-18 11:48:49 +02:00
Oliver Gugger
5fbaed6b06
peer: add TODO about initial forwarding policy
...
The right way to solve the problem of the link not being up to date with
custom user set forwarding policies once the channel is announced would
be to pass in those custom values when the link is created initially.
This requires a bit more of a refactor and is not addressed in this bug
fix.
2023-04-18 11:47:03 +02:00
Oliver Gugger
7eafdd0e08
Merge pull request #7604 from ziggie1984/fmt-fix
...
Log Output Fix (Missing Value)
2023-04-18 11:04:54 +02:00
Oliver Gugger
1eebbe3f42
itest: update channel open test to send payment
...
This commit enhances the custom fee policy channel open test by adding a
second channel and testing forwarding payments through the channel with
the custom forwarding policies.
This was able to reproduce the bug reported in #5796 which was fixed in
a previous commit of this PR.
2023-04-18 09:52:14 +02:00
Oliver Gugger
ebf11bc2f1
itest: move lnd_custom_{message => message_test}.go
...
This recently added file didn't follow the golang naming convention for
tests.
2023-04-18 09:40:18 +02:00
Oliver Gugger
af70af2710
funding+server: update switch after sending channel update
...
With this commit we give the funding manager the ability to inform the
switch about custom channel policies, right after we've announced the
channel to the network.
This change is necessary because before #6753 a channel could only be
opened with the default forwarding policies, so the switch automatically
had the "correct" default values. Since #6753 added the ability to
specify forwarding policies at channel open time, we announced those
policies to the network but never updated the switch to inform it about
the changed policies (previously changing the policies was only possible
through the UpdateChannelPolicy RPC which did call the switch).
2023-04-18 09:40:18 +02:00
Oliver Gugger
68881f5c20
funding: refactor manager test
2023-04-18 09:40:17 +02:00