mirror of https://github.com/status-im/op-geth.git
df717abc99
This PR fixes two issues in the PoW calculation of a Whisper envelope, compared to the spec (see PoW Requirements): - The pow is supposed to take the leading number of zeroes (i.e. most significant zeroes) and what it did was to take the number of trailing zeroes (i.e. least significant zeroes). It has been fixed to match what the spec and Parity does. - The spec expects to use the size of the RLP encoded envelope, and it took something else, as described in #18070. |
||
---|---|---|
.. | ||
api.go | ||
api_test.go | ||
benchmarks_test.go | ||
config.go | ||
doc.go | ||
envelope.go | ||
envelope_test.go | ||
filter.go | ||
filter_test.go | ||
gen_criteria_json.go | ||
gen_message_json.go | ||
gen_newmessage_json.go | ||
message.go | ||
message_test.go | ||
peer.go | ||
peer_test.go | ||
topic.go | ||
topic_test.go | ||
whisper.go | ||
whisper_test.go |