diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2014-02-28 15:27:58 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2014-02-28 15:27:58 -0500 |
commit | 7be6ebcf083f5d1b343f22a0bb5c1f37dbf8b9b2 (patch) | |
tree | 42728043f99e1f57ef9d940511386214f854dcf2 | |
parent | b69b5d5cd2bd6ae1e11a66186e006987e06f959d (diff) | |
parent | 5a986edac8252da5432cf9145f145a906c05d9fe (diff) |
Merge pull request #3744 from petertodd/document-isvalid-is-consensus-critical
Document that CPubKey.IsValid() is consensus critical
-rw-r--r-- | src/key.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -137,7 +137,9 @@ public: return Hash(vch, vch+size()); } - // just check syntactic correctness. + // Check syntactic correctness. + // + // Note that this is consensus critical as CheckSig() calls it! bool IsValid() const { return size() > 0; } |