Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gugger 33a0cbe634 Merge pull request #7292 from Crypt-iQ/disconnectblock_patch
aliasmgr+channeldb: stop deleting zero-conf edges from graph if reorg occurs
2023-01-26 16:26:28 +01:00
Oliver Gugger 9187d4679b Merge pull request #7231 from ziggie1984/sign_verify_message_with_addr
Sign/Verify messages and signatures for single addresses
2023-01-24 20:30:15 +01:00
Oliver Gugger 97f139b617 Merge pull request #7353 from bottlepay/bump-kvdb-etcd
kvdb: bump etcd to v3.5.7
2023-01-24 15:58:15 +01:00
Oliver Gugger f4400eabe4 Merge pull request #7352 from ellemouton/removeEtcdCleanups
kvdb: remove etcd test fixture cleanup calls
2023-01-24 13:52:37 +01:00
Oliver Gugger 3a6aaf6275 Merge pull request #7303 from ziggie1984/fuzz_tests_custommessages
Add Custom Message to Fuzz Testing
2023-01-23 10:13:39 +01:00
Oliver Gugger 35caaf3c53 Merge pull request #7334 from positiveblue/invoice-type-helper
channeldb/invoices: add `IsAMP` and `IsKeysend` helpers
2023-01-20 16:34:20 +01:00
Oliver Gugger 0eb07c944c Merge pull request #7330 from yyforyongyu/routing-rm-mtx
routing: remove the mutex lock inside `ChannelRouter`
2023-01-19 16:15:02 +01:00
Oliver Gugger b5bf658780 Merge pull request #7337 from yyforyongyu/fix-unit-test
bitcoindnotify: fix subtest closure in unit tests
2023-01-19 14:54:25 +01:00
Oliver Gugger 48c8c1bf48 Merge pull request #6824 from yyforyongyu/5-new-itest
itest: continued itest refactor and fix - IV
2023-01-18 22:14:29 +01:00
Oliver Gugger c38be044d3 Merge pull request #7335 from guggero/disable-gomnd
lint: disable gomnd
2023-01-18 10:43:00 +01:00
Oliver Gugger 716febc6c7 Merge pull request #7336 from positiveblue/fix-race-condition
routing: fix reace condition in `TestUpdatePaymentState`
2023-01-18 09:26:28 +01:00
Oliver Gugger de94a4ea5e Merge pull request #7157 from yyforyongyu/fix-peer
brontide: retry enabling channels
2023-01-17 23:37:44 +01:00
Oliver Gugger d960fcd68a multi: remove gomnd disable directives 2023-01-17 19:43:26 +01:00
Oliver Gugger a306cbdec9 lint: disable gomnd 2023-01-17 19:20:57 +01:00
Oliver Gugger 04447927ea Merge pull request #7055 from ellemouton/wtclientMigrations
watchtower: reduce AckedUpdate storage footprint
2023-01-17 10:37:52 +01:00
Oliver Gugger b4febb382a Merge pull request #6823 from yyforyongyu/4-new-itest
itest: continued itest refactor and fix - III
2023-01-17 09:38:31 +01:00
Oliver Gugger be77572fa0 Merge pull request #7115 from C-Otto/log
lnwallet: add log message for edge case
2023-01-16 18:18:10 +01:00
Oliver Gugger 681da4b2b5 Merge pull request #7321 from bshramin/fix-selfsigned-typos
Fix typos in selfsigned.go
2023-01-16 09:54:08 +01:00
Oliver Gugger e953034b83 Merge pull request #7325 from ellemouton/fixGomndLintError
lncli+docs: skip gomnd check in switch statement
2023-01-16 09:46:28 +01:00
Oliver Gugger 143eba82ea Merge pull request #7314 from yyforyongyu/fix-unit-test-mailbox
htlcswitch: fix test flake in `TestMailBoxAddExpiry`
2023-01-13 15:05:17 +01:00
Oliver Gugger d108d7f741 Merge pull request #7315 from sputn1ck/lncli_ordinal_numbers
lncli/sendpayment: more descriptive failure log
2023-01-13 10:28:42 +01:00
Oliver Gugger 6f0383bb4f Merge pull request #7308 from hieblmi/code-sytle-cleanup
funding: code style cleanup in the funding package
2023-01-12 15:01:42 +01:00
Oliver Gugger b1645ec46d Merge pull request #6783 from ErikEk/itest-neutrino-sub-server
itest: neutrino sub-server
2023-01-12 12:20:58 +01:00
Oliver Gugger 3dd9e04b8b Merge pull request #7306 from YusukeShimizu/docs-invoice-default-expiry
Docs invoice default expiry
2023-01-12 10:29:07 +01:00
Oliver Gugger 79d5a01a81 Merge pull request #7310 from bitromortac/2301-queryprob-docs
routerrpc: update QueryProbability documentation
2023-01-12 10:23:09 +01:00
Oliver Gugger b1d6991b27 Merge pull request #7153 from carlaKC/7093-custommessage
multi: Add ability to handle protocol-range messages in Custom Message APIs
2023-01-11 09:52:40 +01:00
Oliver Gugger ef8cf73d4c Merge pull request #7295 from guggero/build-cache
GitHub: fix Golang build cache in actions
2023-01-06 14:11:34 +01:00
Oliver Gugger f16a2f11df docs: add release notes 2023-01-06 09:18:28 +01:00
Oliver Gugger a074c801d1 GitHub: add job ID to cache key
To avoid the problem where multiple jobs try to create the same cache
entry, we add the GitHub job ID to the cache key.
The two restore keys make it possible that a job can also restore a
cache entry from another job if none for the current job exist yet.
2023-01-06 09:18:28 +01:00
Oliver Gugger 984fc3a2ec GitHub: make setup-go action more versatile
With this commit we allow the Go version that is set up to be
configurable and not dependent on a specific environment variable. This
will allow us to eventually extract the action into a tooling
repository.
2023-01-06 09:18:26 +01:00
Oliver Gugger c4ca7b99e2 GitHub: remove Go env variable override
For some reason we used to override the GOCACHE and GOPATH variables
earlier. This now causes the updated cache action not to pick up any
caches. As the overrides shouldn't be needed anymore, we remove them.
2023-01-06 09:18:16 +01:00
Oliver Gugger cfc48bd81c Merge pull request #7272 from positiveblue/fix-7270
rpc: check that closing address matches the current network for open channel requests
2023-01-05 17:15:55 +01:00
Oliver Gugger 272ed415c2 Merge pull request #7289 from guggero/disable-thelper-linter
lint: disable `thelper` linter
2023-01-05 15:40:39 +01:00
Oliver Gugger 6585d5997a docs: add release notes 2023-01-05 08:53:59 +01:00
Oliver Gugger 04dc37e463 lnwire: remove nolint comment 2023-01-05 08:49:31 +01:00
Oliver Gugger 99ebb67972 lint: disable thelper linter 2023-01-05 08:49:17 +01:00
Oliver Gugger c03de26dcc Merge pull request #7268 from ellemouton/avoidPanicInFundingTest
funding: check error to avoid panic during test
2023-01-03 16:32:32 +01:00
Oliver Gugger 3ffd3b2018 Merge pull request #7176 from b-ryan/fix-bumpfee-doc
Fix bumpfee command doc, incorrect reference to pendingsweeps
2023-01-03 11:22:52 +01:00
Oliver Gugger 73328bd449 Merge pull request #7271 from hieblmi/patch-4
docs: Fix lnd.conf typo
2023-01-03 11:08:48 +01:00
Oliver Gugger 6bba1dc976 Merge pull request #7242 from morehouse/itest_mining_patch
lntemp: after mining, sync to latest block
2022-12-12 21:11:59 +01:00
Oliver Gugger d9febbb9fc Merge pull request #7186 from yyforyongyu/fix-missing-channel-updates
Fix potential channel announcements missing
2022-12-12 10:44:25 +01:00
Oliver Gugger 72d97e92b6 Merge pull request #7245 from yyforyongyu/itest-chain-kit
itest+lntemp: add `ChainKitClient` RPCs and refactor `testChainKit`
2022-12-09 18:32:18 +01:00
Oliver Gugger ad0dbb1c15 walletunlocker: re-create loader after unloading wallet
Because the wallet loader sets its internal database reference to nil
when unloading a wallet, it cannot be loaded again in case of a remote
DB such as etcd or postgres. To avoid running into a nil pointer panic
we just re-create the loader as well before opening the wallet.
2022-12-09 11:09:05 +01:00
Oliver Gugger d04182f482 docs: add release notes 2022-12-09 00:56:49 +01:00
Oliver Gugger f26a9a84d7 lntest: fix rescan test to show correct behavior
Now that we have patched the btcwallet version to the one that includes
the fix, we can adjust the rescan test to show the correct and expected
behavior.
2022-12-09 00:56:49 +01:00
Oliver Gugger 5e851912a7 mod: bump btcwallet to latest version 2022-12-09 00:56:49 +01:00
Oliver Gugger 2221d0ccb1 lntest+lntemp: add itest case for wallet rescan problem
In this commit we add a test that demonstrates the problem of ghost
UTXOs lingering in the wallet after a re-scan, even if they were spent.

