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 still at 0.19.2 (#2327)
* Fixed 2 PEP257 compliance errors * Upgrade Tendermint to 0.19.7 except for Docker image, which is still at 0.19.2
This commit is contained in:
parent
ccb7a86428
commit
02ee8a9ac1
@ -39,8 +39,7 @@ def calculate_hash(key_list):
|
||||
|
||||
|
||||
def merkleroot(hashes):
|
||||
"""
|
||||
Computes the merkle root for a given list.
|
||||
"""Computes the merkle root for a given list.
|
||||
|
||||
Args:
|
||||
hashes (:obj:`list` of :obj:`bytes`): The leaves of the tree.
|
||||
@ -69,7 +68,7 @@ def merkleroot(hashes):
|
||||
|
||||
|
||||
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)
|
||||
encoded_public_key = amino_encoded_public_key(ed25519_public_key)
|
||||
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
|
||||
|
||||
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
|
||||
$ sudo apt install -y unzip
|
||||
$ wget https://github.com/tendermint/tendermint/releases/download/v0.19.3/tendermint_0.19.3_linux_amd64.zip
|
||||
$ unzip tendermint_0.19.3_linux_amd64.zip
|
||||
$ rm 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.7_linux_amd64.zip
|
||||
$ rm tendermint_0.19.7_linux_amd64.zip
|
||||
$ 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
|
||||
wget https://github.com/tendermint/tendermint/releases/download/v0.19.3/tendermint_0.19.3_linux_amd64.zip
|
||||
unzip tendermint_0.19.3_linux_amd64.zip
|
||||
rm 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.7_linux_amd64.zip
|
||||
rm tendermint_0.19.7_linux_amd64.zip
|
||||
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}
|
||||
LABEL maintainer "dev@bigchaindb.com"
|
||||
WORKDIR /
|
||||
|
Loading…
x
Reference in New Issue
Block a user