aboutsummaryrefslogtreecommitdiff
path: root/src/key.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-03-27 15:31:44 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2015-03-27 15:31:47 -0700
commit437ada3e55df8ae6f801cb2aa2e79ec5bb5f1971 (patch)
tree51fe5e19a064fc7637de9145c9004823fcb110d6 /src/key.h
parent223d8630b0bf1809d29660004255237ad9d15f86 (diff)
downloadbitcoin-437ada3e55df8ae6f801cb2aa2e79ec5bb5f1971.tar.xz
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/key.h b/src/key.h
index 1f1d142887..104a8f5c72 100644
--- a/src/key.h
+++ b/src/key.h
@@ -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;