Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gugger d77617461d Merge pull request #8955 from yyforyongyu/cr-8516-240729-sendcoins
Allow selecting coins in `sendcoins`
2024-08-07 08:42:25 -06:00
Oliver Gugger b63e5decad Merge pull request #8886 from bitromortac/buildroute-inbound-fees
routing: inbound fees support for BuildRoute
2024-08-07 08:11:17 -06:00
Oliver Gugger 75ec6da177 Merge pull request #8979 from ProofOfKeags/refactor/useless-args
[NANO]: Remove useless appendages from lnwallet/channel.go
2024-08-07 01:37:56 -06:00
Oliver Gugger 9271b5ebbe Merge pull request #8984 from guggero/make-rpc
lnrpc: avoid needing to download Golang
2024-08-07 01:36:00 -06:00
Oliver Gugger 94b9b50a42 mod: update comment what to change on Go version bump 2024-08-07 09:16:37 +02:00
Oliver Gugger 63af63dfa8 lnrpc: avoid needing to download Golang
Because the Go version used to run the `go list` commands is below the
minimum version specified in the main go.mod file, every time the `make
rpc` command is executed, the Golang runtime is downloaded twice, which
looks like this and takes a couple of seconds at least:

go: downloading go1.21.4 (linux/amd64)
go: downloading go1.21.4 (linux/amd64)

