Skip to content

Add github action to find HTTP resources returning a 404 error code #629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 79 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
4ba24aa
Add github action to find HTTP resources returning a 404 error code
nehhen Mar 28, 2024
93378de
update documentation
web-flow Mar 29, 2024
8548bb5
Merge pull request #1 from dstadulis/docs-lnd
github-actions[bot] Mar 29, 2024
f8c17df
update documentation
web-flow Apr 1, 2024
a1a9d27
Merge pull request #2 from dstadulis/docs-lnd
github-actions[bot] Apr 1, 2024
0c51672
update documentation
web-flow Apr 3, 2024
8f25841
Merge pull request #3 from dstadulis/docs-lnd
github-actions[bot] Apr 3, 2024
d70415e
update documentation
web-flow Apr 4, 2024
29cc9df
Merge pull request #4 from dstadulis/docs-lnd
github-actions[bot] Apr 4, 2024
e4048cc
update documentation
web-flow Apr 5, 2024
4f301fe
Merge pull request #5 from dstadulis/docs-lnd
github-actions[bot] Apr 5, 2024
344afd7
update documentation
web-flow Apr 6, 2024
83a55d3
Merge pull request #6 from dstadulis/docs-lnd
github-actions[bot] Apr 6, 2024
23bd658
update documentation
web-flow Apr 11, 2024
27c4958
Merge pull request #7 from dstadulis/docs-lnd
github-actions[bot] Apr 11, 2024
44d557a
update documentation
web-flow Apr 12, 2024
ad26738
Merge pull request #8 from dstadulis/docs-lnd
github-actions[bot] Apr 12, 2024
a5ec18d
update documentation
web-flow Apr 17, 2024
662f116
Merge pull request #9 from dstadulis/docs-lnd
github-actions[bot] Apr 17, 2024
f3fc835
update documentation
web-flow Apr 19, 2024
fdcbc4c
Merge pull request #10 from dstadulis/docs-lnd
github-actions[bot] Apr 19, 2024
9ab056e
update documentation
web-flow Apr 23, 2024
a3e0325
Merge pull request #11 from dstadulis/docs-lnd
github-actions[bot] Apr 23, 2024
638e1d2
update documentation
web-flow Apr 24, 2024
9a73245
Merge pull request #12 from dstadulis/docs-lnd
github-actions[bot] Apr 24, 2024
76a391b
update documentation
web-flow Apr 25, 2024
83390e9
Merge pull request #13 from dstadulis/docs-lnd
github-actions[bot] Apr 25, 2024
e729f76
update documentation
web-flow Apr 26, 2024
08b6c96
Merge pull request #14 from dstadulis/docs-lnd
github-actions[bot] Apr 26, 2024
a325b00
update documentation
web-flow Apr 27, 2024
e4dfd46
Merge pull request #15 from dstadulis/docs-lnd
github-actions[bot] Apr 27, 2024
24089d6
update documentation
web-flow Apr 30, 2024
dabd10e
Merge pull request #16 from dstadulis/docs-lnd
github-actions[bot] Apr 30, 2024
a4835e1
update documentation
web-flow May 8, 2024
349961f
Merge pull request #17 from dstadulis/docs-lnd
github-actions[bot] May 8, 2024
6dfcd38
update documentation
web-flow May 9, 2024
318897a
Merge pull request #18 from dstadulis/docs-lnd
github-actions[bot] May 9, 2024
f92527b
update documentation
web-flow May 14, 2024
437fc82
Merge pull request #19 from dstadulis/docs-lnd
github-actions[bot] May 14, 2024
dc6398a
update documentation
web-flow May 18, 2024
f788f1f
Merge pull request #20 from dstadulis/docs-lnd
github-actions[bot] May 18, 2024
8c5712a
update documentation
web-flow Jun 1, 2024
504b6d2
Merge pull request #21 from dstadulis/docs-lnd
github-actions[bot] Jun 1, 2024
8a485c7
update documentation
web-flow Jun 4, 2024
ecfce73
Merge pull request #22 from dstadulis/docs-lnd
github-actions[bot] Jun 4, 2024
92347f8
update documentation
web-flow Jun 5, 2024
ca86ca6
Merge pull request #23 from dstadulis/docs-lnd
github-actions[bot] Jun 5, 2024
5db1e37
update documentation
web-flow Jun 7, 2024
0902612
Merge pull request #24 from dstadulis/docs-lnd
github-actions[bot] Jun 7, 2024
2bdbe11
update documentation
web-flow Jun 11, 2024
a220be9
Merge pull request #25 from dstadulis/docs-lnd
github-actions[bot] Jun 11, 2024
95ce14e
update documentation
web-flow Jun 12, 2024
5d81246
Merge pull request #26 from dstadulis/docs-lnd
github-actions[bot] Jun 12, 2024
c3f29d7
update documentation
web-flow Jun 13, 2024
190fc91
Merge pull request #27 from dstadulis/docs-lnd
github-actions[bot] Jun 13, 2024
e6202a9
update documentation
web-flow Jun 18, 2024
0a201fa
Merge pull request #28 from dstadulis/docs-lnd
github-actions[bot] Jun 18, 2024
67d11d7
update documentation
web-flow Jun 20, 2024
cbeb67c
Merge pull request #29 from dstadulis/docs-lnd
github-actions[bot] Jun 20, 2024
f2395c8
update documentation
web-flow Jun 23, 2024
2cea3e8
Merge pull request #30 from dstadulis/docs-lnd
github-actions[bot] Jun 23, 2024
be309a5
update documentation
web-flow Jun 25, 2024
6fa00d3
Merge pull request #31 from dstadulis/docs-lnd
github-actions[bot] Jun 25, 2024
29b14e8
update documentation
web-flow Jun 26, 2024
1689e00
Merge pull request #32 from dstadulis/docs-lnd
github-actions[bot] Jun 26, 2024
43e502a
update documentation
web-flow Jun 28, 2024
d4e2155
Merge pull request #33 from dstadulis/docs-lnd
github-actions[bot] Jun 28, 2024
4a9fb39
update documentation
web-flow Jun 29, 2024
a0bad6f
Merge pull request #34 from dstadulis/docs-lnd
github-actions[bot] Jun 29, 2024
c5e18ef
update documentation
web-flow Jul 5, 2024
e042d11
Merge pull request #35 from dstadulis/docs-lnd
github-actions[bot] Jul 5, 2024
47eaab4
update documentation
web-flow Jul 9, 2024
dca553e
Merge pull request #36 from dstadulis/docs-lnd
github-actions[bot] Jul 9, 2024
679f7b2
update documentation
web-flow Jul 10, 2024
7774c0d
Merge pull request #37 from dstadulis/docs-lnd
github-actions[bot] Jul 10, 2024
5530d2b
update documentation
web-flow Jul 12, 2024
53fe677
Merge pull request #38 from dstadulis/docs-lnd
github-actions[bot] Jul 12, 2024
f8da2ae
update documentation
web-flow Jul 17, 2024
b1a39a3
Merge pull request #39 from dstadulis/docs-lnd
github-actions[bot] Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Markdown lint
# https://github.com/marketplace/actions/404-links
on:
push:
branches: [ master ]
pull_request:
types: [assigned, opened, synchronize, reopened]

jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'restqa-404-links'
uses: restqa/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 8 additions & 8 deletions docs/lnd/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,16 @@ the following commands for your OS:
<summary>Linux (x86-64)</summary>

```
wget https://dl.google.com/go/go1.19.7.linux-amd64.tar.gz
sha256sum go1.19.7.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
wget https://dl.google.com/go/go1.22.4.linux-amd64.tar.gz
sha256sum go1.22.4.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
```

The final output of the command above should be
`7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d`. If it
`ba79d4526102575196273416239cca418a651e049c2b099f3159db85e7bade7d`. If it
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
this version of Go. If it matches, then proceed to install Go:
```
sudo tar -C /usr/local -xzf go1.19.7.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
```
</details>
Expand All @@ -118,16 +118,16 @@ the following commands for your OS:
<summary>Linux (ARMv6)</summary>

```
wget https://dl.google.com/go/go1.19.7.linux-armv6l.tar.gz
sha256sum go1.19.7.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
wget https://dl.google.com/go/go1.22.4.linux-armv6l.tar.gz
sha256sum go1.22.4.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
```

The final output of the command above should be
`93b1f621ddfc2c2b4e383e185fa7801e80f8b546918cb96afea2723677928312`. If it
`e2b143fbacbc9cbd448e9ef41ac3981f0488ce849af1cf37e2341d09670661de`. If it
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
this version of Go. If it matches, then proceed to install Go:
```
tar -C /usr/local -xzf go1.19.7.linux-armv6l.tar.gz
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.4.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
```

