Commit Graph

168 Commits

Author SHA1 Message Date
Olaoluwa Osuntokun
4487acc5d9 docs/release-notes: add tor hybrid mode, fix mark down headers 2021-08-22 14:08:20 -05:00
Oliver Gugger
951e2164fd
Merge pull request #5536 from Kixunil/systemd-notify
Implemented systemd notify
2021-08-20 19:19:34 +02:00
de6df1re
6348da1587 docs: update release note 2021-08-20 10:09:35 -05:00
Martin Habovstiak
4bcb32753f lnd+signal: implement systemd notify
This adds support for notifying systemd about the state of LND. It
notifies systemd just before waiting for wallet password or, if
`wallet-password-file` was specified, right after unlocking the wallet.

This means that "ready" represents RPC being available for intended use.
It's intentional, so that client services can use `After=` in `systemd`
configuration to avoid misleading error messages about missing files or
refused connections.

Part of #4470
2021-08-20 13:26:48 +02:00
yyforyongyu
ba116f7ff1
docs: update release note 2021-08-19 19:35:28 +08:00
Olaoluwa Osuntokun
52767a7567
Merge pull request #5591 from Crypt-iQ/rest_sendpayment_fix_07302021
rpcserver: validate FinalCltvDelta and CltvLimit for REST
2021-08-16 17:01:31 -07:00
Olaoluwa Osuntokun
f6e9f01859
Merge pull request #5442 from bottlepay/zero-output-psbt
walletrpc+lncli: allow zero output psbt funding
2021-08-16 16:50:52 -07:00
Joost Jager
925229f9df
walletrpc+lncli: allow zero output psbt funding
To support the cpfp fee bump use case where no external outputs are
required.
2021-08-16 08:41:50 +02:00
Joost Jager
09386213be
htlcswitch: log link message with channel point
In lnd, log messages about channels are generally logged with a
reference to their channel point rather than the short channel id.
Channel point is reorg-resistant and also easier to look up in for
example a block explorer.

In the link however, all log messages are accompanied by short channel
id. This makes it difficult to grep a log for all channel activity. The
PEER message for example which are often crucial to analyse, are logged
with channel points.

This commit modifies the link logging to also use channel points.
2021-08-16 08:24:35 +02:00
eugene
c3ac95abbd
docs: update release notes for 0.14 2021-08-11 16:59:16 -04:00
eugene
cbbad3a674
docs: update release notes for 0.14 2021-08-11 15:37:53 -04:00
Oliver Gugger
dee9b9a9b1
Merge pull request #5603 from Crypt-iQ/peer_switch_refactor_08022021
htlcswitch+peer: introduce packetHandler, ChannelUpdateHandler interfaces for cleaner separation
2021-08-11 09:31:02 +02:00
yyforyongyu
6d7fef7742
docs: update release note 2021-08-11 12:45:14 +08:00
Olaoluwa Osuntokun
be341bcd68
Merge pull request #5528 from guggero/keep-channel-backup-local-force-close
backups: Keep channel backup in case of local force close
2021-08-10 19:31:59 -07:00
Olaoluwa Osuntokun
b0e9442ba5
Merge pull request #4884 from yyforyongyu/3004-buffer-pool
lnwire: fix heap escapes to reduce gc pressure
2021-08-10 19:13:08 -07:00
Olaoluwa Osuntokun
f33752da3b
docs/release-notes: mention change to contribution guidelines 2021-08-10 15:56:26 -07:00
eugene
db4a488e23
docs: update 0.14 release notes 2021-08-10 17:15:52 -04:00
András Bánki-Horváth
23c3597d13
Merge pull request #5607 from bhandras/payments_test_flake_fix
itests: payments test flake fix
2021-08-10 09:15:56 +02:00
yyforyongyu
a0e958f96f
docs: add release notes for lnwire gc 2021-08-10 05:54:45 +08:00
Oliver Gugger
527c6f06e2
docs: add release notes 2021-08-09 16:06:56 +02:00
Olaoluwa Osuntokun
90db8de6fe
Merge pull request #5460 from ErikEk/lncli-add-command-for-publishtransaction
lncli: add command for publishtransaction
2021-08-06 14:42:49 -07:00
Andras Banki-Horvath
ccd890b098
docs: update release notes 2021-08-06 17:37:40 +02:00
Andras Banki-Horvath
e243be1ba2
docs: update 0.14.0 release notes 2021-08-06 07:53:14 +02:00
Olaoluwa Osuntokun
407ee84838
Merge pull request #5554 from Roasbeef/sendpayment-amp-reuse-fix
cmd/lncli: always parse the pay_addr field for sendpayment
2021-08-05 13:39:48 -07:00
Oliver Gugger
ec587b7253
docs: add release notes 2021-08-05 16:11:48 +02:00
Oliver Gugger
ea8c0abaaf
Merge pull request #5601 from guggero/falafel-js-stubs
lnrpc: add JSON stubs for interacting with lnrpc from a WASM context
2021-08-05 09:37:25 +02:00
Olaoluwa Osuntokun
9505402ec2
docs/release-notes: add item for easy AMP CLI re-use 2021-08-04 19:17:57 -07:00
Olaoluwa Osuntokun
57d70ee9ce
docs/release-notes: add item for sendpayment pay_addr bug fix 2021-08-04 19:17:51 -07:00
Olaoluwa Osuntokun
98b29a6967
docs/release-notes: update release notes for signet DNS fix 2021-08-04 18:31:41 -07:00
Oliver Gugger
9e1bb7e8e2
docs: add release notes for 0.14.0 2021-08-04 14:55:57 +02:00
Oliver Gugger
702f0d7ced
lnrpc: generate JSON/WASM client stubs 2021-08-03 13:44:36 +02:00
ErikEk
ace615b6e8 lncli: add lncli command for publishtransaction 2021-08-03 04:45:28 +02:00
xanoni
f5747c20ef lnwallet/wallet.go: clarify anchor chan error str
Improve 'ErrReservedValueInvalidated' error string to explain that the
error is triggered by a transaction that would deplete funds reserved for
potential future anchor channel closings (via CPFP)

