Browse Source

Document that CPubKey.IsValid() is consensus critical

pull/4/head
Peter Todd 10 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());
}
// just check syntactic correctness.
// Check syntactic correctness.
//
// Note that this is consensus critical as CheckSig() calls it!
bool IsValid() const {
return size() > 0;
}

Loading…
Cancel
Save