Browse Source

Document that CPubKey.IsValid() is consensus critical

0.10
Peter Todd 11 years ago
parent
commit
5a986edac8
No known key found for this signature in database
GPG Key ID: 2481403DA5F091FB
  1. 4
      src/key.h

4
src/key.h

@ -137,7 +137,9 @@ public:
return Hash(vch, vch+size()); 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 { bool IsValid() const {
return size() > 0; return size() > 0;
} }

Loading…
Cancel
Save