NOTE: This test shows the incorrect behavior and will be adjusted in a
follow-up commit to show the correct behavior after patching the
btcwallet version.
2022-12-09 00:56:49 +01:00
Oliver Gugger a0385a535b Merge pull request #7197 from ffranr/add_chain_rpc_calls
lncli+chainrpc: add chainkit RPC service with endpoints GetBlock, GetBestBlock, GetBlockHash
2022-12-07 17:32:54 +01:00
Oliver Gugger 33a5c30671 Merge pull request #7174 from yyforyongyu/prepare-refactor-payment
Prepare for refactoring payment lifecycle
2022-12-07 12:56:06 +01:00
Oliver Gugger ddbe09be87 Merge pull request #7236 from yyforyongyu/fix-typo
proto: fix typo [skip ci]
2022-12-06 09:21:11 +01:00
Oliver Gugger 625c6f1949 Merge pull request #7227 from Crypt-iQ/tlv_change_to_p2p
multi: update to tlv/v1.1.0 and use new *P2P tlv decoding variants
2022-12-05 23:11:30 +01:00
Oliver Gugger e23c5dca73 Merge pull request #7159 from yyforyongyu/code-review-6542
Payments and invoices filtering by creation date
2022-12-05 14:39:17 +01:00
Oliver Gugger 8eebd4feba mod+docs: bump btcwallet to latest version 2022-12-05 09:33:10 +01:00
Oliver Gugger 91c0a19807 Merge pull request #6913 from bottlepay/relax-failure-len-check
htlcswitch: relax failure message length check
2022-12-02 16:00:21 +01:00
Oliver Gugger e614d806e5 Merge pull request #7204 from YusukeShimizu/fix-liveliness-typo
Unified valiable name and comment
2022-12-02 13:10:55 +01:00
Oliver Gugger eca82d986c Merge pull request #7207 from guggero/gossip-flag-fix
lncfg: fix gossip.pinned-syncers flag description
2022-11-28 14:01:11 +01:00
Oliver Gugger 00eda60df5 docs: add release notes 2022-11-28 09:58:32 +01:00
Oliver Gugger 542bbbbc30 lncfg: fix gossip.pinned-syncers flag description
The gossip.pinned-syncers flag is declared as a string slice which means
it should not be a comma separated list of elements but the flag should
be specified multiple times instead.
2022-11-28 09:55:18 +01:00
Oliver Gugger 71fc52dfe3 Merge pull request #7193 from guggero/taproot-default-change
lnwallet/btcwallet: use taproot addrs for change outputs from SendCoins
2022-11-22 17:11:44 +01:00
Oliver Gugger e9fb8f691f Merge pull request #7194 from ffranr/fix_dockerfile_comment
docker: correct comment concerning lnd build/install
2022-11-22 16:05:31 +01:00
Oliver Gugger ca501d920e Merge pull request #7188 from guggero/go-func-vars
Don't access loop variables in goroutines directly
2022-11-22 11:06:42 +01:00
Oliver Gugger ee753923e4 docs: add release notes 2022-11-21 13:54:24 +01:00
Oliver Gugger 55b53555e9 multi: improve readability of goroutine defers
This commit fixes the readability of some of the defer calls in
goroutines by making sure the defer stands out properly.
2022-11-21 13:54:24 +01:00
Oliver Gugger ad8e25cbc9 multi: don't access loop variables in goroutines
This commit makes sure that no loop variables or other temporary
variables are accessed directly in a goroutine but are instead passed
into the goroutine through a parameter. This makes sure a copy of the
value is put on the stack and is not changed while the outside loop
continues.
2022-11-21 13:54:23 +01:00
Oliver Gugger e7170ef819 Merge pull request #7135 from st4rgut24/revise-addinvoice-help-text
revise help text for addinvoice lncli command
2022-11-18 18:43:58 +01:00
Oliver Gugger 87ca48f4b4 Merge pull request #7173 from yyforyongyu/update-linter
golangci: update linter to fix linter bug
2022-11-18 18:25:05 +01:00
Oliver Gugger 43ff90a0ff Merge pull request #7172 from guggero/bitcoind-taproot-itest
itest: temporary fix for taproot test failing on bitcoind
2022-11-18 12:42:57 +01:00
Oliver Gugger 649b9671fb docs: add release notes 2022-11-18 12:42:05 +01:00
Oliver Gugger f1124a0ff9 itest: fix taproot itest timeout issue 2022-11-18 11:10:12 +01:00
Oliver Gugger 67e2e382bc Merge pull request #6822 from yyforyongyu/3-new-itest
itest: continued itest refactor and fix - II
2022-11-18 10:27:26 +01:00
Oliver Gugger 00006adeda Merge pull request #7122 from antonilol/read-binary-psbt
lncli: Allow lncli to read binary PSBTs from a file
2022-11-17 13:13:58 +01:00
Oliver Gugger d5648e9f80 Merge pull request #7164 from Roasbeef/submodule-btcd
multi: update to latest version of btcd in submodules
2022-11-17 12:06:56 +01:00
Oliver Gugger ad2870135c Merge pull request #7163 from akovalenko/master
cmd/lncli/walletrpc_active.go: avoid nested getContext
2022-11-17 10:59:45 +01:00
Oliver Gugger 478b012672 Merge pull request #7150 from tgntr/lncli-strip-prefix-from_invoices
lncli: strip accidentally copied 'lightning:' prefix from pay_req
2022-11-16 12:17:46 +01:00
Oliver Gugger f277f89e08 Merge pull request #7158 from yyforyongyu/move-tx-label
funding: mark tx label before notifying channel open event
2022-11-15 14:06:54 +01:00
Oliver Gugger 817af408e2 Merge pull request #7066 from yyforyongyu/switch-config-mailbox
htlcswitch: make mailbox HTLC delivery timeout configurable
2022-11-15 11:50:03 +01:00
Oliver Gugger bace8d81fa Merge pull request #7143 from morehouse/test_warning
lnwire: add missing tests for Warning
2022-11-14 17:46:46 +01:00
Oliver Gugger c9b4e7405b Merge pull request #7142 from morehouse/make_fuzz
make+scripts+docs: update fuzzing script and make fuzz
2022-11-14 17:14:43 +01:00
Oliver Gugger fdb94afecb Merge pull request #7082 from alpeb-btc/addinvoice-private-hints
addinvoice: provide hop hints for no-amount invoice
2022-11-14 09:49:26 +01:00
Oliver Gugger 404e18afab Merge pull request #7127 from morehouse/native_fuzzing
brontide+lnwire+wtwire+zpay32: migrate fuzz tests
2022-11-11 16:26:03 +01:00
Oliver Gugger 7e04d407b7 Merge pull request #6766 from andreihod/fix-infinite-loop-error
routing: Fix possible infinite loop on first hop unknown next peer
2022-11-11 12:13:27 +01:00
Oliver Gugger 8b522aa49a docs: add release notes for v0.15.5-beta 2022-11-11 10:20:10 +01:00
Oliver Gugger 5bd3e91750 rpcwallet: pass prev output fetcher into ComputeInputScript
This commit fixes signing of Taproot inputs when some of the other
inputs of the transaction are not known to the wallet (such as a Pool
account for example).
If we want to sign for a Taproot (change) input when depositing into a
Pool account the wallet won't know the Pool account input. So we need to
make sure we pass it along inside the PrevOutputFetcher (which contains
the UTXO information extracted from the PSBT).
2022-11-11 10:20:09 +01:00
Oliver Gugger ed2e542515 rpcwallet: don't re-use sign desc in loop
This commit fixes an issue with signing for mixed inputs in a remote
signing setup where the re-use of the sign descriptor would lead to the
sign method not being reset correctly if a p2wkh input is following a
p2tr input.
2022-11-11 10:20:09 +01:00
Oliver Gugger b3f6fe315e itest: add test coverage for Taproot tweak key mutation 2022-11-11 10:20:09 +01:00
Oliver Gugger 082d68d0ca mod: bump btcwallet to version with addr validation
This commit bumps the btcwallet dependency to the version that includes
the address validation that asserts we can sign for an address before we
use it.
2022-11-11 10:20:08 +01:00
Oliver Gugger e3536dd770 mod+keychain+lntest: bump btcd to version with tweak fix
This commit bumps to the latest version of btcd that fixes a key
mutation issue when signing for Taproot outputs.
2022-11-11 10:20:08 +01:00
Oliver Gugger 22fec76339 Merge pull request #7114 from ellemouton/useCorrectBaseBranchOnPush
github: only check commits on PR events
2022-11-04 10:27:23 +01:00
Oliver Gugger ae6006a84e Merge pull request #7095 from yyforyongyu/funding-locked
funding: wait for one sec if funding locked is not received
2022-11-02 09:27:41 +01:00
Oliver Gugger 421c9c660c Merge pull request #7103 from ellemouton/checkAgainstBaseBranch
github: check commits against base branch
2022-11-02 09:22:13 +01:00
Oliver Gugger 926fdf486c Merge pull request #6573 from voltagecloud/tls-reloader
cert: add TLS reloader
2022-11-02 09:10:15 +01:00
Oliver Gugger 31a803c931 Merge pull request #7100 from guggero/btcd-dep-update
mod+docs: bump btcd version to v0.23.3 on master branch
2022-11-01 17:32:50 +01:00
Oliver Gugger b0673d06ea docs: add release notes for 0.16.0-beta 2022-11-01 16:40:56 +01:00
Oliver Gugger 3013e939dd docs: add release notes for 0.15.4-beta 2022-11-01 16:39:19 +01:00
Oliver Gugger 1628424c33 mod: bump btcd to v0.23.3 2022-11-01 16:38:36 +01:00
Oliver Gugger 84401f6f6c Merge pull request #7039 from TonyGiorgio/sync-7034
Remove ErrSynchronizingChain
2022-10-31 08:35:48 +01:00
Oliver Gugger b9d40a5123 Merge pull request #7070 from habibitcoin/master
doc: remove ⛰  emoji from commands
2022-10-28 19:35:51 +02:00
Oliver Gugger e7f4b183ae Merge pull request #7090 from Kodylow/fix-adming-typo
fixes adming typo
2022-10-28 11:20:31 +02:00
Oliver Gugger 81b17ef4fd Merge pull request #6517 from bottlepay/lookup-htlc
htlcswitch: final settle signal
2022-10-27 17:52:37 +02:00
Oliver Gugger 281cdd4209 Merge pull request #7083 from hieblmi/fwdinghistory-alias-opt-in
rpcserver: opting-in to peer alias lookup in `ForwardingHistory`
2022-10-27 14:04:52 +02:00