We fix this by using the correct minimum version.
2024-08-06 18:38:10 +02:00
Oliver Gugger 7e1e054511 Merge pull request #8959 from guggero/bump-kvdb
mod: bump kvdb to v1.4.10
2024-08-05 03:18:17 -06:00
Oliver Gugger 11c7e20d0a Merge pull request #8953 from ProofOfKeags/refactor/lnwallet-channel-channel-constraints-partition
[MICRO]: multi: break ChannelConstraints into two sub-structures
2024-08-05 02:08:52 -06:00
Oliver Gugger 6e63dcd6f9 Merge pull request #8952 from ProofOfKeags/refactor/lnwallet-channel-typed-list
[MICRO]: lnwallet: refactor channel to use new typed List
2024-08-05 02:07:50 -06:00
Oliver Gugger 546c8ebb99 Merge pull request #8954 from ffranr/check-go-versions
Linter checks go versions in Dockerfile and YAML files
2024-08-05 02:01:00 -06:00
Oliver Gugger 2cc668838c mod: bump kvdb to v1.4.10
To support the new comma-separated list of etcd hosts in db.etcd.host,
we need to bump the `kvdb` submodule version.
This also fixes a leader election bug in the etcd code.
2024-08-05 09:33:42 +02:00
Oliver Gugger e0b8892290 mod: remove local replace for healthcheck 2024-08-05 09:32:52 +02:00
Oliver Gugger 05c786f775 mod: remove local replace for sqldb 2024-08-05 09:29:03 +02:00
Oliver Gugger 16d80f5b5b Merge pull request #8845 from bitbandi/multiple-etcd-host
Allow multiple etcd host
2024-07-31 08:55:48 -06:00
Oliver Gugger 72a36da9c6 Merge pull request #8950 from ProofOfKeags/refactor/lnwallet-channel-move-only
[NANO]: Move definitions into their own file
2024-07-31 06:53:19 -06:00
Oliver Gugger ac4ef28926 Merge pull request #8824 from Crypt-iQ/precise_dust_limit
multi: include commitment fees in dust calculation
2024-07-31 03:13:31 -06:00
Oliver Gugger 7f9fbbe7c4 Merge pull request #8941 from bitromortac/fee-limit-inbound
routing: fix fee limit condition
2024-07-30 10:09:33 -06:00
Oliver Gugger a1af505df4 Merge pull request #8948 from Filiprogrammer/docs-fix-leader-readiness-probe
docs: fix leader node readiness probe example
2024-07-30 08:54:54 -06:00
Oliver Gugger b7c59b36a7 Merge pull request #8896 from ziggie1984/batchopen-feerate-fix
Fix batchopen fee calculation
2024-07-26 05:52:48 -06:00
Oliver Gugger b40f165310 Merge pull request #8891 from yyforyongyu/fix-fee-estimator
chainfee: allow specifying min relay feerate from the API source
2024-07-25 11:40:18 -06:00
Oliver Gugger b10ebb2692 Merge pull request #8923 from yyforyongyu/fix-test-interface
chainntnfs+lntest: fix `TestInterfaces`
2024-07-24 05:57:07 -06:00
Oliver Gugger f27f9f2799 Merge pull request #8892 from lightningnetwork/yy-itest-miner
Beat [0/4]: improve itest miner
2024-07-23 12:12:36 -06:00
Oliver Gugger 0387a1edfb mod: bump fn to v1.2.0
This fixes the Coverage CI step by making sure the file system is in
sync with the files pulled in through a Go submodule.
2024-07-23 20:02:47 +02:00
Oliver Gugger 154a8af078 GitHub: update vendored release script
This fixes the problem where releases wouldn't be created anymore due to
the GitHub Action for creating the draft release being out of date.
2024-07-23 14:49:05 +02:00
Oliver Gugger 578e1d4965 Merge pull request #8881 from mwaite-codes/fix-doc-grammar
Fix various typos in docs for readability
2024-07-23 00:25:17 -06:00
Oliver Gugger fa9929cd43 Merge pull request #8925 from guggero/remove-coin-join
docs: update safety.md, remove specific CoinJoin implementations
2024-07-22 01:05:05 -06:00
Oliver Gugger 608c0c41b9 Merge pull request #8921 from guggero/wallet-update
btcwallet: bump dependency to fix duplicate address creation
2024-07-19 02:43:58 -06:00
Oliver Gugger 9d4ed6d6e6 docs: update release notes 2024-07-19 08:33:56 +02:00
Oliver Gugger 19a4b51a92 mod: bump btcwallet dependency 2024-07-19 08:33:56 +02:00
Oliver Gugger fdd28c8d88 Merge pull request #8915 from linghuying/master
chore: fix some comments for struct field
2024-07-16 08:40:33 -06:00
Oliver Gugger fae7e0c5b0 Merge pull request #8848 from ellemouton/graphManager
refactor: move graph responsibilities from routing.ChannelRouter to new graph.Builder
2024-07-16 00:54:00 -06:00
Oliver Gugger f2759dcb1a Merge pull request #8759 from largemouth/master
chore: fix some function names
2024-07-10 12:16:49 -06:00
Oliver Gugger a9655357ca Merge pull request #8855 from bhandras/invoice-expiry-migration
sqldb+invoices: fix incorrectly stored invoice expiries when using native SQL
2024-07-09 02:06:28 -06:00
Oliver Gugger c34c0426fa Merge pull request #8874 from ellemouton/assumeTLV2
routing: remove left over TLV feature bit checks
2024-06-27 01:34:54 -06:00
Oliver Gugger 3ceb7d5887 docs: update release notes 2024-06-26 14:30:28 -07:00
Oliver Gugger b300da8446 routing: assume TLV payloads everywhere
This commit removes another check for TLV payload support of the
destination node. We assume TLV payloads as the default everywhere else,
so we just remove two checks that were previously forgotten.
2024-06-26 14:28:51 -07:00
Oliver Gugger ce813276d5 Merge pull request #8862 from yyforyongyu/fix-publish-err
Fix an error string match between different `btcd` versions
2024-06-25 12:40:39 -06:00
Oliver Gugger fb416c2fa2 Merge pull request #8856 from AbelLykens/patch-1
[docs] Update go instructions
2024-06-22 02:15:42 -06:00
Oliver Gugger 390f0723d3 Merge pull request #8838 from yyforyongyu/update-pendingsweeps
cli: update `pendingsweeps` response
2024-06-20 07:13:00 -06:00
Oliver Gugger 931b3dc0c3 Merge pull request #8815 from yyforyongyu/fix-edge-policy
trivial: fix linter errors and return verbose errors
2024-06-10 12:48:59 -06:00
Oliver Gugger 3549d719ee Merge pull request #8823 from bhandras/fixup-sendpayment-amp
lncli: fix parsing of --amp when sending a payment
2024-06-10 10:23:45 -06:00
Oliver Gugger 98c52df4d2 Merge pull request #8813 from hieblmi/chaninfo-per-outpoint
Allow for a channel point in `GetChanInfo`
2024-06-06 14:47:31 +02:00
Oliver Gugger 0fadf97e72 Merge pull request #8808 from ProofOfKeags/fn/predicate-combinators
fn: add predicate combinators for && and ||
2024-06-05 14:03:19 +02:00
Oliver Gugger a832371d61 Merge pull request #8491 from davidgumberg/invoice_cltv_expiry
Expose `cltv_expiry` flag of `addinvoice` to cli
2024-06-04 13:59:50 +02:00
Oliver Gugger 14bed1d1e7 Merge pull request #8795 from guggero/itest-parallel
GitHub: increase itest parallelization to more tranches
2024-06-04 13:16:20 +02:00
Oliver Gugger a5c04bbd14 GitHub: increase itest parallelization to 16 tranches 2024-06-04 09:07:34 +02:00
Oliver Gugger a2266c6c73 Merge pull request #8802 from saubyk/suheb-pgp
scripts: add pgp key for suheb [skip ci]
2024-06-03 17:53:53 +02:00
Oliver Gugger d7714efc88 Merge pull request #8779 from bufo24/chore/allow-zero-fail-amt-import-mc
Allow 0 failure amt on importmc
2024-06-03 13:02:37 +02:00
Oliver Gugger 613bfc07fb Merge pull request #8798 from zoupingshi/master
chore: fix some comments
2024-05-31 18:03:54 +02:00
Oliver Gugger a02c6b6194 Merge pull request #8799 from ellemouton/release-notes-0.18.1
docs: add release notes template for 0.18.1
2024-05-31 17:19:05 +02:00
Oliver Gugger b137892ceb Merge pull request #8788 from ProofOfKeags/proofofkeags-pgp
scripts: add gpg key for proofofkeags [skip ci]
2024-05-29 20:55:17 +02:00
Oliver Gugger a8b679cd60 Merge pull request #8789 from guggero/fn-result
fn: add Result type
2024-05-29 09:55:52 +02:00
Oliver Gugger c95505db1e fn: add Result type
In this commit, we add a new result type, which is just Either[A, error]. This is useful as we can always pass around/accept a single value. We add an Unpack() method which is the most idiomatic way of handling errors in Go, as we revert back to (A, error) when necessary.
2024-05-29 09:39:39 +02:00
Oliver Gugger 68ea8d5312 Merge pull request #8750 from Chinwendu20/fnd
fn: Added `HasDuplicates` function to slice
2024-05-21 17:08:05 +02:00
Oliver Gugger 01e3ac61d8 Merge pull request #8631 from Chinwendu20/brontidetest
[code-health]: reduce duplication in brontide test.
2024-05-21 12:46:16 +02:00
Oliver Gugger 2a8ca878fd Merge pull request #8663 from Filiprogrammer/funding-manager-log-errors
funding: add absent error logs for failed inbound funding requests
2024-05-20 15:23:32 +02:00
Oliver Gugger 87d5170dec Merge pull request #8744 from orbitalturtle/custom-protocol-cfg
cfg: move experimental options to main protocol cfg
2024-05-17 08:45:34 +02:00
Oliver Gugger 3c4ebeb994 Merge pull request #8765 from hieblmi/fix-logging
routing: log edge when skipping it
2024-05-17 08:42:11 +02:00
Oliver Gugger 2845c6497a Merge pull request #8746 from Roasbeef/go-1-22-3
build: update release builds and CI to Go 1.22.3
2024-05-16 17:22:53 +02:00
Oliver Gugger 9d358bc649 Merge pull request #8748 from guggero/custom-tlv-types
tlv: generate TLV types for custom ranges
2024-05-14 09:02:32 +02:00
Oliver Gugger 454f56d4a8 tlv: generate TLV types for custom ranges 2024-05-14 08:16:42 +02:00
Oliver Gugger 4256260544 Merge pull request #8729 from Chinwendu20/fn
Add new  functions to the fn package
2024-05-10 11:17:46 +02:00
Oliver Gugger 4a9ab6e538 Merge pull request #8739 from ellemouton/addInstallAll
makefile+dev.Dockerfile: add install-all command
2024-05-08 16:26:46 +02:00
Oliver Gugger c68778d2f3 Merge pull request #7364 from guggero/itest-coverage
Add test coverage for integration tests
2024-05-07 21:05:35 +02:00
Oliver Gugger f523f52ab4 Merge pull request #8732 from ellemouton/guardNewTestSqliteDB
invoices: ensure synchronous access to NewTestSqliteDB
2024-05-07 08:40:56 +02:00
Oliver Gugger b4e4e9447a Merge pull request #8731 from yyforyongyu/fix-payinvoice
cli: add `--amp` to `SendPaymentRequest` in `payinvoice`
2024-05-06 11:20:07 +02:00
Oliver Gugger 90bff71db9 Merge pull request #8716 from yyforyongyu/temp-fix-height-race
sweep: make `TxPublisher.currentHeight` atomic
2024-05-02 17:19:33 +02:00
Oliver Gugger fb632bb945 Merge pull request #8712 from djkazic/invoice-gc-noop
invoices: if there are no invoices make gc noop
2024-05-01 08:31:56 +02:00
Oliver Gugger e8a1d4876e Merge pull request #8705 from yyforyongyu/fix-typo
lnrpc: fix typo
2024-04-30 12:11:25 +02:00
Oliver Gugger 6159d41970 docs: remove entry for fix within release
This commit removes an entry that was fixed in the same release as it
was introduced. So nobody should've been running into it yet.
2024-04-29 19:17:52 +02:00
Oliver Gugger 9dbf7e2133 docs: cleanup release notes
This commit removes a duplicate, fixes some typos and grammar issues and
removes an empty section/heading.
2024-04-29 19:17:52 +02:00
Oliver Gugger 3d56ffd0e4 Merge pull request #8662 from fuyangpengqi/master
chore: fix function names in comment
2024-04-29 15:10:20 +02:00
Oliver Gugger be6b9b4b47 docs: update contributor list from git log
This commit adds contributors that didn't add themselves to the release
notes by extracting their GitHub username (or, if available their
name and surname from GitHub) from the git log manually.
2024-04-29 13:45:51 +02:00
Oliver Gugger 0419074ab8 Merge pull request #8695 from bitromortac/linter-cache
make: add cache directory for linter
2024-04-29 11:14:06 +02:00
Oliver Gugger c6dae6c3c0 tlv: rename receivers, add ValOpt
ValOpt returns an Option of the underlying value.
2024-04-25 16:51:12 +02:00
Oliver Gugger 2089a88f4b Merge pull request #7765 from ErikEk/retire-io-ioutil-dep
Remove io/ioutil package dependency
2024-04-25 13:17:15 +02:00
Oliver Gugger dcd8e16376 Merge pull request #8685 from ziggie1984/fix-bumpfee-immediate
fix lncli bumpfee flag parsing
2024-04-25 10:17:05 +02:00
Oliver Gugger 7f5f8065ca Merge pull request #8672 from mohamedawnallah/makeDeleteAllPaymentsArgsRequired
rpcserver: Make sure the arguments are provided when calling `DeleteAllPayments` RPC
2024-04-25 10:02:59 +02:00
Oliver Gugger 8ce3622792 Merge pull request #8590 from ffranr/test-node-name-in-tmpdir
lntest: add test node name to tmp directory name
2024-04-24 20:06:04 +02:00
Oliver Gugger fe26005228 Merge pull request #8592 from zhiqiangxu/master
itest: fix ascii
2024-04-24 11:05:21 -06:00
Oliver Gugger 5cf700d611 Merge pull request #8658 from hidewrong/master
chore: fix struct names
2024-04-24 10:56:20 -06:00
Oliver Gugger acc595195c Merge pull request #8545 from ziggie1984/dont-use-sweeper-unconfirmed-utxos
dont use sweeper unconfirmed utxos
2024-04-24 08:29:06 -06:00
Oliver Gugger 39b7f1c4f4 GitHub: give tag to each cover job 2024-04-23 19:16:56 +02:00
Oliver Gugger 7468eb3416 GitHub: only run cover on some itests, send completion
We only want to run the coverage on some select tests, since we don't
want to make tests with slow backends even slower.
And because we use "parallel: true" when uploading the coverage results,
those will only be assembled once we send "parallel-finished: true"
using the goveralls action.
So we do that with a new "finish" job.
2024-04-23 19:16:56 +02:00
Oliver Gugger 8a5160e1de multi: add test coverage for integration tests 2024-04-23 19:15:33 +02:00
Oliver Gugger 7fb233326e Merge pull request #8674 from yyforyongyu/sweeper-remove-and-docs
sweep: add docs and remove dead code
2024-04-23 11:12:24 -06:00
Oliver Gugger 2b74a34301 Merge pull request #8678 from hieblmi/add-hieblmi-to-verify-install
Add hieblmi to verify install script
2024-04-23 06:16:43 -06:00
Oliver Gugger 73fd389e9a Merge pull request #8627 from feelancer21/inbound-fees-reject
lnrpc: rejects positive inbound fees by default
2024-04-22 01:56:02 -06:00
Oliver Gugger a201d5e365 Merge pull request #8661 from ProofOfKeags/feature/record-producer-axiom
tlv: add axiomatic RecordProducer implementation for Record
2024-04-22 01:42:06 -06:00
Oliver Gugger a42fc24220 docs: add release notes 2024-04-18 18:13:02 +02:00
Oliver Gugger f41d6087d1 mod: bump btcd to fix sendrawtransaction max fee issue 2024-04-18 17:44:04 +02:00
Oliver Gugger 817ddb807b GitHub+scripts: use bitcoind v27.0 2024-04-18 17:44:04 +02:00
Oliver Gugger 2ccf58e2af Merge pull request #8630 from guggero/addr-master-fingerprint
mod: bump btcwallet to latest version
2024-04-16 07:00:13 +00:00
Oliver Gugger f35ce0981d docs: update release notes 2024-04-12 08:34:56 +02:00
Oliver Gugger 333fc6eb1d mod: bump btcwallet to latest version
Fixes #8626.
This commit updates btcwallet to the latest version that correctly
includes the MasterKeyFingerprint for all generated addresses, including
change addresses derived from imported watch-only accounts.
2024-04-12 08:34:54 +02:00
Oliver Gugger 648fb22f63 multi: wrap all errors 2024-04-11 15:04:03 +02:00
Oliver Gugger 976f5d2760 Merge pull request #8603 from bhandras/sqldb-go-package
sqldb+invoices: turn sqldb into a go module
2024-04-10 08:51:00 +00:00
Oliver Gugger 971281deae Merge pull request #8576 from mohamedawnallah/check-outbound-peers-chain-backend
healthcheck: make sure chain backend has enough outbound peers
2024-04-10 07:39:16 +00:00
Oliver Gugger 6377f98536 Merge pull request #8615 from ProofOfKeags/bugfix/revert-compulsory-gossip-queries
Revert "feature: make gossip queries compulsory"
2024-04-05 06:57:39 +00:00
Oliver Gugger e509657fac Merge pull request #8620 from twofaktor/patch-1
[FIX] Small parenthesis error on v0.18 release notes
2024-04-04 10:21:19 +00:00