Browse Source
Document that CPubKey.IsValid() is consensus critical
pull/4/head
Peter Todd
10 years ago
No known key found for this signature in database
GPG Key ID: 2481403DA5F091FB
1 changed files with
3 additions and
1 deletions
-
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; |
|
|
|
} |
|
|
|