mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 19:40:36 +00:00
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_test.go | ||
api.go | ||
benchmarks_test.go | ||
config.go | ||
doc.go | ||
envelope_test.go | ||
envelope.go | ||
filter_test.go | ||
filter.go | ||
gen_criteria_json.go | ||
gen_message_json.go | ||
gen_newmessage_json.go | ||
message_test.go | ||
message.go | ||
peer_test.go | ||
peer.go | ||
topic_test.go | ||
topic.go | ||
whisper_test.go | ||
whisper.go |