Commit Graph
100 Commits
Author SHA1 Message Date
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
Oliver Gugger 55d62f8bab Merge pull request #6776 from yyforyongyu/2-new-itest
itest: continued itest refactor and fix - I
2022-10-26 21:59:42 +02:00
Oliver Gugger 359a5638f5 Merge pull request #6840 from positiveblue/fix-warning-messages
Fix warning messages
2022-10-26 19:08:21 +02:00
Oliver Gugger e65f05360e Merge pull request #7085 from bottlepay/graph-tlv
rpcserver: expose graph tlv
2022-10-26 13:17:35 +02:00
Oliver Gugger c4f4630902 Merge pull request #7076 from yyforyongyu/tune-linters
golangci: fine-tune enabled linters
2022-10-25 09:44:57 +02:00
Oliver Gugger d9e32f39c2 Merge pull request #7064 from yyforyongyu/fix-linter
lint: enable line too long check and other linters
2022-10-24 09:21:57 +02:00
Oliver Gugger bac7e6360e Merge pull request #7056 from guggero/watch-only-seed-birthday
wallet: use correct birthday timestamp when creating watch-only wallet
2022-10-24 09:21:27 +02:00
Oliver Gugger 8c66353e4c Merge pull request #7001 from hieblmi/fwdinghistory-alias-info
lncli: incoming and outgoing peer alias in `fwdinghistory`
2022-10-20 17:16:47 +02:00
Oliver Gugger dfc526b8b4 Merge pull request #7025 from ellemouton/cantRemoveTowerDuringNegotiation
watchtower: introduce an AddressIterator
2022-10-20 16:57:38 +02:00
Oliver Gugger 7274cf40d0 Merge pull request #6831 from bottlepay/interceptor-watchdog
htlcswitch: interceptor watchdog
2022-10-18 19:11:00 +02:00
Oliver Gugger 95bb1999b9 docs: add release notes 2022-10-18 15:48:30 +02:00
Oliver Gugger 4fbd608b73 Merge pull request #7050 from positiveblue/build-info
[skip ci] build: fix makefile targets using `RELEASE_LDFLAGS`
2022-10-18 13:36:19 +02:00
Oliver Gugger b17a2deaf4 config_builder: use correct birthday when creating watch-only wallet 2022-10-18 13:29:09 +02:00
Oliver Gugger db42e63ab7 Merge pull request #7046 from C-Otto/watchtower-docu-fixes
watchtower: docu fixes
2022-10-17 18:05:26 +02:00
Oliver Gugger f68d047a26 Merge pull request #6963 from positiveblue/build-info
build: get binary build info from `debug/buildinfo`
2022-10-17 10:04:33 +02:00
Oliver Gugger 27fdd0a5b0 Merge pull request #7048 from benthecarman/fix-comment
lnrpc: fix description of tx_index to be correct
2022-10-17 09:33:52 +02:00
Oliver Gugger 2e410dd248 Merge pull request #7029 from MStreet3/bug/blockcache-test-data-race
blockcache: fix datarace in blockcache_test
2022-10-13 20:10:07 +02:00
Oliver Gugger d2d3cf3408 Merge pull request #6956 from ellemouton/configureChanReserve
multi: configurable remote chan reserve
2022-10-13 15:39:40 +02:00
Oliver Gugger d55f861107 Merge pull request #6928 from ellemouton/wtclientMemPerf
multi: remove AckedUpdates & CommittedUpdates from ClientSession struct
2022-10-13 15:34:35 +02:00
Oliver Gugger c2d89bd9f5 Merge pull request #7032 from guggero/autopilot-test-fix
autopilot: fix loop variables, use require
2022-10-13 15:31:31 +02:00
Oliver Gugger fcdb2b545f docs: add release notes 2022-10-13 14:40:43 +02:00
Oliver Gugger 8d6befd797 autopilot: fix loop variables, use require
With this commit we fix a few occurrences of loop variables being
accessed in closures.
While we touch the code, we also migrate it to using the require
library.
2022-10-13 14:40:43 +02:00
Oliver Gugger 707546e2f0 Merge pull request #6972 from ellemouton/wtclientTowerDb
watchtower: add towerID-to-sessionID index
2022-10-13 13:09:12 +02:00
Oliver Gugger 3b44afcd49 Merge pull request #6864 from Juneezee/test/t.Cleanup
test: replace defer cleanup with `t.Cleanup`
2022-10-13 12:45:34 +02:00
Oliver Gugger 4b827179bb Merge pull request #5561 from guggero/database-migration-lndinit
kvdb: refactor as preparation for DB migration command in lndinit
2022-10-13 10:59:38 +02:00
Oliver Gugger 4e42ef0ab2 docs: add release notes 2022-10-13 09:45:07 +02:00
Oliver Gugger 696758a660 lncfg: export database namespace names
For the data migration tool we need to know what database namespaces
there are so we can loop over them.
2022-10-13 09:45:07 +02:00
Oliver Gugger fc2d652261 channeldb: check for tombstone before opening DB
To avoid running a channel DB that was successfully migrated to another
system by accident, we check if there is a tombstone marker before we
open the DB for use.
2022-10-13 09:45:07 +02:00
Oliver Gugger 7e76326b97 channeldb: export DB migration related functions
We'll need to know whether a database was migrated to the latest version
in our upcoming data migration tool. To be able to determine the current
version of a DB and the total number of migrations in existence, we need
to export some of the functions in channeldb.
We also add some helper functions for adding tombstone and other markers
to a database.
2022-10-13 09:45:07 +02:00
Oliver Gugger 28c8e8b6dd channeldb: remove unused tx argument 2022-10-13 09:37:53 +02:00
Oliver Gugger ee9d6f21bd etcd: add SequenceKey function 2022-10-13 09:37:52 +02:00
Oliver Gugger d576184fdb etcd: extract NewEtcdClient into exported function
In order for us to be able to re-use the code for initializing an etcd
client connection, we extract and export the NewEtcdClient function.
2022-10-13 09:37:52 +02:00
Oliver Gugger 98f359c5b7 etcd: fix typos 2022-10-13 09:37:52 +02:00
Oliver Gugger b51b1e2f73 Merge pull request #6931 from morehouse/refactor_funding_manager
funding: create waitForPeerOnline helper
2022-10-13 09:37:01 +02:00
Oliver Gugger b387e2c718 Merge pull request #6832 from kklash/switch-test-resource-cleanup
htlcswitch: clean up test resources and temporary files
2022-10-11 15:55:57 +02:00
Oliver Gugger ff35647db3 Merge pull request #7019 from guggero/golang-1-19-2
build: bump Golang version to v1.19.2
2022-10-11 13:35:50 +02:00
Oliver Gugger 59a5f53cfe Merge pull request #7018 from guggero/remote-signing-release-notes
docs: update remote signing update hint to v0.15.3-beta [skip ci]
2022-10-11 11:13:16 +02:00
Oliver Gugger 43521633ce docs: update release notes 2022-10-11 09:56:04 +02:00
Oliver Gugger f02528f304 multi: bump Golang version to v1.19.2 2022-10-11 09:49:30 +02:00
Oliver Gugger 299152e631 docs: update remote signing update hint to v0.15.3-beta [skip ci]
This commit bumps the recommended version to upgrade to for remote
signing setups.
2022-10-11 09:42:43 +02:00
Oliver Gugger 079537514c Merge pull request #7012 from sputn1ck/sputn1ck_pgp_key
scripts: add sputn1ck  pgp key
2022-10-11 09:08:38 +02:00
Oliver Gugger ccbc578bd9 Merge pull request #7011 from ffranr/add_pgp_signing_key
scripts: add ffranr PGP signing key
2022-10-11 08:57:54 +02:00
Oliver Gugger 6ab6ba91bb Merge pull request #6969 from tongokongo/master
Clarification sample-lnd.conf
2022-10-07 15:09:50 +02:00
Oliver Gugger 2efc70a5c4 Merge pull request #6966 from guggero/remote-signer-fix
lncli+docs: fix and document remote signing setup upgrade to lnd v0.15.2-beta
2022-10-05 13:13:11 +02:00
Oliver Gugger c698b3acf2 Merge pull request #6970 from guggero/issue-template-chooser
GitHub: show issue triage page when submitting an issue
2022-10-04 09:33:57 +02:00
Oliver Gugger 9eaf0cb73f GitHub: add link to discussions [skip ci] 2022-10-03 18:41:36 +02:00
Oliver Gugger f5a3b735f6 GitHub: add template for feature requests 2022-10-03 18:41:36 +02:00
Oliver Gugger bd507c4c37 GitHub: move default template to bug_report.md, add config
With this commit we prepare for adding multiple issue templates to
GitHub that will be shown when the user clicks on the "New Issue" button
on GitHub.
The config.yml will also add a bunch of useful links to the page that
shows the different issue templates.
An example of how this template selection page looks like can be found
here: https://github.com/lightninglabs/lightning-terminal/issues/new/choose
2022-10-03 18:41:36 +02:00
Oliver Gugger abbf47fde8 docs: add release notes [skip ci] 2022-10-03 13:44:03 +02:00
Oliver Gugger fb9e9f57c5 docs: describe remote signing upgrade process
This commit adds a short guide that explains how a remote signing node
setup should be migrated from lnd v0.14.x-beta to lnd v0.15.x-beta and
adds a note to all 0.15.x release notes.
2022-10-03 13:33:31 +02:00