Browse Source

Merge pull request #3744 from petertodd/document-isvalid-is-consensus-critical

Document that CPubKey.IsValid() is consensus critical
0.10
Gavin Andresen 11 years ago
parent
commit
7be6ebcf08
  1. 4
      src/key.h

4
src/key.h

@ -137,7 +137,9 @@ public: @@ -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