How does mixHash
be used in qbft consensus?
#1392
-
I tried to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, from our code, this value is the istanbul digest. // IstanbulDigest represents a hash of "Istanbul practical byzantine fault tolerance"
// to identify whether the block is from Istanbul consensus engine
IstanbulDigest = common.HexToHash("0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365") In ethereum, mixHash is used for the mining PoW consensus (https://gist.github.com/0mkara/b953cc2585b18ee098cd#file-genesis-md), for our PoA, it's for identifying the consensus engine, that's the same function. You may try a different value and see if it is possible to change it as you want to. |
Beta Was this translation helpful? Give feedback.
Hello, from our code, this value is the istanbul digest.
In ethereum, mixHash is used for the mining PoW consensus (https://gist.github.com/0mkara/b953cc2585b18ee098cd#file-genesis-md), for our PoA, it's for identifying the consensus engine, that's the same function.
You may try a different value and see if it is possible to change it as you want to.