Commit Graph

13479 Commits

Author SHA1 Message Date
Oliver Gugger
f268786a87
docs: extract formatting rules 2022-07-06 13:33:02 +02:00
Oliver Gugger
2681c02afd
.editorconfig: add editor settings for most editors
This should automatically set the tab size to 8 spaces and add a visual
guide (ruler) at 80 characters in GoLand, GitHub and a few other
editors.
2022-07-06 13:33:02 +02:00
Oliver Gugger
d20140e393
.vscode: add editor settings for VS Code 2022-07-06 10:25:19 +02:00
Oliver Gugger
ed2a126541
Merge pull request #6698 from hieblmi/fix-batchopenchannel-help-text
Fix batchopenchannel help text
2022-07-05 21:05:55 +02:00
Oliver Gugger
341fde723b
Merge pull request #6636 from tvolk131/migrate_assert_to_require
Migrate assert.NoError to require.NoError
2022-07-05 19:16:41 +02:00
Tommy Volk
820e3c2422 gitrelease-notes: update release notes for 0.15.1 2022-07-05 16:41:08 +00:00
Tommy Volk
834756c53c multi: migrate assert.NoError to require.NoError 2022-07-05 16:41:08 +00:00
Oliver Gugger
4cb68e4de3
Merge pull request #6588 from C-Otto/peer-logging
peer: add pubkey to log messages
2022-07-05 09:36:26 +02:00
Slyghtning
abcd1dc4ed lncli: Fix batchopenchannel help text [skip ci] 2022-07-04 11:10:31 -04:00
Oliver Gugger
8970e309dc
Merge pull request #6438 from tvolk131/delete_failed_payments
Delete failed payment attempts for successfully settled payments
2022-07-04 10:27:34 +02:00
Tommy Volk
714f8a8142 gitrelease-notes: update release notes for 0.15.1 2022-07-03 21:04:34 +00:00
Tommy Volk
2dd11ed249 channeldb+routing: htlcs are pruned on settle 2022-07-03 21:04:34 +00:00
Tommy Volk
8291e8a170 multi: add keep-failed-payment-attempts flag 2022-07-03 21:04:27 +00:00
ErikEk
6146b8d644 trivial typo[skip ci] 2022-07-01 11:21:46 +02:00
Oliver Gugger
e6277986fd
Merge pull request #6685 from guggero/release-notes-fix
Release notes: Move 0.15.1 item, remove duplicate headings, fix formatting
2022-07-01 10:05:23 +02:00
Oliver Gugger
9656994c3b
docs: fix formatting and phrasing [skip ci] 2022-07-01 10:04:08 +02:00
Oliver Gugger
120fbc6758
docs: remove duplicate headings 2022-07-01 10:03:41 +02:00
Oliver Gugger
8e5ff6d1a6
docs: move 0.15.1 release notes item 2022-07-01 10:01:55 +02:00
Olaoluwa Osuntokun
98ab9e3057
Merge pull request #6642 from Crypt-iQ/linkstopidx
htlcswitch: add linkStopIndex to cleanly shutdown ChannelLink
2022-06-30 17:01:07 -07:00
Olaoluwa Osuntokun
7b56b67f34
Merge pull request #6546 from carlaKC/bolts-950-warningmessage
lnwire/peer: add ability to read + log peer warning messages
2022-06-30 16:56:20 -07:00
eugene
0cbf0e6208
release-notes: update for 0.15.1 2022-06-30 15:02:58 -04:00
eugene
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
Oliver Gugger
3af42eede9
Merge pull request #6687 from guggero/sign-psbt-np2wkh
walletrpc: Fix SignPsbt for NP2WKH inputs
2022-06-30 12:18:12 +02:00
Oliver Gugger
719fd584f9
docs: add release notes 2022-06-30 10:27:39 +02:00
Oliver Gugger
bb3cec6b12
itest: add test for FundPsbt->SignPsbt|FinalizePsbt flow 2022-06-30 10:27:39 +02:00
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