You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// IstanbulDigest represents a hash of "Istanbul practical byzantine fault tolerance"
// to identify whether the block is from Istanbul consensus engine
IstanbulDigest = common.HexToHash("0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365")
So,It confused me,could you please tell me the calculation process.
The text was updated successfully, but these errors were encountered:
Hi @tkblack, you are right, IstanbulDigest is not Keccak256 or sha256 hash of Istanbul practical byzantine fault tolerance. From the original IBFT EIP, it is a fixed magic number for Istanbul block identification and the original EIP doesn't mention how the hash is derived.
I wrote a test case like this:
And it print this:
However,it is not the same as in the code
So,It confused me,could you please tell me the calculation process.
The text was updated successfully, but these errors were encountered: