Commit Graph

123 Commits

Author SHA1 Message Date
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
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