ZooBC testnet updates to 0.6.7 without a chain restart
Nodes on 0.6.6 update automatically; older nodes and those with self-updates disabled must update by hand to avoid state drift and a snapshot resync. The release adds token-holding vouchers and records missed storage rounds; the Ethereum bridge stays closed.
Roberto Capodieci 작성 · 게시
The ZooBC testnet is updating to version 0.6.7. This is an update of the running chain, not a restart: your account, your balance and everything you did stay as they are. Our own nodes already run 0.6.7.
If your node runs 0.6.6, it updates itself. Since 0.6.6 the self-updater installs a release 20 blocks (about 5 minutes) after it is registered, and the new rules switch on 60 blocks (about 15 minutes) after the registration, once two thirds of the registry nodes run it. Nothing to do.
If your node runs anything older than 0.6.6, or you switched its self-updater off: update by hand now, with one line on the server:
sudo bash /opt/zoobc/installer/install --chain testnet --update --release v0.6.7-testnet --yes
To check afterwards:
systemctl is-active zoobc
curl -s 127.0.0.1:8080/api/v1/node/info | python3 -m json.tool | grep '"version"'
The first line must say active, the second must show 0.6.7.
A node still on an old program at the switch does not stop: it goes on under the old rules, its state can drift from the chain's without a sign, and it then needs the update AND a resync from a snapshot. So check your node's version within the hour.
What is new for everybody (from the switch on)
- Vouchers can hold tokens, not only ZBC, and anybody can pay to make a voucher live longer.
- An escrow no longer holds units of an expired token.
- The chain counts the storage rounds a node missed, and shows them. A node that holds stored pieces and does not answer its checks, or answers wrongly, is now recorded round by round, on the chain, the same on every node. Nothing is taken for a miss in this release: a node that misses a round still only loses that round's reward. The counts are there so every operator can see their own before any charge is decided.
- A release can state how long its rules wait before they switch on, in its own registration (from the next release on).
- Several repairs that make every node read the same rows in the same order (key names, group dissolving, public dataset names), so no node can drift from the others; an Ethereum carrier transaction with data does nothing; a mint and a burn share one layout.
What is new at once
- The gateway and the relay are updated on our servers. Nothing changes for wallet users.
- The bridge to Ethereum stays closed. This release prepares it: its program runs under an account of its own, so taking over a node does not give the bridge key, and it refuses to sign while what the chain owes is more than what the contract holds.
Thank you for testing. Break things, tell us what you find.