Commit Graph

737 Commits

Author SHA1 Message Date
Oliver Gugger
17014b592e
Merge pull request #6730 from Roasbeef/notifier-optional-block
chainntfns: add new option for conf notifications to send block
2022-08-10 13:52:49 +02:00
eugene
610e94b36f
release-notes: update for 0.15.1 2022-08-09 14:11:09 -04:00
Olaoluwa Osuntokun
012c0d96f5
Merge pull request #6740 from Crypt-iQ/walletsweep
sweep: account for all script types in craftSweepTx
2022-08-08 18:15:15 -07:00
Olaoluwa Osuntokun
e4b5aa94a3
Merge pull request #6770 from Roasbeef/co-op-close-with-more-spec-innit
lnwallet/chancloser: remove the commit fee clamp, introduce max fee
2022-08-08 18:14:22 -07:00
Olaoluwa Osuntokun
ec7be963f9
Merge pull request #6798 from Roasbeef/backend-must-taproot
chainreg: shutdown if backend node doesn't support taproot
2022-08-08 15:27:43 -07:00
eugene
3ca81e5441
release-notes: update for 0.15.1 2022-08-08 15:33:02 -04:00
positiveblue
b8bf884bcd
docs: Add release notes for feature bit fix (#6809) 2022-08-08 10:45:31 -07:00
bitromortac
d27c622568
config: allow independent rpccookie config
The bitcoind .cookie contains an autogenerated user (__cookie__) and
password (random string), which can be used instead of the rpc user name
and password. This commit allows for running against bitcoind without
having to access bitcoin.conf like in the case for pure
user/password/zmq configuration.
2022-08-08 12:14:32 +02:00
Olaoluwa Osuntokun
492f8b6999
chainreg: shutdown if backend node doesn't support taproot
In this commit, we add a check during normal node construction to see if
the backend node supports Taproot. If it doesn't, then we want to
shutdown and force the user to take note.

To check if the node supports Taproot, we'll first try the normal
getblockchaininfo call. If this works, cool, then we can rely on the
value. If it doesn't, then we'll fall back to the getdeploymentinfo call
which was added in a recent version of bitcoind [1]. Newer versions of
bitcoind might also have this call, and the getblockchaininfo call, but
not actually populate the softforks field [2]. In this case, we'll fall
back, and we also account for the case when the getblockchaininfo RPC is
removed all together.

[1]: https://github.com/bitcoin/bitcoin/pull/23508
[2]: https://github.com/bitcoin/bitcoin/pull/25114

Fixes #6773
2022-08-05 17:23:31 -07:00
Olaoluwa Osuntokun
115b041874
Merge pull request #6469 from yyforyongyu/5388-migration
channeldb: add optional migration to prune revocation logs
2022-08-04 17:15:08 -07:00
Olaoluwa Osuntokun
4df0a22409
docs/release-notes: add release notes for 0.16 2022-08-02 17:02:59 -07:00
Olaoluwa Osuntokun
046aa7fe4a
docs/release-notes: add entry for 0.15.1 2022-07-26 17:23:21 -07:00
Olaoluwa Osuntokun
fec8fd9c63
Merge pull request #6754 from ellemouton/ensureRpcRegistrationOrder
multi: synchronous rpc middleware registration
2022-07-26 19:05:30 -05:00
Elle Mouton
25acb51ba3
multi: registration complete MW interceptor msg
In this commit, we change the flow of the rpc middleware registration
a bit. In order to allow a client to add rpc middleware interceptors in
a deterministic order, we now make the server send a "registration
complete" message to the client after compeleting the registration
process so that the client knows when it can go ahead and register the
next client.
2022-07-20 14:58:47 -05:00
Matt Morehouse
f3c0dd1d05
doc: update release notes 2022-07-20 10:15:40 -05:00
Oliver Gugger
0ac421907a
Merge pull request #6739 from ellemouton/indexOutOfRange
rpcperms: re-init mw lookup map after removal of one
2022-07-19 16:59:45 +02:00
Elle Mouton
cc2fbd18b1
rpcperms: re-init mw lookup map after removal of one
After removing a registered middlware from the slice, we need to update
the index lookup map with the updated index for each middleware.
2022-07-15 14:25:54 +02:00
yyforyongyu
edf647222c
docs: add release note for skip_temp_err 2022-07-15 19:03:38 +08:00
Oliver Gugger
e6b25309bd
Merge pull request #6731 from guggero/linter-upgrade
tools: upgrade linter version to v1.46.2
2022-07-15 11:25:25 +02:00
Oliver Gugger
af97b8f877
Merge pull request #6722 from guggero/sign-schnorr-tweaked
signrpc: add Schnorr signatures to sign and verify message
2022-07-14 14:51:47 +02:00
Oliver Gugger
1e02d8910f
Merge pull request #6718 from hieblmi/chan-point-for-updatechanstatus
lncli: chan_point option for abandonchannel
2022-07-14 10:32:40 +02:00
ErikEk
98abaf266c
doc: release notes 2022-07-14 10:29:29 +02:00
Oliver Gugger
f649c6fd47
docs: update release notes 2022-07-14 09:36:50 +02:00
Oliver Gugger
b0d85c41a5
docs: add release notes 2022-07-14 09:33:50 +02:00
Olaoluwa Osuntokun
af47943f52
Merge pull request #6714 from guggero/remote-signer-fix
lnwallet: don't create BIP044 key scope by default
2022-07-13 17:17:56 -07:00
Slyghtning
2f5192012e lncli: chan_point option for abandonchannel [skip ci] 2022-07-13 10:20:55 -04:00
Elle Mouton
ae6161d847
lncli: add ignore_pair flag to queryroutes 2022-07-13 10:00:50 +02:00
yyforyongyu
d391514815
docs: add release note for optional migration 2022-07-12 21:01:15 +08:00
Oliver Gugger
d365babe25
docs: add release notes 2022-07-08 16:08:22 +02:00
Oliver Gugger
6980a18ab1
Merge pull request #6712 from Roasbeef/itest-keep-failed-payments
lntest: keep all failed payments by default for HarnessNode
2022-07-08 14:31:37 +02:00
Oliver Gugger
713c996d20
Merge pull request #6709 from ellemouton/guaranteeRPCInterceptorOrder
rpcperms: guarantee execution order of interceptors
2022-07-08 12:27:08 +02:00
Olaoluwa Osuntokun
2a18263336
lntest: keep all failed payments by default for HarnessNode
In this commit, we fix a detected flake: we go to make a payment, and
then want to assert that 2 attempts we required. The existing logic
assumes that the success and the payment will still be on disk. With a
recent PR, we now delete failed payments by default, but after the fact,
in a non-atomic fashion.

We fix this issue simply by having all the nodes keep around failed
payments for the sake of all the old itests that assumed this
information would always be on disk.

Introduced in: https://github.com/lightningnetwork/lnd/pull/6438.

Fixes https://github.com/lightningnetwork/lnd/issues/6711.
2022-07-07 19:28:30 -07:00
eugene
a87ff413c4
release-notes: update for 0.15.0 2022-07-07 17:10:31 -04:00
Elle Mouton
0d55deac63
rpcperms: enforce order of interceptors
In this commit, we let the registered middleware interceptors be stored
in a slice rather than a map so that the order in which the interceptors
are executed is guarenteed to be the same as the order in which they
were registered.
2022-07-07 17:16:42 +02:00
Olaoluwa Osuntokun
e073b1d343
macaroons: futher abstract NewService from root key store impl
In this commit, we modify the `macaroons.NewService` consturctor to
accept the main interface rather than the raw DB. This allows us to use
other backends other than bolt or the kvdb interface to store the
macaroon root keys.

We also create a new ExtendedRootKeyStore interface that implements some
of the more advanced features we use such as macaroon encryption and
password rotation.
2022-07-06 18:59:50 -07:00
Slyghtning
86f1bc7db0 lncli: chan_point option for updatechanstatus 2022-07-06 10:19:12 -04:00
Oliver Gugger
738241d5fa
Merge pull request #6681 from guggero/editor-helpers
Add settings files for most common editors
2022-07-06 13:35:28 +02:00
Oliver Gugger
b9d8c701eb
Merge pull request #6659 from ErikEk/trivial-typo
typo: trivial
2022-07-06 13:34:19 +02:00
Oliver Gugger
2b9787b43a
docs: add release notes 2022-07-06 13:33:02 +02:00
Tommy Volk
820e3c2422 gitrelease-notes: update release notes for 0.15.1 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
Tommy Volk
714f8a8142 gitrelease-notes: update release notes for 0.15.1 2022-07-03 21:04:34 +00:00
ErikEk
6146b8d644 trivial typo[skip ci] 2022-07-01 11:21:46 +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
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
9d339f0fe2
Merge pull request #6680 from guggero/compute-input-script
Taproot: Fix p2tr support in `ComputeInputScript`
2022-06-30 10:11:11 +02:00
eugene
ff39f1e5ea
release-notes: update for 0.15.1 2022-06-29 13:50:03 -04:00
Oliver Gugger
cac09098e1
docs: add release notes 2022-06-29 18:29:28 +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
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
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
priyanshiiit
f6f48a307f docs: add previous outpoints to listchaintxns 2022-06-27 16:01:12 +05:30
ErikEk
9ac2a01c54 doc: release note 2022-06-26 07:22:50 +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
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
Oliver Gugger
5aacc251de
docs: add release notes 2022-06-16 10:13:33 +02:00
Olaoluwa Osuntokun
c69138e00d
build: bump btcd, btcwallet and neutrino to latest versions 2022-06-08 11:40:50 -07:00
Olaoluwa Osuntokun
622c8402a0
Merge pull request #6611 from Roasbeef/psbt-validation-fix
lnrpc/walletrpc: reject PSBT packets w/o any UTXO input info
2022-06-02 14:44:59 -07:00
Olaoluwa Osuntokun
a46ffe4299
Merge pull request #6612 from Roasbeef/tor-bump
build: bump tor version to v1.0.1
2022-06-02 14:44:38 -07:00
Olaoluwa Osuntokun
2298ef81ab
lnrpc/walletrpc: reject PSBT packets w/o any UTXO input info
Fixes https://github.com/lightningnetwork/lnd/issues/6567
2022-06-02 13:05:58 -07:00
Olaoluwa Osuntokun
9b0718ae35
contractcourt: unify the lease specific HTLC sweeping logic
In this commit, we consolidate the _lease specific_ logic for the
success and timeout HTLC resolvers. We do this with the addition of a
new struct which is then composed via struct embedding with the two
existing structs. This fixes a flake in the integration tests by
ensuring the height is set up front, rather than eventually once the
height matches the lock time.
2022-06-01 16:42:33 -07:00
Olaoluwa Osuntokun
199f9d1139
Merge pull request #6600 from bhandras/invoiceregistry-deadlock
invoices: fix deadlock in the invoice registry
2022-06-01 14:59:55 -07:00
Olaoluwa Osuntokun
fb119446c1
build: bump tor version to v1.0.1 2022-06-01 13:54:56 -07:00
yyforyongyu
2b5d535208
channeldb: fix data race in TestSerializeRevocationLog
When testing serializing revocation log, we need to also copy its
`HTLCEntries` as the serialization of the HTLC involves a writing to the
`htlc.amtTlv` field.
2022-06-01 02:20:44 +08:00
Andras Banki-Horvath
699f9c0d23
docs: update release notes for 0.15.0 2022-05-31 17:36:44 +02:00
ziggie
fce74db153
docs: update release note 2022-05-25 15:40:00 +02:00
Elle Mouton
1adc940a3f
docs/release-notes: add note for 6576 2022-05-25 11:57:42 +02:00
Olaoluwa Osuntokun
e98a739130
Merge pull request #6518 from Crypt-iQ/dupestone
htlcswitch: remove synchronous link handoff, special-case keystone err
2022-05-23 16:51:19 -07:00
yyforyongyu
36b646496a
docs: update release note for migrations fix 2022-05-23 05:36:14 +08:00
yyforyongyu
dae8e430d3
docs: update release note re patched fields 2022-05-20 06:55:34 +08:00
eugene
759d74ee15
release-notes: update for 0.15.0 2022-05-17 11:27:11 -04:00
Carla Kirk-Cohen
4df0759ad5
docs: add 0.16 release notes and add warning logging PR 2022-05-16 15:19:19 -04:00
Oliver Gugger
04fb034259
Merge pull request #6535 from ErikEk/config-rpccookie-path
config: fix path to bitcoind/litecoind rpccookie and config
2022-05-16 16:06:04 +02:00
Oliver Gugger
6b57e92a37
Merge pull request #6529 from guggero/constrainmacaroon
lncli: add constrainmacaroon command
2022-05-16 15:57:52 +02:00
ErikEk
b6f56d3398 config: fix path to bitcoind.rpccookie and bitcoind.config 2022-05-16 13:55:16 +02:00
ErikEk
fbf00f6e26 config: cookie missing error fix 2022-05-16 10:48:53 +02:00
Oliver Gugger
8f94aac00a
docs: add release notes 2022-05-13 13:41:10 +02:00
Olaoluwa Osuntokun
7106ea59db
Merge pull request #6524 from guggero/aezeed-bump
aezeed+keychain: bump internal version of seed to 1
2022-05-12 16:35:49 -07:00
Oliver Gugger
5e411ac5f3
docs: add release notes 2022-05-12 12:49:15 +02:00
Oliver Gugger
5240fa9983
docs: add release notes 2022-05-12 10:28:14 +02:00
Olaoluwa Osuntokun
4949243d67
Merge pull request #6477 from Crypt-iQ/testmultihopflake
invoices: add client to map before delivering backlog notif
2022-05-11 16:45:36 -07:00
Olaoluwa Osuntokun
7e5b353498
Merge pull request #6415 from Crypt-iQ/inv_refactor
channeldb+invoices: refactor invoice logic when updating
2022-05-11 16:45:10 -07:00
eugene
fdfc5041a3
release-notes: update for 0.15 2022-05-11 13:58:11 -04:00
Oliver Gugger
8086ff447e
Merge pull request #6464 from kaloudis/mobile-build-subservers
Mobile builds: expose main sub-servers by default
2022-05-11 19:57:49 +02:00
eugene
3a5d2804bb
release-notes: update for 0.15.0 2022-05-11 13:55:11 -04:00
eugene
c9a6c80be9
release-notes: update for 0.15.0 2022-05-11 13:50:40 -04:00
Evan Kaloudis
e0d6b2d924
docs: update release notes 0.15.0 - PR #6464 2022-05-11 13:21:27 -04:00
Oliver Gugger
c2adb03e38
Merge pull request #6450 from guggero/taproot-psbt
taproot: add PSBT signing support for Taproot, fix remote signing Taproot support
2022-05-11 11:16:51 +02:00
Oliver Gugger
8dbf78fbb6
Merge pull request #6523 from Roasbeef/hop-hints-opt-in
cmd/lncli: make hop hint inclusion opt-in for addinvoice
2022-05-11 10:08:30 +02:00
Oliver Gugger
cc6e864639
docs: add release notes 2022-05-11 10:07:52 +02:00
Elle Mouton
a4bd3892d2
docs: update release notes 2022-05-11 09:02:13 +02:00
Olaoluwa Osuntokun
5e4d349ea6
cmd/lncli: make hop hint inclusion opt-in for addinvoice
Fixes #6484.
2022-05-10 17:56:57 -07:00
Oliver Gugger
066fe07de5
docs: add release notes 2022-05-10 20:35:28 +02:00
Oliver Gugger
10f7213998
Merge pull request #6472 from tvolk131/document_confirmation_height
Document that `confirmation_height` is unset
2022-05-09 10:55:31 +02:00
Tommy Volk
a99da35fb1 gitrelease-notes: update release notes for 0.15.0 2022-05-06 17:28:51 +00:00
Oliver Gugger
5d8fba6810
Merge pull request #6502 from bhandras/musig-fix
signer: fix crash in `MuSig2Combine` when the final signature isn't ready
2022-05-06 13:24:27 +02:00
Andras Banki-Horvath
bbe953d70d
docs: update release notes 0.15.0 2022-05-06 12:29:38 +02:00
Oliver Gugger
a4b486c58c
Merge pull request #6486 from sangaman/install-tags
docs/INSTALL.md: add list of build tags
2022-05-06 10:20:27 +02:00
Olaoluwa Osuntokun
8c3b9e7153
Merge pull request #6435 from ellemouton/ignoreUnknownAddressInNA
lnwire: ignore unknown addresses in NodeAnnouncement
2022-05-05 15:54:31 -07:00
Olaoluwa Osuntokun
0ec88b5346
Merge pull request #6347 from yyforyongyu/5388-rm-revc-log
lnwallet+channeldb: store minimal info in revocation log bucket
2022-05-05 15:52:59 -07:00
Daniel McNally
1b50c9ef96
add release-notes entry for #6486 2022-05-05 18:16:45 -04:00
Oliver Gugger
48695dd801
Merge pull request #6495 from guggero/musig2-session-cleanup
MuSig2: Add session cleanup RPC
2022-05-04 21:30:52 +02:00
Oliver Gugger
17e0f990ac
docs: add release notes 2022-05-04 19:23:59 +02:00
Elle Mouton
fa5d4195e0
docs/release-notes: update release notes 2022-05-04 11:06:46 +02:00
Olaoluwa Osuntokun
12b82d0156
Merge pull request #5652 from ErikEk/neutrino-sub-server
Neutrino sub-server
2022-05-03 16:01:24 -07:00
Olaoluwa Osuntokun
9ec26325b5
build: update to version of neutrino w/ BIP 155 support
Fixes #4973
2022-05-03 15:48:37 -07:00
Olaoluwa Osuntokun
54adc6996b
Merge pull request #6322 from Crypt-iQ/handoff_deadlock_fix
contractcourt: deadlock fix via temporary unmerged map
2022-05-03 15:12:20 -07:00
Oliver Gugger
05fd4f9e0e
Merge pull request #6463 from guggero/num-payments
ListPayments: add new optional count_total_payments flag
2022-05-03 16:23:58 +02:00
Oliver Gugger
cd21918c5d
Merge pull request #6483 from ErikEk/remove-zmq-check
zmq: remove port checker
2022-05-03 09:51:59 +02:00
ErikEk
30a857b982 zmq: remove port check error 2022-05-02 13:50:23 +02:00
Oliver Gugger
bf03d112a9
docs: add release notes 2022-05-02 12:32:07 +02:00
Oliver Gugger
63f02c2bd8
Merge pull request #6250 from Crypt-iQ/resolutionmsg_handoff
htlcswitch+lntest: create resolutionStore to persist ResolutionMsg
2022-05-02 10:17:05 +02:00
Torkel Rogstad
d6db386663
chainrpc: clarify documentation
Clarify the comment on RegisterConfirmationsNtfn. The output script
is in fact mandatory, not optional.
2022-04-30 10:44:34 +02:00
ErikEk
3e306f8409 doc: release notes 2022-04-30 08:55:55 +02:00
eugene
eeedb09e0f
release-notes: update for 0.15.0 2022-04-29 16:40:19 -04:00
Oliver Gugger
93e069f3bd
docs: add MuSig2 doc and release notes 2022-04-29 11:42:47 +02:00
eugene
caeb650e87
release-notes: update for 0.15.0 2022-04-26 12:52:49 -04:00
Joost Jager
caf11d2607
rpcserver: expose interceptor required flag on info call 2022-04-25 11:05:18 +02:00
Carl Dong
1c16f40a0d Add release-notes entry for #6064 2022-04-21 16:04:48 -04:00
Oliver Gugger
3d7d9361f8
Merge pull request #6422 from hieblmi/lncli-socks-proxy
#4939 Add socks proxy support to lncli
2022-04-20 18:58:09 +02:00
eugene
0f74c6b775
release-notes: update for 0.15.0 2022-04-19 17:24:21 -04:00
Orbital
565e94a8b3 Update release notes with peering config option 2022-04-19 12:40:00 -05:00
yyforyongyu
591dbb180b
docs: add release note for revocation log removal 2022-04-20 01:19:41 +08:00
Olaoluwa Osuntokun
3133154538
Merge pull request #6421 from yyforyongyu/tlv-compress
tlv: add new record type to encode `BigSize`
2022-04-19 10:12:05 -07:00
Oliver Gugger
3f757e56a7
docs: add release notes 2022-04-19 11:13:21 +02:00
Oliver Gugger
b6e1d2ae41
mod+docs: bump btcutil/psbt library to v1.1.3
Fixes #6386.
Bumps the btcutil/psbt library to the latest version v1.1.3 that fixes
an issue with de-serializing a PSBT that contains an unsigned
transaction with no inputs.
2022-04-19 09:45:38 +02:00
hieblmi
b1f6bc977e #4939 Add socks proxy support to lncli 2022-04-16 20:30:42 +02:00
yyforyongyu
4ddb5c586b
tlv: add MakeBigSizeRecord to save space
This commit adds a pair of encoder/decoder to take the advantage of the
BigSize format when encoding an uint64 and possibly an uint32.

Often the time an uint64 value is not big enough to fill all the 8
bytes, thus using BigSize can save extra bytes when save it to db. And
for uint32, if we know most of the values do not exceed 65536, we can
also save at least 1 byte using BigSize format.

This commit introduces `MakeBigSizeRecord` that can be used optionally
where db space is a concern.
2022-04-16 12:05:23 +08:00
Elle Mouton
c54cc6e841
multi: announce Keysend feature bit
In this commit, we add the keysend feature bit to our NodeAnnouncement
if the accept-keysend option is set.
2022-04-14 14:01:19 +02:00
Olaoluwa Osuntokun
d397e3e680
Merge pull request #6340 from Roasbeef/go-1-18
build: update to Go 1.18
2022-04-13 15:02:26 -07:00
Olaoluwa Osuntokun
440f4d982c
Merge pull request #5810 from bottlepay/payment-metadata
routing: send payment metadata
2022-04-13 15:01:56 -07:00
Olaoluwa Osuntokun
cd8a87c0da
Merge pull request #6219 from bottlepay/onchain-interceptor
contractcourt: onchain htlc interceptor
2022-04-13 14:58:29 -07:00
Joost Jager
9195f29e61
routing+channeldb: send payment metadata from invoice 2022-04-13 22:55:40 +02:00
Joost Jager
ba5abdc090
routing: add time_pref parameter to queryroutes and sendpayment 2022-04-13 20:26:46 +02:00
Oliver Gugger
f37ebb68ea
docs: add release notes 2022-04-13 14:01:59 +02:00
Joost Jager
721fb4ee88
contractcourt: add onchain interception 2022-04-13 11:31:33 +02:00
Olaoluwa Osuntokun
2fadc60ef2
docs/release-notes: add note entry for Go 1.18 2022-04-12 16:14:12 -07:00
Oliver Gugger
9281e7a692
docs: add release notes 2022-04-12 19:30:13 +02:00
Andras Banki-Horvath
70ac0070fa
docs: update release notes 0.15.0 2022-04-12 11:56:34 +02:00
Joost Jager
13dff2fb3e
htlcswitch: interceptor expiry check 2022-04-12 08:27:06 +02:00
Olaoluwa Osuntokun
2fd900b172
Merge pull request #5587 from positiveblue/5466-update-node-announcement-data
lnrpc: Add UpdateNodeAnnouncement endpoint
2022-04-11 22:32:12 -04:00
Olaoluwa Osuntokun
060fcafc19
docs/release-notes: add entry for SendToRoute legacy payload deprecation 2022-04-11 20:30:08 -04:00
positiveblue
fdfdd10e86
docs: add release notes 2022-04-02 19:10:28 -07:00
Oliver Gugger
0f858958f9
Merge pull request #6373 from hsjoberg/macos-makefile
mobile: Add macos and apple Makefile tasks
2022-04-01 12:35:57 +02:00
Oliver Gugger
359ef6a821
Merge pull request #6376 from ellemouton/useTCPResolverForAllInterfacesAddr
lncfg: normal TCP resolution for the all-interfaces IP
2022-03-31 14:46:38 +02:00
Oliver Gugger
de9d3096c0
docs: add release notes 2022-03-30 17:03:45 +02:00
Elle Mouton
c6e96c67ce
lncfg: normal TCP resolution for unspecified IPs
Use normal TCP resolution for any unspecified IP (0.0.0.0 or ::) instead
of using the Tor resolver.
2022-03-30 13:21:48 +02:00
Oliver Gugger
28a99fc2a2
docs: add release notes 2022-03-30 12:50:16 +02:00
Olaoluwa Osuntokun
f8174630d8
build: update to latest btcutil/psbt version
Updates a version of `btcutil/psbt` that has looser parsing requirements
to properly match the BIP.

Fixes: https://github.com/lightningnetwork/lnd/issues/6372
2022-03-29 20:10:54 -05:00
Hampus Sjöberg
cc21ae1502 Add info about macos and apple Makefile tasks to 0.15.0 release notes 2022-03-27 03:16:00 +04:00
Oliver Gugger
f500892681
docs: add release notes 2022-03-24 18:02:40 +01:00
Oliver Gugger
0dcaa511a2
Merge pull request #6341 from guggero/remote-signer-signoutputraw
remote signer: fix SignOutputRaw RPC for incomplete key info, fix healthcheck connection leak
2022-03-24 14:59:38 +01:00
Oliver Gugger
0f4e691d4d
docs: add release notes 2022-03-24 14:13:06 +01:00
Oliver Gugger
e77dd4e2fe
Merge pull request #6362 from liviu-ln/fix-forward-interceptor-tests
itest: fix node shutdown in interceptor itests
2022-03-24 10:39:41 +01:00
Liviu
b5036d08dd docs: update release notes 0.15.0 2022-03-23 22:15:13 -07:00
yyforyongyu
54ea71bd0a
docs: add release note for PendingCommitTicker 2022-03-24 10:02:00 +08:00
Olaoluwa Osuntokun
bd5e29ec83
Merge pull request #6359 from guggero/fix-rest-proxy-fallback
lnd: disable REST proxy HTTP method fallback
2022-03-23 16:28:41 -07:00
Oliver Gugger
ba99d22f3c
docs: update release notes 2022-03-23 17:46:58 +01:00
Andras Banki-Horvath
64ea883105
switch+test: fix race condition in unit test 2022-03-23 13:26:15 +01:00
Bjarne Magnussen
b4ba8c52fb
docs: update release notes 2022-03-23 11:32:37 +01:00
Olaoluwa Osuntokun
42ca9b171e
Merge pull request #6342 from bhandras/leader_election_ttl
cluster: configurable session TTL for the leader elector
2022-03-22 18:47:17 -07:00
Oliver Gugger
58a47845c1
docs: update release notes 2022-03-22 14:48:43 +01:00
Andras Banki-Horvath
31cb876301
docs: update release notes 0.15.0 2022-03-22 14:20:40 +01:00
Oliver Gugger
a14f1208d7
Merge pull request #6350 from guggero/tor-gomodule
mod: turn tor into its own submodule
2022-03-22 14:01:45 +01:00
Oliver Gugger
3ee8d25a29
docs: add release notes 2022-03-21 20:41:41 +01:00
Oliver Gugger
57840bba36
Merge pull request #6232 from bottlepay/require-interceptor
htlcswitch: add an always on mode to htlc interceptor
2022-03-19 10:47:22 +01:00
Olaoluwa Osuntokun
d16430792e
docs/release-notes: add entry for 3rd party anchor sweep fix 2022-03-17 16:36:54 -07:00
Joost Jager
ae314ec794
htlcswitch: add an always on mode to interceptable switch
Co-authored-by: Juan Pablo Civile <elementohb@gmail.com>
2022-03-17 17:39:37 +01:00
Oliver Gugger
d287884ff4
Merge pull request #6332 from bhandras/invoice_registry_deadlock
invoices: fix deadlock in invoice registry
2022-03-17 15:55:08 +01:00
Olaoluwa Osuntokun
f13399bc49
Merge pull request #6190 from ErikEk/listunspent-deafult-values
walletrpc: add default values to listunspent
2022-03-16 16:16:45 -07:00
eugene
d44d92e4dc
release-notes: update release notes for 0.15.0 2022-03-15 14:35:28 -04:00
Andras Banki-Horvath
95d8fd8007
docs: update release notes 0.15.0 2022-03-14 15:16:01 +01:00
Oliver Gugger
95c270d1f8
Merge pull request #6217 from liviu-ln/psbt-finalize-check
walletrpc: return an error when finalizing an already complete PSBT
2022-03-14 10:45:24 +01:00
yyforyongyu
74c44da315
docs: update release notes for sig length check 2022-03-11 12:31:51 +08:00
Oliver Gugger
e84c7fb71c
docs: add release notes 2022-03-09 19:05:44 +01:00
Oliver Gugger
8ee9fc837b
Merge pull request #6136 from bhandras/forall_etcd
etcd: add ForAll to speed up graph operations
2022-03-07 16:44:43 +01:00
Oliver Gugger
1d3d70b0ab
Merge pull request #6066 from bitromortac/2111-graph-diameter
autopilot+lnrpc: add graph diameter calculation to getnetworkinfo
2022-03-07 14:18:36 +01:00
bitromortac
52d56a8990
lnrpc+autopilot: add graph diameter calculation
* adds a brute force computation of the diameter
* adds a more efficient calculation of the diameter
2022-03-07 11:15:47 +01:00
Oliver Gugger
72aec1722b
Merge pull request #6300 from 3nprob/docker-custom-source
docker: add git_url build-arg
2022-03-05 11:42:41 +01:00
Olaoluwa Osuntokun
791411cdb8
Merge pull request #6237 from sangaman/lncli-state-desc
lncli: update `lncli state` description
2022-03-02 17:08:22 -08:00
Olaoluwa Osuntokun
8b18c6c69d
Merge pull request #6220 from Crypt-iQ/batch_ticker_clamp
config: clamp channel-commit-interval to reasonable time
2022-03-02 17:07:35 -08:00
Olaoluwa Osuntokun
a47da0a990
Merge pull request #6246 from Crypt-iQ/settle_pipeline_check
htlcswitch: only pipeline settle if add is locked-in
2022-03-02 17:07:14 -08:00
3np
7865384e85 docker: add git_url build-arg 2022-03-01 14:18:37 +01:00
Andras Banki-Horvath
d28c9000c5
docs: update release notes 0.15.0 2022-02-28 12:03:06 +01:00
eugene
0ebfdc488c
release-notes: update for 0.15.0 2022-02-25 12:07:17 -05:00
Olaoluwa Osuntokun
4d9a05c2f4
Merge pull request #6221 from Crypt-iQ/link_handoff
multi: reliable hand-off from htlcswitch to contractcourt
2022-02-24 17:01:36 -08:00
Olaoluwa Osuntokun
10fba3d859
Merge pull request #6214 from yyforyongyu/server-start-order
server: start htlcswitch early in the pipeline
2022-02-24 15:32:46 -08:00
eugene
cac933df62
release-notes: update for 0.15 2022-02-24 13:41:32 -05:00
eugene
ff4d037ff6
release-notes: update 0.15.0 notes 2022-02-24 13:36:13 -05:00
Oliver Gugger
d9b657ccb6
docs: update release notes 2022-02-21 13:49:30 +01:00
ErikEk
74db83bbfb walletrpc: add default values to listunspent 2022-02-17 10:05:16 +01:00
Olaoluwa Osuntokun
9a50cc95b7
Merge pull request #6224 from Roasbeef/prometheus-latency-histograms
monitoring+cfg: add new option to export gRPC perf metrics
2022-02-16 16:38:51 -08:00
Olaoluwa Osuntokun
1fd8a78537
docs/release-notes: add entry for gRPC perf flag 2022-02-16 16:20:38 -08:00
Oliver Gugger
eb366a64e6
docs: add release notes 2022-02-15 18:13:03 +01:00
yyforyongyu
72548ea463
server: start htlcSwitch before chainArb 2022-02-11 21:17:03 +08:00
Oliver Gugger
67eae60bcc
docs: add release notes 2022-02-10 11:04:54 +01:00
carla
46e048af31
docs: add pr to release notes 2022-02-07 09:07:10 +02:00
Daniel McNally
2b1bb3bce0
lncli: update lncli state description
This updates the description that is provided for `lncli state` to match
the states that are currently returned by lnd. `RPC_READY` no longer
exists and is replaced by `RPC_ACTIVE` with a revised description, and
`SERVER_ACTIVE` is added as the status that indicates lnd is fully
ready to accept RPC calls.

See `enum WalletState` in `stateservice.proto`.
2022-02-04 08:42:06 -05:00
Olaoluwa Osuntokun
80e304573c
lnwallet: increase legacy fee limit threshold to 1k sats
In this commit, we increase the legacy fee limit threshold (the amount
below which we'll allow 100% of funds to go to fees for the non-v2 RPC
calls) from 50 sats to 1k sats.
2022-02-03 11:54:01 -08:00
Oliver Gugger
84c8c18a9e
docs: update release notes 2022-02-02 17:29:55 +01:00
Joost Jager
e2b56f212f
htlcswitch: accept failure reason for intercepted htlcs 2022-02-01 17:18:59 +01:00
liviu-ln
78ee332f96
docs: update release notes 2022-01-30 22:33:39 -08:00
positiveblue
3c3bce3415
makefile: fail rpc-check after finding any changes
`rpc-check` is used in our CI pipeline to detect any difference
between the committed and the automatically generated rpc files.
Unfortunately, the current method only detects changes in the
already existing files and won't fail if `make rpc` generates
a totally new file.

`git status --porcelain` makes the trick, it returns a line for
each file that has been modified, created or deleted.
2022-01-29 11:23:24 -08:00
Oliver Gugger
b77c1fb200
Merge pull request #6149 from bhandras/graph_import_rpc
lnd: add `devrpc` sub server and `devrpc.ImportGraph` to import graph dumps
2022-01-28 10:24:59 +01:00
carla
c15d010ba2
docs: add release notes 2022-01-27 15:10:04 +02:00
Olaoluwa Osuntokun
a05b85686f
docs/release-notes: add roasbeef to 0.14.2 notes [skip-ci] 2022-01-26 14:18:29 -08:00
Oliver Gugger
cc1f91b4d3
docs: add release notes 2022-01-26 11:38:44 +01:00
Olaoluwa Osuntokun
8c66e59eaa
Merge pull request #6200 from Roasbeef/routing-fee-fix
lnrpc: fix the existing routing fee inaccuracy
2022-01-25 16:46:01 -08:00
Olaoluwa Osuntokun
40dd146358
docs/release-notes: add entry for fee rate bug fix and rpc change 2022-01-25 16:01:31 -08:00
ErikEk
ef1eff1058 lnrpc: fix the existing routing fee inaccuracy
When updating the channel routing policy, we encounter an inaccurate
precision error when calculating the routing fee. The issue stems from
the way the IEEE 754 standard works.

The solution here is to add a uint64 parameter (as mentioned in the
issue) and keep the float64 fee_rate parameter but rounding the product
of the base and fee rate.
2022-01-25 15:42:57 -08:00
eugene
64a51c1524 docs/release-notes: update notes for 0.14.2 2022-01-25 15:42:20 -05:00
Olaoluwa Osuntokun
234fdc6c9c
Merge pull request #6185 from sangaman/rpc-middleware-custom-caveat
rpcperms: set CustomCaveatCondition on middleware req
2022-01-24 15:45:49 -08:00
Andras Banki-Horvath
39ea802eb1
docs: update release notes 0.15.0 2022-01-24 17:43:01 +01:00
Daniel McNally
4a573b18cf
rpcperms: set CustomCaveatCondition on middleware req
This sets the `CustomCaveatCondition` value on rpc middleware requests
if one exists. Previously, this value was always blank even if the
macaroon had a value set for its custom caveat condition.
2022-01-24 11:39:07 -05:00
Andreas Schjønhaug
1f50320fe1 General improvements to mobile instructions
* Using <details> and <summary> tags in the INSTALL.md to collapse the various platforms for installing, making the rendered page shorter and easier to read.
* Simplyfying the instructions for creating LND mobile
* Fixed bug in checkout of latest tagged release
* Fixed bug in command for moving proto definitions to same folder as xcframework file
* Use Go 1.17.6 for building the Swift proto definitions
* Added link to LND Builder’s Guide
2022-01-22 09:23:48 +01:00
Olaoluwa Osuntokun
d67e6d5414
Merge pull request #6111 from bottlepay/cache-loading
kvdb+channeldb: speed up graph cache
2022-01-20 17:35:04 -08:00
Olaoluwa Osuntokun
408e40fd64
Merge pull request #6180 from bhandras/force-import-mc
routing: add option to force Mission Control pair history import
2022-01-20 17:04:00 -08:00
Andras Banki-Horvath
2dff5ba216
docs: update release notes 0.14.2 2022-01-20 18:20:44 +01:00
Oliver Gugger
6680d27d6f
Merge pull request #6184 from carlaKC/healthcheck-nochainbackend
server: disable chain health check if we're running without backend
2022-01-20 15:18:24 +01:00
carla
7241653561
docs: add release notes 2022-01-20 14:31:47 +02:00
Oliver Gugger
ddaba02558
Merge pull request #6178 from BTCparadigm/GitIgnore
Ignore .vs/ folder
2022-01-20 09:34:20 +01:00
Rafe
a88a3c1b6d
Update release-notes-0.15.0.md
Add .gitignore update.
Add myself as contributor.
2022-01-19 13:01:56 +02:00
Olaoluwa Osuntokun
3829385073
Merge pull request #6159 from Roasbeef/fix-historical-migration
contractcourt: catch error when no historical bucket exists
2022-01-18 15:52:23 -08:00
Olaoluwa Osuntokun
957a0a5138
docs/release-notes: add entry for historical chan bucket check 2022-01-18 09:11:21 -08:00
Oliver Gugger
431ef6c4c3
Merge pull request #6160 from guggero/docker-nightly-build
github: add schedule for nightly docker build
2022-01-18 13:11:14 +01:00
Oliver Gugger
264b3b00cd
github: add schedule for daily build 2022-01-18 12:46:27 +01:00
mads krogh
429ee6e28e docs/release-notes: add entry for private status in pendingchannels response 2022-01-18 09:42:14 +01:00
Oliver Gugger
f84825e441
Merge pull request #6152 from madskrogh/closechannel-with-point
lncli: closechannel chan_point flag
2022-01-17 10:29:46 +01:00
Joost Jager
352008a0c2
channeldb: speed up graph cache loading
Use the optimized ForEachChannel method to reduce the graph cache
loading time.
2022-01-14 14:57:29 +01:00
Olaoluwa Osuntokun
135f8a1455
docs/release-notes: add entry for peer defer fix 2022-01-13 15:01:23 -08:00
mads krogh
95a6e3b8e4 docs/release-notes: add entry for chan_point closechannel flag 2022-01-13 14:39:05 +01:00
Oliver Gugger
ed511bb37f
Merge pull request #6146 from yyforyongyu/add-closing-txid
rpcserver: add closing txid in PendingChannels' WaitingCloseChannel
2022-01-12 13:23:16 +01:00
Oliver Gugger
1795c1f686
docs: add release notes 2022-01-11 14:08:20 +01:00
Oliver Gugger
617be6f994
Merge pull request #6140 from bottlepay/fix-duplicate-close
htlcswitch: fix duplicate close
2022-01-11 11:08:30 +01:00
Joost Jager
7cd7cef6c6
htlcswitch: fix duplicate close
The decayed log database opening and closing is managed at a higher
level in config_builder.go.
2022-01-10 08:42:32 +01:00
Olaoluwa Osuntokun
fd63301dc5
Merge pull request #6006 from guggero/remote-signer-no-chain
Allow remote signer to run without chain backend
2022-01-07 17:37:16 -08:00
yyforyongyu
18388b676d
docs: add release note for closing txid 2022-01-07 18:21:05 +08:00