The Bittorrent-Chain has upgraded the delivery layer to version v1.0.7 , the main new features include:
- Add map marshaling feature
- Add eth finalized block feature
- Merge bridge / delivery / rest-server into one process
- Fix query checkpoint response with height
- Add cache for contracts ABIs
- Add checkpoint id in rest api
For release note, please refer to:
delivery: Release v1.0.7 · bttcprotocol/delivery · GitHub
Please note that:
- The delivery service will be upgraded to version v1.0.7.
- This is a mandatory upgrade, all nodes need to be updated to avoid sync issues.
For upgrading, please follow the steps below,
- Shutdown
deliveryd
/rest-server progress
. If it is a validator node, shut downbridge
as well; - download or update the code to the latest version:
$ git clone https://github.com/bttcprotocol/delivery.git
$ cd delivery
$ git checkout v1.0.7
- Compile
$ make install
- Check the version, and make sure it is 1.0.7.
$ deliveryd version
1.0.7
- Initiate startup progress. Since delivery layer v1.0.7, the startup progress has changed from previous 3 scripts( delivery-bridge-start.sh, delivery-server-start.sh, delivery-start.sh) to 1 script delivery-start.sh:
#!/usr/bin/env sh
set -x #echo on
DELIVERY_HOME_DIR=~/.deliveryd
deliveryd --chain mainnet --home $DELIVERY_HOME_DIR start --node http://0.0.0.0:26657 --laddr tcp://0.0.0.0:1317 --bridge --all --rest-server
If it is not a validator node, please remove the --bridge --all
.
If there are any synchronization issues, please try the following steps:
- Stop
delivery
/rest-server
processes. - Use the following rollback command to fix recently abnormal blocks:
$ deliveryd —-home ${deliveryd_home} rollback
- Restart
deliveryd
/rest-server
process.
Please upgrade your node, and inform us when you finish the work so that we can trace the status and make sure your node works well.
Thanks!
Bittorrent-Chain Developer Community