This document is available in Korean also.
The intended audience of this document are all entities running an AMO blockchain node either validator node or not. This document assumes the reader posesses a already running AMO blockchain node. This document explains the steps required to be performed whenever there is a AMO protocol upgrade.
Replace AMO blockchain node amod v1.7.x with amod v1.8.3.
- pull new docker image
amolabs/amod:1.8.3docker pull amolabs/amod:1.8.3 - restart
amoddocker containerreplacedocker stop amod docker rm amod docker run -d -name amod -v <data_root>/amo:/amo amolabs/amod:1.8.3<data_root>with the actual data root as an absolute path - check execution status
confirm that the log message are generated continuously, and press <CTRL-C> to stop viewing logs
docker logs -f --tail 10 amod
- Install necessary libraries (snappy, cleveldb, rocksdb)
- ubuntu
sudo apt-get install libsnappy-dev libleveldb-dev librocksdb-dev - centos
sudo yum install snappy-devel leveldb-devel wget https://github.com/facebook/rocksdb/archive/v5.18.4.zip unzip v5.18.4.zip cd rocksdb-5.18.4 make shared_lib && sudo make install-shared
- ubuntu
- checkout source code from https://github.com/amolabs/amoabci
# when there is source code checked out previously cd <amoabci_root> git remote update git checkout v1.8.3 # when checking out for the first time git clone https://github.com/amolabs/amoabci cd amoabci git checkout v1.8.3 - compile the binary according to
https://github.com/amolabs/amoabci/blob/master/README.md
make build_c - restart
amodkillall amod ./amod run --home <data_root>/amo
TBA