Commit Graph

13604 Commits

Author SHA1 Message Date
Oliver Gugger
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
Oliver Gugger
9d339f0fe2 Merge pull request #6680 from guggero/compute-input-script
Taproot: Fix p2tr support in `ComputeInputScript`
2022-06-30 10:11:11 +02:00
Olaoluwa Osuntokun
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
eugene
ff39f1e5ea release-notes: update for 0.15.1 2022-06-29 13:50:03 -04:00
eugene
a7f5b89cf3 itest: update switch delivery tests with more robust reconnect logic 2022-06-29 13:50:03 -04:00
eugene
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
Oliver Gugger
cac09098e1 docs: add release notes 2022-06-29 18:29:28 +02:00
Oliver Gugger
825ff22eec itest: add itest for p2tr via ComputeInputScript 2022-06-29 18:29:00 +02:00
Oliver Gugger
6ee4c533f4 itest: fix incorrect naming 2022-06-29 18:29:00 +02:00
Oliver Gugger
21f69192be itest: rename too specific variables 2022-06-29 18:29:00 +02:00
Oliver Gugger
7bd19d5cdf signer: fix comment about p2tr in ComputeInputScript 2022-06-29 18:28:59 +02:00
Oliver Gugger
b8f1541800 signrpc: fix p2tr support in ComputeInputScript 2022-06-29 18:28:59 +02:00
Olaoluwa Osuntokun
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
Olaoluwa Osuntokun
f1717ea421 Merge pull request #6676 from guggero/fix-release-reproducibility
Fix release reproducibility
2022-06-28 15:08:01 -07:00
Oliver Gugger
c51671ea85 Merge pull request #6682 from ErikEk/urfave-upgrade
dep: update urfave/cli package
2022-06-28 21:37:29 +02:00
Oliver Gugger
1ea8ea6c9e Merge pull request #6592 from priyanshiiit/walletreserve
lnrpc+lncli: adds required wallet reserve rpc & cli
2022-06-28 20:59:55 +02:00
ErikEk
300d81b977 dep: urfave/cli update 2022-06-28 20:44:50 +02:00
priyanshiiit
3110a6d4df docs: adds wallet reserve rpc & field in wallet balance 2022-06-28 23:34:14 +05:30
priyanshiiit
ec9cebea34 lntest: adds check for reserve 2022-06-28 23:31:51 +05:30
priyanshiiit
3befeadaf3 lnrpc+lncli: adds required reserve rpc & cli 2022-06-28 23:31:51 +05:30
priyanshiiit
8578433b3d lnrpc+lnd: adds required reserve in walletbalance rpc 2022-06-28 23:31:51 +05:30
priyanshiiit
150c0b5de8 lnwallet: adds RequiredReserve method 2022-06-28 23:31:51 +05:30
priyanshiiit
fce7fb43ba lnwallet: exports fields related to AnchorChans 2022-06-28 23:31:51 +05:30
Oliver Gugger
778c7287b0 Merge pull request #6673 from yyforyongyu/6661-data-race
channeldb: fix data race in TestSerializeHTLCEntries
2022-06-28 16:01:20 +02:00
yyforyongyu
0e12a91715 channeldb: fix data race in TestSerializeHTLCEntries 2022-06-28 21:28:04 +08:00
Carsten Otto
ffe8b088d3 peer: add pubkey to log messages 2022-06-27 21:04:03 +02:00
Oliver Gugger
b60c640cbe doc: add release notes 2022-06-27 18:30:10 +02:00
Oliver Gugger
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
Oliver Gugger
0df880139f Merge pull request #6321 from priyanshiiit/walletrpc
lnrpc+lnwallet: add previous_outpoints to listchaintxns
2022-06-27 18:15:32 +02:00
priyanshiiit
f6f48a307f docs: add previous outpoints to listchaintxns 2022-06-27 16:01:12 +05:30
priyanshiiit
f6d21d9b1b lntest: adds test for previous outpoints 2022-06-27 16:00:40 +05:30
priyanshiiit
983d917d4a lnrpc: add previous_outpoints to listchaintxns 2022-06-27 15:57:57 +05:30
priyanshiiit
61493a5f29 lnwallet: add previous_outpoints to ListTransactionDetails 2022-06-27 15:57:57 +05:30
Oliver Gugger
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
ErikEk
9ac2a01c54 doc: release note 2022-06-26 07:22:50 +02:00
ErikEk
26ba01a5cb doc: subscribe/cancel/lookup invoices rest 2022-06-26 07:15:27 +02:00
Olaoluwa Osuntokun
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
Olaoluwa Osuntokun
a121f305b6 Merge pull request #6576 from ellemouton/paymentAddrBuildRouteFlag
lncli: add payment-addr flag to buildroute
2022-06-24 15:44:35 -07:00
Olaoluwa Osuntokun
5c36d96c9c build: bump version to v0.15.0-beta v0.15.0-beta 2022-06-23 10:37:58 -07:00
Oliver Gugger
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
Tommy Volk
7829c8a00e release-notes: update for 0.15.0 2022-06-17 17:15:51 +00:00
Tommy Volk
9a10c80bcb multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
Oliver Gugger
daaeab1479 Merge pull request #6647 from guggero/empty-graph
bugfix: avoid panic with empty graph
2022-06-16 14:21:51 +02:00
Oliver Gugger
5aacc251de docs: add release notes 2022-06-16 10:13:33 +02:00
Oliver Gugger
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
Oliver Gugger
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
Oliver Gugger
c492f367cd lnrpc: fix comment and formatting in ConnectPeerRequest [skip ci]
Fixes #6643.
2022-06-14 22:09:51 +02:00
Oliver Gugger
06710604fe Merge pull request #6641 from priyanshiiit/invoice_params
lnrpc: improves invoice documentation
2022-06-14 17:11:28 +02:00
priyanshiiit
1e0a271ddb lnrpc: improves invoice documentation [skip ci] 2022-06-14 15:56:36 +05:30
Oliver Gugger
593962b788 Merge pull request #6635 from petertodd/2022-fix-missing-p2tr-help
Add p2tr to supported address help message
2022-06-13 09:53:49 +02:00