mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Upgrade Tendermint to 0.19.7 except for Docker image, which is still at 0.19.2
This commit is contained in:
parent
0b6df62150
commit
da97368bb1
@ -68,7 +68,7 @@ def merkleroot(hashes):
|
|||||||
|
|
||||||
|
|
||||||
def public_key64_to_address(base64_public_key):
|
def public_key64_to_address(base64_public_key):
|
||||||
"""Note this only compatibile with Tendermint 0.19.0"""
|
"""Note this only compatible with Tendermint 0.19.x"""
|
||||||
ed25519_public_key = public_key_from_base64(base64_public_key)
|
ed25519_public_key = public_key_from_base64(base64_public_key)
|
||||||
encoded_public_key = amino_encoded_public_key(ed25519_public_key)
|
encoded_public_key = amino_encoded_public_key(ed25519_public_key)
|
||||||
return hashlib.new('ripemd160', encoded_public_key).hexdigest().upper()
|
return hashlib.new('ripemd160', encoded_public_key).hexdigest().upper()
|
||||||
|
|||||||
@ -19,13 +19,13 @@ After the installation of MongoDB is complete, run MongoDB using `sudo mongod`
|
|||||||
|
|
||||||
### Installing a Tendermint Executable
|
### Installing a Tendermint Executable
|
||||||
|
|
||||||
Find [the version number of the latest Tendermint release](https://github.com/tendermint/tendermint/releases) and install it using the following, where 0.19.3 should be replaced by the latest released version number:
|
Find [the version number of the latest Tendermint release](https://github.com/tendermint/tendermint/releases) and install it using the following, where 0.19.7 should be replaced by the latest released version number:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo apt install -y unzip
|
$ sudo apt install -y unzip
|
||||||
$ wget https://github.com/tendermint/tendermint/releases/download/v0.19.3/tendermint_0.19.3_linux_amd64.zip
|
$ wget https://github.com/tendermint/tendermint/releases/download/v0.19.7/tendermint_0.19.7_linux_amd64.zip
|
||||||
$ unzip tendermint_0.19.3_linux_amd64.zip
|
$ unzip tendermint_0.19.7_linux_amd64.zip
|
||||||
$ rm tendermint_0.19.3_linux_amd64.zip
|
$ rm tendermint_0.19.7_linux_amd64.zip
|
||||||
$ sudo mv tendermint /usr/local/bin
|
$ sudo mv tendermint /usr/local/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -61,9 +61,9 @@ Install a [recent version of Tendermint][tendermint:releases]. BigchainDB Server
|
|||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install -y unzip
|
sudo apt install -y unzip
|
||||||
wget https://github.com/tendermint/tendermint/releases/download/v0.19.3/tendermint_0.19.3_linux_amd64.zip
|
wget https://github.com/tendermint/tendermint/releases/download/v0.19.7/tendermint_0.19.7_linux_amd64.zip
|
||||||
unzip tendermint_0.19.3_linux_amd64.zip
|
unzip tendermint_0.19.7_linux_amd64.zip
|
||||||
rm tendermint_0.19.3_linux_amd64.zip
|
rm tendermint_0.19.7_linux_amd64.zip
|
||||||
sudo mv tendermint /usr/local/bin
|
sudo mv tendermint /usr/local/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
ARG tm_version=0.19.3
|
ARG tm_version=0.19.2
|
||||||
FROM tendermint/tendermint:${tm_version}
|
FROM tendermint/tendermint:${tm_version}
|
||||||
LABEL maintainer "dev@bigchaindb.com"
|
LABEL maintainer "dev@bigchaindb.com"
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user