Page MenuHomePhabricator

Improve signmessages functional test
ClosedPublic

Authored by Fabien on Jun 25 2019, 10:25.

Details

Summary
This patch improves branch coverage of the test, making sure a
message can not be verified with the wrong address or signature.

Backport of core PR11241
https://github.com/bitcoin/bitcoin/pull/11241/files

Test Plan
./test/functional/test_runner.py rpc_signmessage

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR11241
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6472
Build 10991: Bitcoin ABC Buildbot (legacy)
Build 10990: arc lint + arc unit

Event Timeline

test/functional/rpc_signmessage.py
21

Note to reviewers: the signature differs due to the algorithm specific nonce data (algo16 parameter).

This revision is now accepted and ready to land.Jun 25 2019, 15:43