Add hint that further details can be found in the debug log

Update strings in 'lntest/itest/log_error_whitelist.txt' correspondingly
2021-08-02 05:38:09 -04:00
ErikEk
c8fc9b0a85 trivial: missing dots 2021-08-01 02:35:14 +02:00
Oliver Gugger
3d9d985fdf
make: disable itest error whitelist check
Since we don't really do anything with the errors we check in the itest
error whitelist but get a lot of failed Travis runs because of it, we
disable the check for the moment.
2021-07-30 10:18:43 +02:00
yyforyongyu
3005207167
docs: update release notes for #5573 2021-07-30 12:06:30 +08:00
Oliver Gugger
a35031ca2e
healthcheck: fix missing import 2021-07-28 11:01:27 +02:00
Oliver Gugger
4a6b1f7c82
Merge pull request #5534 from Kixunil/admin-macaroon-group-read
Allow group reading admin macaroon
2021-07-27 18:16:21 +02:00
Oliver Gugger
c3962528e2
Merge pull request #5473 from guggero/grpc-gateway-update
maintenance: update etcd and grpc-gateway libraries, rename rpc.proto to lightning.proto
2021-07-27 16:11:48 +02:00
Andras Banki-Horvath
7da0b80674
docs: update 0.14 release notes 2021-07-27 13:57:09 +02:00
Oliver Gugger
64360c0e34
docs: add release notes 2021-07-27 13:10:00 +02:00
Oliver Gugger
fa26657950
mod: upgrade miekg/dns library to fix dependabot alert
We're using an old and potentially vulnerable version of the DNS
resolution library. This commit bumps the library to the latest
recommended version.
2021-07-27 09:41:00 +02:00
András Bánki-Horváth
5de6af798d
Merge pull request #5515 from bhandras/mc_store_optimization
routing: store missioncontrol state in blocks and eliminate cursor use
2021-07-26 23:36:51 +02:00
Andras Banki-Horvath
cfa3f708f1
docs: update release notes 2021-07-26 17:02:14 +02:00
Oliver Gugger
a427451b75
Merge pull request #5553 from Kixunil/patch-3
Remove warning about pruned nodes
2021-07-23 15:43:31 +02:00
Martin Habovštiak
410b30b9ca docs: remove warning about pruned nodes
This removes a warning in the documentation saying that pruned nodes are
not supported. This is no longer the case as [pruning is supported since
0.13](https://github.com/lightningnetwork/lnd/pull/5154). So instead it
now says pruning is supported and notes the version and implications of
pruning.
2021-07-23 14:27:13 +02:00
Johnny Holton
9ff4b9b652 Fix typos in dest_custom_records comment 2021-07-22 21:41:38 -04:00
Oliver Gugger
49f1169d7c
Merge pull request #5542 from bhandras/itest-race
build: add itest-race build target to catch data races with itests
2021-07-22 20:47:34 +02:00
András Bánki-Horváth
275eca1640
Merge pull request #5514 from bhandras/payment_seq_blocks
payments: allocate payment sequences in blocks
2021-07-22 19:21:44 +02:00
Andras Banki-Horvath
bc3886c85b
docs: update release notes 2021-07-22 15:15:38 +02:00
Oliver Gugger
04c2640060
docs: add release notes for #5526 2021-07-22 09:48:31 +02:00
Martin Habovstiak
318d738131 lnd: allow group reading admin macaroon
This changes file reation mode on admin macaroon from 0600 to 0640. The
reason is to make permission management easier.

Closes #4385

**Is this safe?**

Yes, it is. Assuming a reasonably secure Linux system, it will have a
separate group for each user. E.g. a new user `lnd` gets assigned group
`lnd` which nothing else belongs to. A system that does not do this is
inherently broken already.

Since there is no other user in the group, no other user can read admin
macaroon unless the administrator explicitly allowed it. Thus there's no
harm allowing group read.
2021-07-22 08:21:03 +02:00
Olaoluwa Osuntokun
30a0e6c745
Merge pull request #5533 from ErikEk/invoices-return-payment-address-addholdinvoice
invoices: return payment address and add index from addholdinvoice
2021-07-21 16:54:20 -07:00
Andras Banki-Horvath
9ce5585eff
docs: update release notes 2021-07-21 16:36:13 +02:00
Oliver Gugger
fb17bf2bb5
Merge pull request #5547 from bhandras/etcd_backend_rwlock
etcd: optionally reduce concurrency to single writer for legacy code
2021-07-21 16:28:20 +02:00
Oliver Gugger
b16877236a
Merge pull request #5543 from Roasbeef/release-notes-master-special-case
scripts: account for master branch merges in release notes script
2021-07-21 09:45:11 +02:00
Olaoluwa Osuntokun
115c99d0e0
docs/release-notes: add section re merge commit exemption 2021-07-20 16:22:46 -07:00
Andras Banki-Horvath
dd05e29225
docs: update release notes 2021-07-20 21:02:16 +02:00
Zero-1729
712643e2aa
docs: minor fixes to contribution guidelines 2021-07-20 14:58:45 +01:00
Oliver Gugger
5482451297
mod+GitHub: shorten PR template, bump golang to 1.15
The golang version always needs to be in sync between the go.mod, the PR
checklist and the installation instructions.

We also shorten the Pull Request template by removing everything that we
have a CI check for and just refer to those checks instead.
2021-07-20 10:55:08 +02:00
ErikEk
850dee37ee invoices: return payment address from addholdinvoice 2021-07-19 17:05:03 +02:00
ErikEk
5282b54ad3 invoice: unused error check 2021-07-19 14:24:52 +02:00
Olaoluwa Osuntokun
121979546b
docs/release-notes: add entry for new release notes pre-submit check 2021-07-16 11:01:04 -07:00
Joost Jager
3026e5a826
build: bump btcwallet 2021-07-08 14:34:16 +02:00
Olaoluwa Osuntokun
f67d4d346b
docs/release-notes: update release notes for 0.13.1 2021-07-01 18:26:10 -07:00
yyforyongyu
c081707a5b
docs/release-notes: add deadline aware to 0.13.1 2021-06-29 20:30:58 +08:00
Olaoluwa Osuntokun
ff8153c332
docs/release-notes: add router height bug fix to 0.13.1 2021-06-22 17:24:17 -07:00
Olaoluwa Osuntokun
d983263362
docs/release-notes: add new in-tree location for release notes
In this commit, we add a new folder within the `docs` directory that will
house the release notes for all versions of `lnd` going forward.  Moving to
use `git` for the release notes rather than the normal drafting procedure
lets us keep track of the set of changes more consistency over time, lets
contributors add their release notes over time, and also means we'll no
longer need to do a crunch at the tail end of the release process to fill in
the set of release notes.

For the 0.13.1 release notes, I've done a scan and added anything that has
been merged since the last major version tag.  In a follow up change, we'll
add a new Github action that fails the build if an entry in the release
notes linking to the newly added PR isn't committed as well. Until then, any
PRs merged in should ensure that they add an entry within the relevant
milestone.
2021-06-21 19:24:49 -07:00