aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorGuillaume Ballet <gballet@gmail.com>2019-03-26 17:23:59 +0800
committerFelix Lange <fjl@users.noreply.github.com>2019-03-26 17:23:59 +0800
commitdf717abc999add34c5725ab86dce1fcee968ca10 (patch)
treed2cfa23532526f66f3f4c148756e7eef866ecdf3 /trie
parentb8b4fb004c89d0d59276216ca73583f3ef608bba (diff)
downloadgo-tangerine-df717abc999add34c5725ab86dce1fcee968ca10.tar
go-tangerine-df717abc999add34c5725ab86dce1fcee968ca10.tar.gz
go-tangerine-df717abc999add34c5725ab86dce1fcee968ca10.tar.bz2
go-tangerine-df717abc999add34c5725ab86dce1fcee968ca10.tar.lz
go-tangerine-df717abc999add34c5725ab86dce1fcee968ca10.tar.xz
go-tangerine-df717abc999add34c5725ab86dce1fcee968ca10.tar.zst
go-tangerine-df717abc999add34c5725ab86dce1fcee968ca10.zip
whisper/whisperv6: fix PoW calculations to match the spec (#19330)
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.
Diffstat (limited to 'trie')
0 files changed, 0 insertions, 0 deletions