BOSCore v3.0.7 Release Notes
Change Description
BOSCore support EOSVM and strengthen the security.
Enable EOSVM with:
wasm-runtime = eos-vm-jit
WARNING:
As from the issue, as for BP signing and API nodes, the eos-vm-oc-enable = false
should be used to avoid it can be too faster to left other node in the dust.
API settings must match BP settings. CPU calculations should be the same for public API and BPs.
for other nodes, eos-vm-oc-enable = true
can be used.
- Support EOSVM
- Consolidated Security Fixes for eos-vm
- Upgrade
create_snapshot
API to keep the compatibility - Upgrade Dockerfile to support EOSVM
API Changes
- /v1/producer/create_snapshot, add
export_snapshot_type
, the DEFAULT type issnapshot
.
enum export_snapshot_type {
snapshot = 0, // snapshot for data to use for restoring a node
acts_snapshot = 1 // snapshot for all accounts with system token balance
};
Create normal snapshot:
curl http://127.0.0.1:{$PORT}/v1/producer/create_snapshot
Create account balance snapshot:
curl -d 1 http://127.0.0.1:{$PORT}/v1/producer/create_snapshot
Version:
- build from source code with tag : v3.0.7
- or use docker image : boscore/bos:v3.0.7
For Ubuntu, SW/eden APT source can be used:
sudo apt-get install software-properties-common
curl https://apt.eossweden.org/key 2> /dev/null | sudo apt-key add -
sudo apt-add-repository -y 'deb [arch=amd64] https://apt.eossweden.org/bos `lsb_release -cs` stable'
sudo apt-get update
sudo apt-get install bos-mv-307