Merge pull request #232 from joostjager/doc-compat

readme: update compatibility table
This commit is contained in:
Joost Jager 2020-06-15 14:43:26 +02:00 committed by GitHub
commit 36b160cde6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -67,10 +67,11 @@ recommended to always keep both `lnd` and `loop` updated to the most recent
released version. If you need to run an older version of `lnd`, please consult
the following table for supported versions.
Loop Version | Compatible LND Version(s)
------------------|------------------
`>= v0.6.0-beta` | `v0.10.x-beta`
`<= 0.5.1-beta` | `v0.7.1-beta` - `v0.10.x-beta`
Loop Version | Compatible LND Version(s)
------------------------------|------------------
`>= v0.6.3-beta` | >= `v0.10.1-beta`
`v0.6.0-beta` - `v0.6.2-beta` | >= `v0.10.0-beta`
`<= 0.5.1-beta` | >= `v0.7.1-beta`
If you are building from source make sure you are using the latest tagged
version of lnd. You can get this by git cloning the repository and checking out

View file

@ -340,6 +340,8 @@ func checkVersionCompatibility(client VersionerClient,
return nil, fmt.Errorf("GetVersion error: %v", err)
}
log.Infof("lnd version: %v", VersionString(version))
// Now check the version and make sure all required build tags are set.
err = assertVersionCompatible(version, expected)
if err != nil {