I am trying to change my consensus algorithm in the FishNet example.
In /sawtooth-supply-chain-master/fish_client/public/dist/bundle.js
file I found this:
consensus":{"type":"bytes","id":5}
Does anybody knows what is the mapping of consenus ids in sawtooth?
By default it is Devmode. But I want to change the consensus type. Is this possible ?
And in /sawtooth-supply-chain-master/docker/compose/supply-chain-default.yaml
entrypoint: | bash -c " if [ ! -f /etc/sawtooth/keys/validator.priv ]; then sawadm keygen && sawtooth keygen my_key && sawset genesis -k /root/.sawtooth/keys/my_key.priv && sawadm genesis config-genesis.batch fi; sawtooth-validator -v \ --endpoint tcp://validator:8800 \ --bind component:tcp://eth0:4004 \ --bind network:tcp://eth0:8800 \ --bind consensus:tcp://eth0:5050 "
devmode-engine: image: hyperledger/sawtooth-devmode-engine-rust:1.1 container_name: sawtooth-devmode-engine-rust-default depends_on: - validator entrypoint: devmode-engine-rust -C tcp://validator:5050