Expand Down
201 changes: 187 additions & 14 deletions docs/lnd/release-notes/release-notes-0.18.0.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# Release Notes
- [Release Notes](#release-notes)
- [Bug Fixes](#bug-fixes)
- [New Features](#new-features)
- [Functional Enhancements](#functional-enhancements)
- [RPC Additions](#rpc-additions)
- [lncli Additions](#lncli-additions)
- [Improvements](#improvements)
- [Functional Updates](#functional-updates)
- [Tlv](#tlv)
- [Misc](#misc)
- [Logging](#logging)
- [RPC Updates](#rpc-updates)
- [lncli Updates](#lncli-updates)
- [Code Health](#code-health)
- [Breaking Changes](#breaking-changes)
- [Performance Improvements](#performance-improvements)
- [Misc](#misc)
- [Technical and Architectural Updates](#technical-and-architectural-updates)
- [BOLT Spec Updates](#bolt-spec-updates)
- [Testing](#testing)
Expand Down Expand Up @@ -104,23 +107,56 @@
which with the default fee allocation in place will eventually lead to the
downsizing to the fee floor (1 sat/vByte) in the worst case.

* [Removed](https://github.com/lightningnetwork/lnd/pull/8577) some unreachable code
* [Removed](https://github.com/lightningnetwork/lnd/pull/8577) some unreachable
code.

* [Fixed](https://github.com/lightningnetwork/lnd/pull/8609) a function
call where arguments were swapped.

* [Addresses derived from imported watch-only accounts now correctly include
their master key's
fingerprint](https://github.com/lightningnetwork/lnd/pull/8630).

* [Fixed a bug in `btcd` that caused an incompatibility with
`bitcoind v27.0`](https://github.com/lightningnetwork/lnd/pull/8573).

* [Fixed](https://github.com/lightningnetwork/lnd/pull/8545) UTXO selection
for the internal channel funding flow (Single and Batch Funding Flow). Now
UTXOs which are unconfirmed and originated from the sweeper subsystem are not
selected because they bear the risk of being replaced (BIP 125 RBF).

* [Fixed](https://github.com/lightningnetwork/lnd/pull/8621) the behaviour of
neutrino LND nodes which would lose sync in case they had very unstable
peer connection.

# New Features
## Functional Enhancements

* Experimental support for [inbound routing
fees](https://github.com/lightningnetwork/lnd/pull/6703) is added. This allows
node operators to require senders to pay an inbound fee for forwards and
payments. It is recommended to only use negative fees (an inbound "discount")
initially to keep the channels open for senders that do not recognize inbound
fees.

[Send support](https://github.com/lightningnetwork/lnd/pull/6934) is
implemented as well.

[Positive inbound fees](https://github.com/lightningnetwork/lnd/pull/8627)
can be enabled with the option `accept-positive-inbound-fees`.

* A new config value,
[sweeper.maxfeerate](https://github.com/lightningnetwork/lnd/pull/7823), is
[`sweeper.maxfeerate`](https://github.com/lightningnetwork/lnd/pull/7823), is
added so users can specify the max allowed fee rate when sweeping on-chain
funds. The default value is 1000 sat/vb. Setting this value below 100 sat/vb
funds. The default value is 1000 sat/vB. Setting this value below 100 sat/vB
is not allowed, as low fee rate can cause transactions not confirming in
time, which could result in fund loss.
Please note that the actual fee rate to be used is determined by the fee
estimator used(for instance `bitcoind`), and this value is a cap on the max
estimator used (for instance `bitcoind`), and this value is a cap on the max
allowed value. So it's expected that this cap is rarely hit unless there's
mempool congestion.

* Support for [pathfinding]((https://github.com/lightningnetwork/lnd/pull/7267)
* Support for [pathfinding](https://github.com/lightningnetwork/lnd/pull/7267)
and payment to blinded paths has been added via the `QueryRoutes` (and
`SendToRouteV2`) APIs. This functionality is surfaced in `lncli queryroutes`
where the required flags are tagged with `(blinded paths)`. Updates to mission
Expand Down Expand Up @@ -169,8 +205,33 @@
`lnd.conf`](https://github.com/lightningnetwork/lnd/pull/8310)
for the `rpcuser` and `rpcpass` fields to better protect the secrets.

* When computing a minimum fee for transaction construction, `lnd` [now takes our
bitcoin peers' feefilter values into account](https://github.com/lightningnetwork/lnd/pull/8418).
* When computing a minimum fee for transaction construction, `lnd` [now takes
its bitcoin peers' `feefilter` values into
account](https://github.com/lightningnetwork/lnd/pull/8418).

* Web fee estimator settings have been moved into a new `fee` config group.
A new `fee.url` option has been added within this group that replaces the old
`feeurl` option, which is now deprecated. Additionally, [two new config values,
fee.min-update-timeout and fee.max-update-timeout](https://github.com/lightningnetwork/lnd/pull/8484)
are added to allow users to specify the minimum and maximum time between fee
updates from the web fee estimator. The default values are 5 minutes and 20
minutes respectively. These values are used to prevent the fee estimator from
being queried too frequently. This replaces previously hardcoded values that
were set to the same values as the new defaults. The previously deprecated
`neutrino.feeurl` option has been removed.

* [Preparatory work](https://github.com/lightningnetwork/lnd/pull/8159) for
forwarding of blinded routes was added, along with [support](https://github.com/lightningnetwork/lnd/pull/8160)
for forwarding blinded payments and [error handling](https://github.com/lightningnetwork/lnd/pull/8485).
With this change, LND is now eligible to be selected as part of a blinded
route and can forward payments on behalf of nodes that have support for
receiving to blinded paths. This upgrade provides a meaningful improvement
to the anonymity set and usability of blinded paths in the Lightning Network.

* Introduced [fee bumper](https://github.com/lightningnetwork/lnd/pull/8424) to
handle bumping the fees of sweeping transactions properly. A
[README.md](https://github.com/lightningnetwork/lnd/pull/8674) is added to
explain this new approach.

## RPC Additions

Expand Down Expand Up @@ -214,7 +275,7 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor

* Deprecate `bumpclosefee` for `bumpforceclosefee` to accommodate for the fact
that only force closing transactions can be bumped to avoid confusion.
Moreover allow to specify a max fee rate range when coop closing a channel.
Moreover, allow to specify a max fee rate range when coop closing a channel.
[Deprecate bumpclosefee for bumpforceclosefee and add `max_fee_rate` option
to `closechannel` cmd](https://github.com/lightningnetwork/lnd/pull/8350).

Expand All @@ -223,7 +284,9 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor

* [Man pages](https://github.com/lightningnetwork/lnd/pull/8525) Generate man
pages automatically using `lncli generatemanpage` command for both `lncli`
and `lnd` commands when running `make install` in the Makefile.
and `lnd` commands when running
[`make install-all`](https://github.com/lightningnetwork/lnd/pull/8739) in
the Makefile.

# Improvements
## Functional Updates
Expand All @@ -246,6 +309,18 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
types](https://github.com/lightningnetwork/lnd/pull/8554) defined in
`btcd/rpcclient`.

* [checkOutboundPeers](https://github.com/lightningnetwork/lnd/pull/8576) is
added to `chainHealthCheck` to make sure chain backend `bitcoind` and `btcd`
maintain a healthy connection to the network by checking the number of
outbound peers if they are below 6.

* [Add inbound fees](https://github.com/lightningnetwork/lnd/pull/8723) to
`subscribeChannelGraph`.

* [Moved](https://github.com/lightningnetwork/lnd/pull/8744) the experimental
"custom" options to the main protocol config so that they can be used without
the dev build flag set.

### Logging
* [Add the htlc amount](https://github.com/lightningnetwork/lnd/pull/8156) to
contract court logs in case of timed-out HTLCs in order to easily spot dust
Expand Down Expand Up @@ -286,6 +361,29 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
* [Allow callers of `ListSweeps` to specify the start
height](https://github.com/lightningnetwork/lnd/pull/7372).

* [Coin Selection Strategy](https://github.com/lightningnetwork/lnd/pull/8515)
add coin selection strategy option to the following on-chain RPC calls
`EstimateFee`, `SendMany`, `SendCoins`, `BatchOpenChannel`, `SendOutputs`, and
`FundPsbt`.

* `BumpFee` has been updated to take advantage of the [new budget-based
sweeper](https://github.com/lightningnetwork/lnd/pull/8667). The param
`force` has been deprecated and replaced with a new param `immediate`, and a
new param `budget` is added to allow specifying max fees when sweeping
outputs. In addition, `PendingSweep` has added new fields `immediate`,
`budget`, and `deadline_height`, the fields `force`, `requested_conf_target`,
and `next_broadcast_height` are deprecated.

* [Delete All Payments RPC](https://github.com/lightningnetwork/lnd/pull/8672)
adds `all_payments` option to the `DeleteAllPayments` RPC. This update
ensures that the arguments are provided when calling `DeleteAllPayments` RPC,
whether through gRPC or the REST API, due to the destructive nature of the
operation.

* When paying an AMP payment request, [the `--amp` flag is now
required](https://github.com/lightningnetwork/lnd/pull/8681) to be consistent
with the flow when a payment request isn't used.

## lncli Updates

* [Documented all available `lncli`
Expand Down Expand Up @@ -320,7 +418,10 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
In particular, the complexity involved in the lifecycle loop has been
decoupled into logical steps, with each step having its own responsibility,
making it easier to reason about the payment flow.


* [Remove io/ioutil package
dependence](https://github.com/lightningnetwork/lnd/pull/7765).

* [Add a watchtower tower client
multiplexer](https://github.com/lightningnetwork/lnd/pull/7702) to manage
tower clients of different types.
Expand All @@ -335,7 +436,26 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
* Bump sqlite version to [fix a data
race](https://github.com/lightningnetwork/lnd/pull/8567).

* The pending inputs in the sweeper is now
[stateful](https://github.com/lightningnetwork/lnd/pull/8423) to better
manage the lifecycle of the inputs.

## Breaking Changes

* Previously when calling `SendCoins`, `SendMany`, `OpenChannel` and
`CloseChannel` for coop close, it is allowed to specify both an empty
`SatPerVbyte` and `TargetConf`, and a default conf target of 6 will be used.
This will [no longer be
allowed](https://github.com/lightningnetwork/lnd/pull/8422) in the next
release (v0.19.0) and the caller must specify either `SatPerVbyte` or
`TargetConf` so the fee estimator can do a proper fee estimation. For current
release, [an error will be
logged](https://github.com/lightningnetwork/lnd/pull/8693) when no values are
specified.

* Removed deprecated `neutrino.feeurl` option. Please use the newer `fee.url`
option instead.

## Performance Improvements

* Watchtower client DB migration to massively [improve the start-up
Expand Down Expand Up @@ -369,6 +489,11 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
and makes TLV Onions, Static Remote Keys, Gossip Queries, compulsory features
for LND's peers. Data Loss Protection has been compulsory for years.

* [Don't Require Gossip Queries](https://github.com/lightningnetwork/lnd/pull/8615)
This change undoes a portion of what was introduced in #8275 due to a subsequent
[spec change](https://github.com/lightning/bolts/pull/1092/commits/e0ee59f3c92b7c98be8dfc47b7db358b45baf9de)
that meant we shouldn't require it.

## Testing

* Added fuzz tests for [onion
Expand Down Expand Up @@ -401,32 +526,80 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
start](https://github.com/lightningnetwork/lnd/pull/8568) if native SQL is
enabled but the channeldb already has any KV invoices stored.

* [Fix a bug](https://github.com/lightningnetwork/lnd/pull/8595) when retrying
SQL InvoiceDB transactions due to database errors.

* [Turn `sqldb` into a separate Go
module](https://github.com/lightningnetwork/lnd/pull/8603).

* [Consolidate transaction
retry](https://github.com/lightningnetwork/lnd/pull/8611) logic and isolation
settings between `sqldb` and `kvdb` packages.

* [Expanded SweeperStore](https://github.com/lightningnetwork/lnd/pull/8147) to
also store the fee rate, fees paid, and whether it's published or not for a
given sweeping transaction.

## Code Health

* [Remove database pointers](https://github.com/lightningnetwork/lnd/pull/8117)
from `channeldb` schema structs.

## Tooling and Documentation

# Contributors (Alphabetical Order)

* Alex Akselrod
* Alex Sears
* Amin Bashiri
* Andras Banki-Horvath
* AtomicInnovation321
* bartoli
* BitcoinerCoderBob
* bitromortac
* bota87
* Bufo
* Calvin Zachman
* Carla Kirk-Cohen
* cristiantroy
* cuinix
* davisv7
* Elle Mouton
* ErikEk
* Eugene Siegel
* Feelancer21
* ffranr
* Hao Wang
* hidewrong
* Jesse de Wit
* João Thallis
* Jonathan Harvey-Buschel
* Joost Jager
* Jordi Montes
* Keagan McClelland
* kilrau
* mani2310
* Marcos Fernandez Perez
* Matt Morehouse
* Michael Rooke
* Mohamed Awnallah
* Olaoluwa Osuntokun
* Oliver Gugger
* Ononiwu Maureen Chiamaka
* Sam Korn
* saubyk
* Simone Ragonesi
* Slyghtning
* tdb3
* Tee8z
* testwill
* Thabokani
* threewebcode
* Tom Kirkpatrick
* Turtle
* Hao Wang
* twofaktor
* vuittont60
* w3irdrobot
* weiliy
* xiaoxianBoy
* Yong Yu
* zhiqiangxu
* Ziggie
Loading