diff options
author | Peter Todd <pete@petertodd.org> | 2014-02-25 09:31:43 -0500 |
---|---|---|
committer | Peter Todd <pete@petertodd.org> | 2014-02-25 09:31:43 -0500 |
commit | 5a986edac8252da5432cf9145f145a906c05d9fe (patch) | |
tree | 95a2ab61d88b22e078f8cd0c0b1d9fd1e56c1707 | |
parent | a16ad1c0f465935d437bd9ae9875b28be49ec65b (diff) |
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; } |