Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gugger e1259cd3c7 Merge pull request #8411 from guggero/make-help
Makefile: add `make help` command that describes goals
2024-01-22 03:59:41 -06:00
Oliver Gugger 35fa053144 Merge pull request #8413 from ellemouton/add-0-17-4-release-notes
docs: add template for 0.17.4
2024-01-22 03:58:16 -06:00
Oliver Gugger f35a3718ec Makefile: add make help command that describes goals
This commit adds a description to each make goal that is printed when
`make help` is run.
Idea borrowed from btcsuite/btcd#2107.
2024-01-22 10:31:48 +02:00
Oliver Gugger 2b83ea309a Merge pull request #8407 from mohamedawnallah/fix-typo-channel.go
fix: fix typo "(cltv_expiry" to "(cltv_expiry)" in `channeldb/channel.go` [skip ci]
2024-01-22 00:46:06 -06:00
Oliver Gugger cc18ec4f55 Merge pull request #8354 from mohamedawnallah/add-bitcoind-docker-image-compose-setup
docker: setup `bitcoind` docker image in the `docker-compose.yml` file
2024-01-22 00:43:26 -06:00
Oliver Gugger 24a79c78ed Merge pull request #8403 from ellemouton/towerInterfaceGotcha
config: pass tower manager pointer in to PopulateDependencies
2024-01-19 07:59:30 -06:00
Oliver Gugger c0e3ae6adc Merge pull request #8399 from yyforyongyu/add-signing-key
scripts: add gpg key for yyforyongyu [skip ci]
2024-01-19 07:15:25 -06:00
Oliver Gugger ba4021cad9 Merge pull request #8388 from morehouse/fix_fuzz_payload
htlcswitch: update fuzzPayload for route blinding
2024-01-18 09:31:22 -06:00
Oliver Gugger 4315e80e07 Merge pull request #8394 from cristiantroy/master
fix: typos [skip ci]
2024-01-18 08:52:10 -06:00
Oliver Gugger dda5c4515e Merge pull request #8279 from Crypt-iQ/p2tr_weight
sweep: use p2tr output as change weight
2024-01-18 02:11:35 -06:00
Oliver Gugger 76ae3e457b Merge pull request #8382 from ellemouton/bumpTlv
go.mod: update TLV package tag
2024-01-15 16:24:50 +01:00
Oliver Gugger a2986f96da Merge pull request #8373 from hieblmi/fix-funding-logs
funding: fix funding flow log
2024-01-15 09:24:50 +01:00
Oliver Gugger cc5fcb8135 Merge pull request #8375 from ProofOfKeags/chore/typo-fix
lnrpc: fix typo in rpc docs
2024-01-12 18:56:46 +01:00
Oliver Gugger 2ae6b586e3 Merge pull request #8361 from calvinrzachman/remote-signer-itest
lntest: standby test nodes in remote signing configuration
2024-01-11 16:57:08 +01:00
Oliver Gugger 9afe1b72dc Merge pull request #8188 from guggero/debug-rpcs
rpcserver+lncli: add ability to create encrypted debug information package
2024-01-09 16:28:03 +01:00
Oliver Gugger ad34f80c85 docs: add release notes 2024-01-09 12:43:44 +01:00
Oliver Gugger 0da35edc48 cmd/lncli: add flags for more info to encryptdebugpackage
This commit adds three optional command line flags to the
encryptdebugpackage: --peers, --onchain and --channels.
Each of them adds the output of extra commands to the encrypted debug
package.
2024-01-09 12:43:42 +01:00
Oliver Gugger d4f49cb04b cmd/lncli: add {encrypt,decrypt}debugpackage commands 2024-01-09 12:40:39 +01:00
Oliver Gugger b6abede4a3 lnencrypt: add ECDHEncryptor
With this commit we add a new way to encrypt and decrypt a sensitive
payload: By using Diffie-Hellman over a local and remote key to derive
at a shared secret key.
2024-01-09 12:32:38 +01:00
Oliver Gugger 375bc6950c cmd/lncli: add new getdebuginfo command 2024-01-09 12:32:37 +01:00
Oliver Gugger 8a2c3a3d85 lnrpc+rpcserver: add new GetDebugInfo RPC method 2024-01-09 12:32:37 +01:00
Oliver Gugger becbe7085d config: create helper for dumping config
With this commit we add a new helper function that recursively turns the
runtime configuration into a flat key/value map that is human-readable,
using the dot notation for nested values that is also used in the config
file or command line flags.
2024-01-09 12:32:01 +01:00
Oliver Gugger 2b54774721 Merge pull request #8339 from mani2310/mani2310-Wrong-documentation-on-lncli
Wrong documentation on lncli
2024-01-09 08:29:06 +01:00
Oliver Gugger 7cb53020ee Merge pull request #8346 from yyforyongyu/remove-error-return
routing+routerrpc: remove redudant error check
2024-01-08 17:41:32 +01:00
Oliver Gugger 8d0abc01c1 Merge pull request #8353 from mohamedawnallah/fix-typo-code-formatting-rules
docs: fix typo "paren" to "parenthesis" in `code_formatting_rules.md` [skip ci]
2024-01-08 15:51:32 +01:00
Oliver Gugger 708bd05df3 Merge pull request #8342 from guggero/js-doc-fix
docs: update Node.JS example
2024-01-04 10:57:39 +01:00
Oliver Gugger 0bf857d8e1 Merge pull request #8341 from threewebcode/patch-3
fix: remove duplicate words [skip ci]
2024-01-04 10:37:47 +01:00
Oliver Gugger 3a7e564582 docs: update Node.JS example
Fixes #8333 by not using the outdated `bytebuffer` library anymore.
2024-01-04 09:13:59 +01:00
Oliver Gugger 319a5dab5c Merge pull request #8325 from Thabokani/master
chore: fix typos [skip ci]
2024-01-04 09:01:58 +01:00
Oliver Gugger 82e2b4010b Merge pull request #8320 from threewebcode/patch-2
fix: correct the typo [skip ci]
2024-01-03 14:07:41 +01:00
Oliver Gugger 4d8fa349ca Merge pull request #8303 from AtomicInnovation321/master
docs: fix typos
2023-12-21 17:31:59 +01:00
Oliver Gugger 30348baedc Merge pull request #8296 from threewebcode/patch-1
fix: rectify the typos in the docs
2023-12-20 09:47:14 +01:00
Oliver Gugger 0df507eca0 Merge pull request #8261 from markettes/lncli-multiple-outgoing-channels
Enable multiple outgoing channel ids in payments
2023-12-18 11:38:46 +01:00
Oliver Gugger f2d48c328b Merge pull request #7800 from ziggie1984/neutrino-remove-sweeptx
neutrino remove sweeptx
2023-12-12 17:48:12 +01:00
Oliver Gugger 0ec9ac7070 Merge pull request #7654 from ErikEk/listchaintxns-add-txhash
rpc: add gettx command to walletrpc
2023-12-11 10:08:42 +01:00
Oliver Gugger ad88396a34 Merge pull request #8097 from markettes/fix-amount-field
Fix amount field
2023-12-04 12:19:07 +01:00
Oliver Gugger 27319315bb Merge pull request #8220 from yyforyongyu/enhance-logging-switch
multi: fix loopvar and enhance logging around channel reestablishment
2023-11-28 17:48:02 +01:00
Oliver Gugger 9ce543fb05 Merge pull request #8209 from vuittont60/master
docs: fix typos [skip ci]
2023-11-27 23:54:17 +01:00
Oliver Gugger db0b612734 Merge pull request #8224 from yyforyongyu/fix-musig2-session
input: fix `fatal error: concurrent map writes`
2023-11-27 23:40:53 +01:00
Oliver Gugger 3b7cda9e8d Merge pull request #8111 from jharveyb/chainkit_add_getblockheader
chainkit: expose getblockheader
2023-10-27 18:35:05 +02:00
Oliver Gugger 7d2e0ae3e4 Merge pull request #8116 from lightningnetwork/dependabot/go_modules/google.golang.org/grpc-1.56.3
build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3
2023-10-26 14:06:09 +02:00
Oliver Gugger e6fde8bd0c GitHub: bump pinned versions in CI check 2023-10-26 10:25:35 +02:00
Oliver Gugger 06020578c9 Merge pull request #8115 from lightningnetwork/dependabot/go_modules/kvdb/google.golang.org/grpc-1.56.3
build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /kvdb
2023-10-26 09:19:02 +02:00
Oliver Gugger ebbf078d6d Merge pull request #8014 from Roasbeef/go-loop-exp
build: prep for Go 1.22 by using GOEXPERIMENT=loopvar for tests
2023-10-25 15:36:52 +02:00
Oliver Gugger 15f4213793 Merge pull request #7828 from ProofOfKeags/pong-enforcement
multi: pong enforcement
2023-10-19 21:50:08 +02:00
Oliver Gugger e1fb1e484a Merge pull request #7967 from morehouse/fuzz_onion
htlcswitch: fuzz onion encoding/decoding
2023-10-19 15:30:03 +00:00
Oliver Gugger 812f4d9242 Merge pull request #8081 from bhandras/invoicedb-refactor
invoices: refactor `InvoiceDB` to eliminate `ScanInvoices`
2023-10-19 09:27:54 +00:00
Oliver Gugger 91d910872d Merge pull request #7715 from bshramin/http-client-timeout
lntest: set ReadHeaderTimeout for http client
2023-10-17 19:33:39 +00:00
Oliver Gugger 82838e4a62 Merge pull request #8090 from ziggie1984/add-additional-log-chan-closure
Add more information when a co-op close is failing.
2023-10-17 10:27:21 +00:00
Oliver Gugger b0bb853f77 Merge pull request #8092 from yyforyongyu/fix-peer-unit-test
multi: fix peer unit test and disable `paralleltest`
2023-10-17 10:18:27 +00:00
Oliver Gugger e8d865aba5 Merge pull request #7824 from yyforyongyu/sweeper-unit-test
input+sweep: make sure input with no fee rate is not added to cluster
2023-10-17 06:36:21 +00:00
Oliver Gugger a6f044b748 Merge pull request #8057 from Chinwendu20/tlv-bool
tlv: Added bool to primitive
2023-10-16 15:23:48 +00:00
Oliver Gugger d6c7200bb4 Merge pull request #8086 from lightningnetwork/dependabot/go_modules/tor/golang.org/x/net-0.17.0
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /tor
2023-10-16 11:00:19 +00:00
Oliver Gugger 55c5a33f6f Merge pull request #8087 from lightningnetwork/dependabot/go_modules/kvdb/golang.org/x/net-0.17.0
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /kvdb
2023-10-16 10:59:59 +00:00
Oliver Gugger abb1e3463f scripts: kill lnd on windows to access log files (#8076)
For some reason lnd doesn't properly shut down on some windows itests,
and the process still running makes it impossible to access its log
files.
So for the Windows integration test, we attempt to kill the whole
process tree once the process indicates it is done.
2023-10-10 16:15:41 +02:00
Oliver Gugger dce4bb16be Merge pull request #8063 from guggero/fix-linter
cmd/lncli: fix linter complaint by running make fmt
2023-10-06 13:14:17 +00:00
Oliver Gugger 7ef11e8ae4 cmd/lncli: fix linter complaint by running make fmt 2023-10-05 22:47:02 +02:00
Oliver Gugger 31ba616b1c Merge pull request #7925 from Crypt-iQ/funding_maturity
funding: wait for coinbase maturity before sending channel_ready
2023-10-05 15:26:30 +00:00
Oliver Gugger 563d6d5427 Merge pull request #7970 from bartoli/master
Fix missing space in message
2023-10-05 15:20:14 +00:00
Oliver Gugger 529dc203a5 Merge pull request #8017 from Rooke/master
trivial: Fix spelling errors
2023-10-05 08:42:08 +00:00
Oliver Gugger 3ffd59a8c9 Merge pull request #7998 from bota87/master
sample-lnd.conf: fix typo
2023-10-05 08:06:31 +00:00
Oliver Gugger 3b0d918ea4 GitHub: fix link in release template
Fixes #8055.
This PR fixes a broken link in the release page template.
2023-10-04 09:36:51 +02:00
Oliver Gugger d16e7a5eef itest: add itest for externally funded taproot chans 2023-09-26 21:45:17 +02:00
Oliver Gugger d94ae3f509 lnrpc+rpcserver: add musig2 to ChanPointShim 2023-09-26 21:45:17 +02:00
Oliver Gugger ebf98c6d51 chanacceptor: add simple taproot channels 2023-09-26 21:45:16 +02:00
Oliver Gugger 3821baa0c8 Merge pull request #8024 from Roasbeef/htlc-resolver-c-queue
contractcourt: modify the incoming contest resolver to use concurrent…
2023-09-26 16:03:10 +00:00
Oliver Gugger a1b0a7eb02 Merge pull request #8021 from petertodd/2023-09-fix-ots-name
Fix capitalization of OpenTimestamps in release notes
2023-09-21 10:56:46 +00:00
Oliver Gugger f7cb44382e Merge pull request #7944 from positiveblue/docker-build-img
multi: bump Go versions
2023-09-05 18:47:24 +00:00
Oliver Gugger 4d2481a0c3 Merge pull request #7957 from yyforyongyu/workspace-sync
gomod: sync versions for submodules
2023-09-05 13:05:35 +02:00
Oliver Gugger 73bf21e0f2 Merge pull request #7932 from guggero/psbt-funding-taproot-chans
psbt: fix channel funding address for simple taproot channels
2023-08-29 14:06:17 +02:00
Oliver Gugger 590dc0c3b3 itest: unify PSBT channel funding tests, add taproot
With this commit we unify three existing PSBT channel funding
integration tests into a single one with the goal of testing all three
cases with simple taproot channels as well.
2023-08-29 10:57:38 +02:00
Oliver Gugger 646444cdfe chanfunding: fix PSBT funding for taproot chans 2023-08-29 10:57:38 +02:00
Oliver Gugger c6fcceb35b Merge pull request #7909 from patrickReiis/master
itest: fix typo [skip ci]
2023-08-28 16:39:40 +02:00
Oliver Gugger e49f6fcdd3 Merge pull request #7648 from guggero/initial-forwarding-policy
funding: fix flake in itest caused by persistent fee param changes
2023-08-22 15:15:28 +02:00
Oliver Gugger d822d75f00 server+funding: remove previous link update mechanism
Because we now send the correct initial forwarding policy to Brontide,
the correct initial values are inserted into the link and we no longer
need to update the link in a later step.
2023-08-22 06:22:34 +08:00
Oliver Gugger fb36806724 peer: load initial forwarding policy from channel DB 2023-08-22 06:22:34 +08:00
Oliver Gugger 7ac445caaf funding: make sure initial policy is always set 2023-08-22 06:22:34 +08:00
Oliver Gugger d5c504c8de multi: use fwding policy from models pkg 2023-08-22 06:22:33 +08:00
Oliver Gugger 59b5fb1565 channeldb+funding: move policy encoding into channel DB 2023-08-22 06:22:33 +08:00
Oliver Gugger 36fcf65e97 funding+channeldb: rename fwding -> forwarding 2023-08-18 09:44:23 +02:00
Oliver Gugger eda34a8d2a channeldb: move fwding policy code to new file 2023-08-18 09:44:06 +02:00
Oliver Gugger 4770cb0aaf manager: also store initial time lock delta and HTLC settings
This will allow us to also set the TimeLockDelta and HTLC settings
when creating the channel. We leave the actual implementation of
the RPC and CLI changes to another PR, this is just to make
things more consistent.
2023-08-18 09:44:06 +02:00
Oliver Gugger 5b9aa63cec funding: extract defaultForwardingPolicy 2023-08-18 09:44:06 +02:00
Oliver Gugger 665179ece2 funding+server: don't use wallet DB for channel operations
Since the actual wallet backends might be different between the wallet
DB and the actual channel state DB, we pass in the correct struct to the
funding manager.
2023-08-18 09:44:05 +02:00
Oliver Gugger 4a03074fe8 Merge pull request #7894 from yyforyongyu/fix-lnwire-test-flake
trivial: fix unit test flake for `Ping` message
2023-08-18 09:42:59 +02:00
Oliver Gugger 4f9c09922a Merge pull request #7881 from guggero/bump-neutrino-lib
mod: bump neutrino dependency to v0.16.0
2023-08-17 17:57:34 +02:00
Oliver Gugger d1dd2b4d11 mod: bump neutrino dependency to v0.16.0 2023-08-17 10:09:43 +02:00
Oliver Gugger b565f4f536 Merge pull request #7880 from yyforyongyu/fix-channel-arb
trivial: fix loggings, variable names and conf notification order
2023-08-15 16:25:54 +02:00
Oliver Gugger 4ab2454880 Merge pull request #7879 from ziggie1984/remove-last-sweep-logic
Remove publishing last sweep tx logic during startup.
2023-08-15 16:21:43 +02:00
Oliver Gugger 55cc35c6ba Merge pull request #7870 from feelancer21/check-script-fix
scripts: Direct 'lnd --help' output to a file
2023-08-14 12:30:29 +02:00
Oliver Gugger 1f9736bafb Merge pull request #7888 from hieblmi/fix-updatechanpolicy-typos
typos: fix updatechanpolicy typos
2023-08-14 09:52:48 +02:00
Oliver Gugger 2734fc52e1 Merge pull request #7886 from guggero/release-notes-fix
release-notes: remove duplicate Misc section, fix formatting and punctuation
2023-08-14 09:40:11 +02:00
Oliver Gugger 1057422aba release-notes: fix formatting, punctuation 2023-08-11 11:27:27 +02:00
Oliver Gugger 00a4b8a837 release-notes: collapse duplicate Misc section 2023-08-11 08:50:49 +02:00
Oliver Gugger d930dcec40 Merge pull request #7819 from ziggie1984/abandonchannel-rebroadcaster
Cancel the Rebroadcasting of a Transaction when Abandoning a Channel
2023-08-10 10:43:24 +02:00
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