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
Oliver Gugger
b875084cbe
docs: update remote signing docs
...
With this commit we update the docs according to the latest changes that
were necessary to support loop and pool (which requires all 255
internally used accounts to be imported at wallet creation time).
Fixes #7567 .
2023-04-11 20:44:01 +02:00
Oliver Gugger
b6b536a1b9
Merge pull request #7550 from ardevd/proto-gen-dockerize-go
...
lnrpc: fully dockerize protobuf generation
2023-04-11 18:57:02 +02:00
Oliver Gugger
5046399991
Merge pull request #7588 from Roasbeef/simnet-walletrpc-cointype-fix
...
config: fix bug in walletrpc interaction due to mismatched coin type
2023-04-11 13:46:43 +02:00
Oliver Gugger
559cb47ec2
Merge pull request #7513 from guggero/publish-tx-logging
...
wallet: improve logging around transaction broadcast failures
2023-04-11 12:53:06 +02:00
Oliver Gugger
154e654dc0
docs: add release notes
2023-04-11 12:49:27 +02:00
Oliver Gugger
26254d0730
docs: add release notes
2023-04-11 11:15:37 +02:00
Oliver Gugger
3beaf7c4c1
channeldb: use input.GenMultiSigScript
2023-04-11 11:15:36 +02:00
Oliver Gugger
79c275253c
input: set initial script allocation size
...
The default allocation of 500 bytes for the script that is
used in NewScriptBuilder is way too much for most of our scripts.
With the new functional option we can tune the allocation to exactly
what we need.
2023-04-11 11:15:36 +02:00
Oliver Gugger
a47345bd6f
input: add script size unit and benchmark tests
2023-04-11 11:15:36 +02:00
Oliver Gugger
4bf97477ee
mod: bump btcd version
2023-04-11 10:33:19 +02:00
Oliver Gugger
9b3e4bd5c2
Merge pull request #7584 from lightningnetwork/dependabot/go_modules/golang.org/x/net-0.7.0
...
build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0
2023-04-11 09:32:17 +02:00
Oliver Gugger
4fcd5a0ab0
Merge pull request #7366 from djkazic/feature/listchannels-peer-scid-alias
...
Add `peer_scid_alias` field to lnrpc.Channel
2023-03-31 19:29:03 +02:00
Oliver Gugger
9c16d199d7
Merge pull request #7541 from ellemouton/statusClientBehind
...
watchtower: let client recover after data loss
2023-03-31 15:16:07 +02:00
Oliver Gugger
21dd2cf61d
Merge pull request #7529 from ziggie1984/psbt-bug
...
Check for nonWitness UTXO or witness UTXO data in the psbt inputs
2023-03-31 11:58:45 +02:00
Oliver Gugger
c31698b59b
docker+docs: bump btcd version
2023-03-31 11:04:47 +02:00
Oliver Gugger
ec5b95c9a9
Merge pull request #7517 from yyforyongyu/fix-funding-locked
...
Replace `FundingLocked` with `ChannelReady`
2023-03-30 17:22:17 +02:00
Oliver Gugger
2e9795f26a
Merge pull request #7556 from ellemouton/addrIterFix
...
wtclient: address iterator fix
2023-03-30 16:55:15 +02:00
Oliver Gugger
51df3e5b1e
Merge pull request #7546 from guggero/lnd-0-16-0-final
...
build: bump to version v0.16.0-beta final
2023-03-29 14:59:12 +02:00
Oliver Gugger
218cff41b7
build: bump to version v0.16.0-beta final
2023-03-29 14:30:11 +02:00
Oliver Gugger
5477428525
Merge pull request #7528 from guggero/p2tr-psbt-decoration
...
itest: assert change output type
2023-03-28 20:10:36 +02:00
Oliver Gugger
5272e9140e
Merge pull request #7437 from ardevd/7436-chanbackup-writer-fix
...
lncli: Added support for backup/verify/restore of single chanpoint to/from file
2023-03-27 10:56:00 +02:00
Oliver Gugger
8dc409ee66
Merge pull request #7537 from guggero/0-16-0-rc5
...
build: bump version to v0.16.0-rc5
2023-03-23 17:40:13 +01:00
Oliver Gugger
e9b21c5f64
build: bump version to v0.16.0-rc5
...
Because a tag for RC4 was previously pushed but without bumping the
version first, we need to skip RC4 as we can't replace already pushed
git tags without causing issues.
2023-03-23 16:43:38 +01:00
Oliver Gugger
1052b139bd
Merge pull request #7520 from bitromortac/2303-bimodal-fixes
...
routing: prevent retrials for failed channels in bimodal pathfinding
2023-03-23 16:32:14 +01:00
Oliver Gugger
b9143c1623
Merge pull request #7350 from eval-exec/fix/time_lock_delta-overflow
...
[rpcServer]: add time_lock_delta overflow check for UpdateChannelPolicy
2023-03-23 16:21:57 +01:00
Oliver Gugger
3dc4ab736f
Merge pull request #7526 from yyforyongyu/enhanced-logging
...
multi: add more trace logs regarding link activate flow
2023-03-23 10:37:13 +01:00
Oliver Gugger
78351e1730
Merge pull request #7531 from yyforyongyu/fix-web-fee-estimator
...
Fix web fee estimator test flake and increase retry timeout for channel close
2023-03-22 20:56:49 +01:00
Oliver Gugger
4ab00fb16e
Merge pull request #7533 from guggero/travis-timeout
...
travis: increase timeout to 120 minutes
2023-03-22 17:58:46 +01:00