diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-27 15:31:44 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-27 15:31:47 -0700 |
commit | 437ada3e55df8ae6f801cb2aa2e79ec5bb5f1971 (patch) | |
tree | 51fe5e19a064fc7637de9145c9004823fcb110d6 /src/key.h | |
parent | 223d8630b0bf1809d29660004255237ad9d15f86 (diff) |
Switch test case signing to RFC6979 extra entropy
Instead of manually tweaking the deterministic nonce post-generation,
pass the test case number in as extra entropy to RFC6979.
Diffstat (limited to 'src/key.h')
-rw-r--r-- | src/key.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -124,8 +124,7 @@ public: /** * Create a DER-serialized signature. - * The test_case parameter tweaks the deterministic nonce, and is only for - * testing. It should be zero for normal use. + * The test_case parameter tweaks the deterministic nonce. */ bool Sign(const uint256& hash, std::vector<unsigned char>& vchSig, uint32_t test_case = 0) const; |