Commit Graph

13305 Commits

Author SHA1 Message Date
0cbf0e6208 release-notes: update for 0.15.1 2022-06-30 15:02:58 -04:00
407184ac51 htlcswitch: add linkStopIndex to cleanly shutdown ChannelLink
With this, extra calls to RemoveLink will wait for the link to
fully stop. This is accomplished by a map that stores a single stop
channel that callers to RemoveLink will listen on. This map is not
consulted when the Switch is shutting down and calls Stop on each
individual link. Though that could be added in the future, it is
not necessary.
2022-06-30 15:02:57 -04:00
3af42eede9 Merge pull request #6687 from guggero/sign-psbt-np2wkh
walletrpc: Fix SignPsbt for NP2WKH inputs
2022-06-30 12:18:12 +02:00
719fd584f9 docs: add release notes 2022-06-30 10:27:39 +02:00
bb3cec6b12 itest: add test for FundPsbt->SignPsbt|FinalizePsbt flow 2022-06-30 10:27:39 +02:00
63ec849605 lnwallet: fix bug in SignPsbt with np2wkh addresses
Fixes #6626.
If either of the two fields FinalScriptSig or FinalScriptWitness is set
on an input of a PSBT then that results in most of the fields of that
input not to be serialized in the packet anymore, since the input is
considered to be complete.
But because a signer isn't supposed to set any of the Final* fields,
this was wrong from the beginning. Only the finalizer will set those
fields.
2022-06-30 10:27:39 +02:00
9d339f0fe2 Merge pull request #6680 from guggero/compute-input-script
Taproot: Fix p2tr support in `ComputeInputScript`
2022-06-30 10:11:11 +02:00
b96203a0eb Merge pull request #6655 from Crypt-iQ/disconnectpeerfix
server.go: replace call to removePeer with Disconnect in DisconnectPeer
2022-06-29 18:40:45 -07:00
ff39f1e5ea release-notes: update for 0.15.1 2022-06-29 13:50:03 -04:00
a7f5b89cf3 itest: update switch delivery tests with more robust reconnect logic 2022-06-29 13:50:03 -04:00
f7681cb51d server.go: replace call to removePeer with Disconnect in DisconnectPeer
Without this, calls to DisconnectPeer would bypass the
peerTerminationWatcher and allow subsequent connect requests to
go through before the peer's links were fully shut down. This could
lead to force closes.
2022-06-29 13:50:00 -04:00
cac09098e1 docs: add release notes 2022-06-29 18:29:28 +02:00
825ff22eec itest: add itest for p2tr via ComputeInputScript 2022-06-29 18:29:00 +02:00
6ee4c533f4 itest: fix incorrect naming 2022-06-29 18:29:00 +02:00
21f69192be itest: rename too specific variables 2022-06-29 18:29:00 +02:00
7bd19d5cdf signer: fix comment about p2tr in ComputeInputScript 2022-06-29 18:28:59 +02:00
b8f1541800 signrpc: fix p2tr support in ComputeInputScript 2022-06-29 18:28:59 +02:00
3759b0f1ee Merge pull request #6577 from ziggie1984/hop-hints-opt-in-addholdinvoice
Hop hints opt in addholdinvoice
2022-06-28 15:38:48 -07:00
f1717ea421 Merge pull request #6676 from guggero/fix-release-reproducibility
Fix release reproducibility
2022-06-28 15:08:01 -07:00
c51671ea85 Merge pull request #6682 from ErikEk/urfave-upgrade
dep: update urfave/cli package
2022-06-28 21:37:29 +02:00
1ea8ea6c9e Merge pull request #6592 from priyanshiiit/walletreserve
lnrpc+lncli: adds required wallet reserve rpc & cli
2022-06-28 20:59:55 +02:00
300d81b977 dep: urfave/cli update 2022-06-28 20:44:50 +02:00
3110a6d4df docs: adds wallet reserve rpc & field in wallet balance 2022-06-28 23:34:14 +05:30
ec9cebea34 lntest: adds check for reserve 2022-06-28 23:31:51 +05:30
3befeadaf3 lnrpc+lncli: adds required reserve rpc & cli 2022-06-28 23:31:51 +05:30
8578433b3d lnrpc+lnd: adds required reserve in walletbalance rpc 2022-06-28 23:31:51 +05:30
150c0b5de8 lnwallet: adds RequiredReserve method 2022-06-28 23:31:51 +05:30
fce7fb43ba lnwallet: exports fields related to AnchorChans 2022-06-28 23:31:51 +05:30
778c7287b0 Merge pull request #6673 from yyforyongyu/6661-data-race
channeldb: fix data race in TestSerializeHTLCEntries
2022-06-28 16:01:20 +02:00
0e12a91715 channeldb: fix data race in TestSerializeHTLCEntries 2022-06-28 21:28:04 +08:00
b60c640cbe doc: add release notes 2022-06-27 18:30:10 +02:00
64b3c97b9f .gitignore: add release build directory to ignore list
Fixes #6672.
A new metadata tag called build.vcs.modified was added in Go 1.18.x that
indicates whether there were any untracked files present during the
build or not.
Because the `make release` command creates a directory in which the
output packages are created, and because that directory was not added
to git and also not ignored by it, the build.vcs.modified flag was
different to the docker build which resulted in a different digest of
the resulting binary.
2022-06-27 18:29:50 +02:00
0df880139f Merge pull request #6321 from priyanshiiit/walletrpc
lnrpc+lnwallet: add previous_outpoints to listchaintxns
2022-06-27 18:15:32 +02:00
f6f48a307f docs: add previous outpoints to listchaintxns 2022-06-27 16:01:12 +05:30
f6d21d9b1b lntest: adds test for previous outpoints 2022-06-27 16:00:40 +05:30
983d917d4a lnrpc: add previous_outpoints to listchaintxns 2022-06-27 15:57:57 +05:30
61493a5f29 lnwallet: add previous_outpoints to ListTransactionDetails 2022-06-27 15:57:57 +05:30
a00964febb Merge pull request #6559 from ErikEk/doc-subscribe-invoice-rest
doc: subscribe/cancel/lookup invoices rest
2022-06-27 12:12:13 +02:00
9ac2a01c54 doc: release note 2022-06-26 07:22:50 +02:00
26ba01a5cb doc: subscribe/cancel/lookup invoices rest 2022-06-26 07:15:27 +02:00
9988d392eb docs/release-notes: create release notes for 0.15.1
This commit also fixes the release notes of a recent PR that didn't
quite make it into 0.15: the entry should  now be in the 0.15.1 release
notes.
2022-06-24 15:47:35 -07:00
a121f305b6 Merge pull request #6576 from ellemouton/paymentAddrBuildRouteFlag
lncli: add payment-addr flag to buildroute
2022-06-24 15:44:35 -07:00
5c36d96c9c build: bump version to v0.15.0-beta v0.15.0-beta 2022-06-23 10:37:58 -07:00
8451d6155f Merge pull request #6504 from tvolk131/fatalf_to_require
Move simple t.Fatalf test assertions to require.NoError
2022-06-17 19:52:07 +02:00
7829c8a00e release-notes: update for 0.15.0 2022-06-17 17:15:51 +00:00
9a10c80bcb multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
daaeab1479 Merge pull request #6647 from guggero/empty-graph
bugfix: avoid panic with empty graph
2022-06-16 14:21:51 +02:00
5aacc251de docs: add release notes 2022-06-16 10:13:33 +02:00
ed40eddafd autopilot: return early for empty graph
This fixes an issue where the diameter calculation would crash if the
graph is empty.
2022-06-16 10:10:27 +02:00
9e6f0ef46b Merge pull request #6644 from guggero/connect-peer-request-comment
lnrpc: fix comment and formatting in ConnectPeerRequest [skip ci]
2022-06-15 09:57:34 +02:00