diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-09-30 11:36:51 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-09-30 11:42:47 +0200 |
commit | b658ca71b363ac248135f33d24e21df205fca7b7 (patch) | |
tree | 02b83c80037e17a09bda61aa762412bc6ec102aa /doc/REST-interface.md | |
parent | df692600c677e7170b2597f398b17551747ce889 (diff) | |
parent | 0cc7dd74e0af735dddf7e786f4ed136c382a4ad5 (diff) |
Merge #16931: test: add unittests for CheckProofOfWork
0cc7dd74e0af735dddf7e786f4ed136c382a4ad5 test: add unittests for CheckProofOfWork (soroosh-sdi)
Pull request description:
following situations are covered:
- negative target
- overflow target
- target easier then powLimit
- invalid hash (hash > target)
Signed-off-by: soroosh-sdi <soroosh.sardari@gmail.com>
ACKs for top commit:
promag:
ACK 0cc7dd74e0af735dddf7e786f4ed136c382a4ad5, just read the code.
laanwj:
ACK 0cc7dd74e0af735dddf7e786f4ed136c382a4ad5
Tree-SHA512: 9f9ee952ebb211202939450aa3d61b3c2fae992dcfcab085e877507d78e02ea39a51ccacfc4852a0555f3cba07504ee132abd5cbfed75489553bee45c760bc7e
Diffstat (limited to 'doc/REST-interface.md')
0 files changed, 0 insertions, 0 deletions