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
Oliver Gugger
b1175514f9
Merge pull request #8515 from mohamedawnallah/add-coin-selection-strategy-on-chain-rpc
...
coin select: add coin selection strategy option to all on-chain RPCs
2024-04-02 11:20:08 +00:00
Oliver Gugger
b331e73b67
Merge pull request #8609 from ziggie1984/master
...
lnd: fix sweepall argument call.
2024-04-02 11:04:37 +00:00
Oliver Gugger
b76f733a9e
Merge pull request #8587 from zhiqiangxu/add_nil_check
...
channeldb: check return value of ReadWriteBucket
2024-03-26 09:30:07 -06:00
Oliver Gugger
d3e5b2f799
Merge pull request #8584 from yyforyongyu/fix-unit-race
...
chainntnfs: fix race in `TestInterfaces`
2024-03-26 02:37:53 -06:00
Oliver Gugger
fa2b0ca833
Merge pull request #8577 from undefinedor/bugfix/fix-unreachable-code
...
kvdb+watchtower: fix unreachable code
2024-03-25 11:44:33 -06:00
Oliver Gugger
1422df27b2
Merge pull request #8521 from zhiqiangxu/typo
...
chore: fix typo
2024-03-22 01:34:57 -06:00
Oliver Gugger
15c7686830
Merge pull request #8554 from yyforyongyu/use-new-errors
...
lnwallet: use new errors returned from `rpcclient`
2024-03-21 01:42:57 -06:00
Oliver Gugger
9e59fb4563
Merge pull request #8572 from zhiqiangxu/fix_deprecated
...
lnwire: fix deprecated usage
2024-03-21 01:23:02 -06:00
Oliver Gugger
56c04172c0
Merge pull request #8570 from guggero/release-notes-fix
...
docs: remove merge artifact, polish
2024-03-20 09:56:38 -06:00
Oliver Gugger
23f5f3cde5
Merge pull request #8568 from bhandras/native-sql-ensure-empty-invoicedb
...
lnd: ensure that LND won't start in native SQL mode if it has any KV invoices
2024-03-20 05:34:08 -06:00
Oliver Gugger
ad9144ffa3
Merge pull request #8273 from guggero/bitcoind-26
...
GitHub: use bitcoind v26.0 for CI
2024-03-20 01:50:44 -06:00
Oliver Gugger
0c6cc8d0ae
Merge pull request #8550 from kornpow/kornpow/rescan-info-log
...
routerrpc: Add detailed info logging during a rescan
2024-03-20 01:46:18 -06:00
Oliver Gugger
38be396121
docs: remove merge artifact, polish
...
This commit removes a merge artifact introduced by a rebase of a
previous PR.
While we're at it, we streamline the grammar, formatting and general
look-and-feel of the release notes.
2024-03-20 08:41:27 +01:00
Oliver Gugger
4100646e59
Merge pull request #8569 from xiaoxianBoy/fix-typos
...
chore: fix typos [skip ci]
2024-03-20 01:40:48 -06:00
Oliver Gugger
ad88407b33
Merge pull request #7805 from ziggie1984/updatefee-limiter
...
Limit FeeRate change for the UpdateFee msg to prevent sharp changes
2024-03-19 14:50:07 -06:00
Oliver Gugger
8ef5933a43
Merge pull request #8566 from ellemouton/windowsTowerFail
...
itest: mine blocks on tower session assertion failure
2024-03-19 14:49:51 -06:00
Oliver Gugger
b1d3b9f678
Merge pull request #8567 from ellemouton/bumpSqliteToFixRace
...
go.mod+docs: bump sqlite version to fix data race
2024-03-19 09:29:47 -06:00
Oliver Gugger
f6656d1daa
Travis+GitHub: replace Travis CI with GitHub MacOS 14 build
2024-03-18 17:08:18 +01:00
Oliver Gugger
17b93db5cc
chainntnfs: fix race unit test issue
...
Because we pass in the same config into multiple notifiers, we sometimes
get a data race in the unit tests. By creating a copy of the config we
avoid that.
2024-03-18 17:08:17 +01:00
Oliver Gugger
ab422ba184
lntest: give chain backend more time to get ready
...
This is a commit to attempt to fix Travis which runs on ARM64.
2024-03-18 17:08:17 +01:00
Oliver Gugger
77a82309f5
docs: add release notes
2024-03-18 17:08:17 +01:00
Oliver Gugger
b1b32d9026
make: add nocache and verbose arguments
...
To make it easy to add "-test.v" and "-test.count=1" to the unit tests,
we add two new make flags.
2024-03-18 17:07:26 +01:00
Oliver Gugger
aa811c784a
lnwallet+routing: use chainntnfs.NewBitcoindBackend
...
Since we fixed a number of issues in chainntnfs.NewBitcoindBackend that
makes it compatible with bitcoind v26.0, we now want to use that
function in all our unit tests.
2024-03-18 16:13:40 +01:00
Oliver Gugger
d40312c36b
multi: move unit test backend funcs to new package
...
To avoid circular dependency issues between packages, we move the unit
test backend creation function to a new package in the lntest parent
package.
2024-03-18 16:13:39 +01:00
Oliver Gugger
c170a9830b
multi: use chainntnfs.NewMiner for miners in unit tests
...
With the chainntnfs.NewMiner now being optimized for not creating
nodes with colliding ports, we use it in all unit tests that spin up
temporary miners.
2024-03-18 16:13:39 +01:00
Oliver Gugger
2884389ce4
chainntnfs: fix issues with NewBitcoindBackend
...
This commit fixes a number of issues with our temporary bitcoind nodes
that we spin up for unit tests:
- We didn't remove the node's temporary data dir after tests finished.
- We used random ports which lead to unwanted port collisions.
- We used ipc:// unix sockets for ZMQ which currently isn't supported
in bitcoind v26.0 due to a regression. Since we can reliably create
new non-colliding ports now, we should use TCP for ZMQ anyway.
2024-03-18 16:13:39 +01:00
Oliver Gugger
2cc28baa84
chainntnfs: re-try miner connection more often
...
Make sure we wait for the initial connection long enough.
2024-03-18 16:13:39 +01:00
Oliver Gugger
9cd7285439
itest+lntest: use system wide unique ports everywhere
...
With this commit we create a new function that returns system wide
unique ports by using a single file to keep track of previously used
ports. We'll want to use this everywhere whenever we need to listen on a
new, random port during unit or integration tests.
Because we now have a unique source, we don't need to apply the port
offset that was used for the different tranches of parallel running
integration tests before.
2024-03-18 16:13:39 +01:00
Oliver Gugger
11ba14ab02
chainntnfs: add netParams arg to backend funcs
2024-03-18 16:13:39 +01:00
Oliver Gugger
b4449ab55f
GitHub: use bitcoind v26.0 for CI, remove default value
...
To make it less confusing what version of bitcoind is actually
installed, we now require the version to be specified as a command line
argument.
Because we tag the version in the docker image tag as bitcoin-core:XX
but the binary internally is located under /opt/bitcoin-XX.Y/, we
manually set Y to 0.
2024-03-18 16:13:38 +01:00
Oliver Gugger
b0552da007
Merge pull request #8558 from mohamedawnallah/fix-manpages-script-breaks-dockerfiles-bug
...
Fix: Manpages Script breaks Dockerfiles
2024-03-18 08:12:44 -06:00