Commit Graph
100 Commits
Author SHA1 Message Date
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
Oliver Gugger 0dbb709929 travis: increase timeout to 120 minutes 2023-03-22 13:42:39 +01:00
Oliver Gugger dcc7421b5b Merge pull request #7405 from ellemouton/filterOutExhaustedSessions
multi: Filter out exhausted sessions
2023-03-22 10:00:15 +01:00
Oliver Gugger d019c82f07 itest: assert change output type of SendCoins 2023-03-20 20:15:43 +01:00
Oliver Gugger a266c3a4a9 itest: add assertion for PSBT change outputs
With this commit we add more specific assertions to our PSBT signing
test in order to make sure change outputs have the proper PSBT metadata
associated with them, depending on their address type.
2023-03-20 19:22:37 +01:00
Oliver Gugger c4c1f1ac92 Merge pull request #7069 from ellemouton/deleteSessions
watchtower: start using the DeleteSession message
2023-03-20 18:45:36 +01:00
Oliver Gugger ae39cd9e91 Merge pull request #7514 from yyforyongyu/rpc-verbose-log
itest+rpcserver: fix itest flake in `3rd_party_anchor_spend`
2023-03-17 08:48:40 +01:00
Oliver Gugger 2e8dc7bf94 Merge pull request #7439 from ellemouton/bolt3-test-vectors
lnwallet: update Bolt3 test vectors
2023-03-16 18:47:19 +01:00
Oliver Gugger 2869b70808 Merge pull request #7059 from ellemouton/sessionFiltering
multi+towers: add ClientSessionFilterFn option
2023-03-16 16:58:04 +01:00
Oliver Gugger b7697a7257 Merge pull request #7377 from positiveblue/split-update-invoice
channeldb: split `UpdateInvoice` logic
2023-03-16 16:39:29 +01:00
Oliver Gugger 8a2999c789 Merge pull request #7500 from yyforyongyu/coverage-test-flags
Makefile: add testing_flags to coverage test
2023-03-16 10:07:20 +01:00
Oliver Gugger 51680c5677 Merge pull request #7490 from yyforyongyu/replace-6417
Return FEE_INSUFFICIENT before checking balance for incoming low-fee HTLCs
2023-03-16 10:05:58 +01:00
Oliver Gugger dbf667d8fc Merge pull request #7511 from yyforyongyu/fix-state-check-itest
itest+lntest: make sure states are cleaned when tests end
2023-03-14 18:58:59 +01:00
Oliver Gugger 098bb36114 Merge pull request #7510 from guggero/fund-psbt-unconfirmed
lncli: allow specifying `--min_confs` in `wallet psbt fund` to select unconfirmed inputs
2023-03-14 13:45:05 +01:00
Oliver Gugger 1ed63a85b3 docs: add release notes 2023-03-13 12:46:05 +01:00
Oliver Gugger 1a3be78471 cmd/lncli: add --num_confs to wallet psbt fund command 2023-03-13 12:45:58 +01:00
Oliver Gugger fe24f195b8 Merge pull request #7508 from positiveblue/fix-linter
multi: make linter happy
2023-03-13 10:04:26 +01:00
Oliver Gugger dcf69169e5 Merge pull request #7492 from yyforyongyu/gossip-add-log
Add trace logs for `discovery` to catch test flakes
2023-03-09 12:52:01 +01:00
Oliver Gugger d5942bf692 Merge pull request #7499 from Roasbeef/bump-go-version
build: bump min Go version to 1.19
2023-03-09 10:35:47 +01:00
Oliver Gugger a28fbd4690 Merge pull request #7491 from ellemouton/fillInTowerToSessionIDIndex
watchtower/wtdb: add tower-to-session index entry for all towers
2023-03-08 13:17:05 +01:00
Oliver Gugger ca3debf351 Merge pull request #7483 from ellemouton/fixNoErrorFunc
multi: fix wait.NoError and sub-test names
2023-03-08 10:42:41 +01:00
Oliver Gugger 54a1661c45 Merge pull request #7451 from CRex15/walletkit+labeltransaction
Add note to LabelTransaction [skip ci]
2023-03-06 18:54:23 +01:00
Oliver Gugger 5330b3e414 Merge pull request #7475 from lightningnetwork/dependabot/go_modules/tor/golang.org/x/net-0.7.0
build(deps): bump golang.org/x/net from 0.0.0-20211015210444-4f30a5c0130f to 0.7.0 in /tor
2023-03-03 13:41:19 +01:00
Oliver Gugger 2e9ceb2ceb Merge pull request #7471 from hieblmi/peer-alias-remove-error
rpc: assign peer alias lookup error string
2023-03-03 11:48:13 +01:00
Oliver Gugger c4e0927960 Merge pull request #7453 from lightningnetwork/dependabot/go_modules/healthcheck/golang.org/x/sys-0.1.0
build(deps): bump golang.org/x/sys from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0 in /healthcheck
2023-03-03 10:15:29 +01:00
Oliver Gugger 880dfd74d8 Merge pull request #7455 from lightningnetwork/dependabot/go_modules/tor/golang.org/x/sys-0.1.0
build(deps): bump golang.org/x/sys from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0 in /tor
2023-03-03 10:15:06 +01:00
Oliver Gugger 1136643917 Merge pull request #7469 from yyforyongyu/fix-itest-network-timeout
itest: use unreachable URL in `testNetworkConnectionTimeout`
2023-03-02 09:15:04 +01:00
Oliver Gugger ffef78a4e5 Merge pull request #7462 from guggero/createwatchonly-stateless
remote signer: allow stateless init of watch-only node
2023-02-27 22:36:32 +01:00
Oliver Gugger 610fc0d927 docs: add release notes 2023-02-27 21:59:45 +01:00
Oliver Gugger 04376b3b23 cmd/lncli: add --stateless_init to createwatchonly command 2023-02-27 21:59:45 +01:00
Oliver Gugger d321182220 Merge pull request #7322 from hieblmi/cmd-listchannels-peer-alias
lncli: remote peer alias in `listchannels`
2023-02-24 22:16:43 +01:00
Oliver Gugger 73596ceac2 Merge pull request #7447 from Roasbeef/v0-16-0-branch-rc1
build: bump version to v0.16.0-rc1
2023-02-24 09:56:19 +01:00