Browse Source
"target" is a 256 bit int, but the "bits" field in the block headers that is used to represent target is only 32 bits. We were checking PoW against the untruncated target value, which is a slightly larger value than the one that can actually be represented, and hence we would have accepted a slightly lower difficulty chain than what the consensus requires.3.3.3.1
2 changed files with 253 additions and 251 deletions
File diff suppressed because it is too large
Loading…
Reference in new issue