This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
Releases: BitCannaGlobal/bcna-patch
Releases · BitCannaGlobal/bcna-patch
BitCanna v1.4.5 - Update patch
New features
SDK v0.45.10
Tendermint v0.34.22
IAVL v0.19.4 - fix AppHASHes (forks)
IBC v.3.3.1
Instructions - very important
1_Previously to replace the binary or build from source you need to edit the file app.toml
you should to declare and put in false
this var: iavl-disable-fastnode = false
Put this content in the main section, just before the [telemetry]
section:
# IavlCacheSize set the size of the iavl tree cache.
# Default cache size is 50mb.
iavl-cache-size = 781250
# IAVLDisableFastNode enables or disables the fast node feature of IAVL.
# Default is true.
iavl-disable-fastnode = false
###############################################################################
### Telemetry Configuration ###
###############################################################################
[telemetry]
2_Build from source or download it
Option 1. Download
rm -rf ./bcna_linux_amd64.tar.gz # delete old versions, check also bcnad in this folder
wget https://github.com/BitCannaGlobal/bcna-patch/releases/download/v1.4.5/bcna_linux_amd64.tar.gz
tar zxvf bcna_linux_amd64.tar.gz
./bcnad version
>> result should be `1.4.5`
Option 2. Compile from source
git clone https://github.com/BitCannaGlobal/bcna-patch.git
cd bcna-patch
git checkout v1.4.5
make build ## move build/bcnad manually to service path
make install ## it install in $GOBIN
3_Replace any previous version with this v1.4.5
For Cosmovisor:
mv ./bcnad ~/.bcna/cosmovisor/current/bin/
sudo service cosmovisor restart
sudo journalctl -fu cosmovisor #check the logs
For BCNAD daemon:
sudo mv ./bcnad $(which bcnad)
sudo service bcnad restart
sudo journalctl -fu bcnad #check the logs
SHA256SUM
41913b6ed3e65f7d8ef3b7984291d3173d9babf587551d5c5867386ea4308b1d bcna_darwin_arm64.tar.gz
9e51a32799b42897be785fde680a9d938988cae1ddbce1c7e65bac5cc5352e0f bcna_linux_amd64.tar.gz
BitCanna v1.4.4 - Dragonberry
Please replace current v1.4.2
or v1.4.3-patch
by v1.4.4
- No chain halt (consensus) required
- Apply it ASAP
Instructions (bcnad & cosmovisor)
rm -rf ./bcna_linux_amd64.tar.gz # delete old versions, check also bcnad in this folder
wget https://github.com/BitCannaGlobal/bcna-patch/releases/download/v1.4.4/bcna_linux_amd64.tar.gz
tar zxvf bcna_linux_amd64.tar.gz
./bcnad version
>> result should be `1.4.4`
For Cosmovisor:
mv ./bcnad ~/.bcna/cosmovisor/current/bin/
sudo service cosmovisor restart
sudo journalctl -fu cosmovisor #check the logs
### For BCNAD daemon:
sudo mv ./bcnad $(which bcnad)
sudo service bcnad restart
sudo journalctl -fu bcnad #check the logs
BitCanna v1.4.3 - `strangeBuddheads` codename - Dragonberry
Please replace current v1.4.2
or v1.4.3-patch
by v1.4.3-2-g9f1b06d
- No chain halt (consensus) required
- Apply it ASAP
Stop your current daemon (bcnad or Cosmovisor)
sudo service bcnad stop || sudo service cosmovisor stop
Make a copy of the bd files:
copy -R $HOME/.bcna/data $HOME/.bcna/data_update
Another important step to make: add this text to
.bcna/config/app.toml
# IAVLDisableFastNode enables or disables the fast node feature of IAVL.
# Default is true.
iavl-disable-fastnode = false
Instructions for compile the source
git clone https://github.com/BitCannaGlobal/bcna-patch.git
cd bcna-patch
git checkout 1.4.3-2-g9f1b06d
make build
build/bcna version
>> should be `1.4.3-2-g9f1b06d`
For Cosmovisor:
cp ~/.bcna/cosmovisor/current/bin/bcnad ~/.bcna/cosmovisor/current/bin/bcna_downgrade #for fast downgrade
mv build/bcnad ~/.bcna/cosmovisor/current/bin/
sudo service cosmovisor restart
sudo journalctl -fu cosmovisor #check the logs
### For BCNAD daemon:
sudo cp $(which bcnad) ~/bcna_downgrade #for fast downgrade
sudo mv build/bcnad $(which bcnad)
sudo service bcnad restart
sudo journalctl -fu bcnad #check the logs
Instructions for download (bcnad & cosmovisor)
wget https://github.com/BitCannaGlobal/bcna-patch/releases/download/v1.4.3/bcna_linux_amd64.tar.gz
rm -rf ./bcna_linux_amd64.tar.gz # delete old versions, check also bcnad in this folder
tar zxvf bcna_linux_amd64.tar.gz
./bcnad version
>> result should be `1.4.3`
For Cosmovisor:
cp ~/.bcna/cosmovisor/current/bin/bcnad ~/.bcna/cosmovisor/current/bin/bcna_downgrade #for fast downgrade
mv ./bcnad ~/.bcna/cosmovisor/current/bin/
sudo service cosmovisor restart
sudo journalctl -fu cosmovisor #check the logs
### For BCNAD daemon:
sudo cp $(which bcnad) ~/bcna_downgrade #for fast downgrade
sudo mv ./bcnad $(which bcnad)
sudo service bcnad restart
sudo journalctl -fu bcnad #check the logs
## SHA256sum
c3df9082ed4406490bd1c7ea2e45b471efe71d1b75c47c8e8da640cd867c3d61 bcna_darwin_amd64.tar.gz
9908fbeb45448db7618ba34e62b0ff35fde34d6fdac2cac52df0224a5bf37d1b bcna_darwin_arm64.tar.gz
6cd0be12ca227b16de412f14ffecdf67a9bcfe398e0d6e9a20ebc908e0bc9589 bcna_linux_amd64.tar.gz
3d54524dba7a3ebd5cf0b6729105ccd9d4e447055c0cc9947c87385668b46425 bcna_linux_arm64.tar.gz