diff options
| author | Gavin Andresen <[email protected]> | 2014-02-28 15:27:58 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2014-02-28 15:27:58 -0500 |
| commit | 7be6ebcf083f5d1b343f22a0bb5c1f37dbf8b9b2 (patch) | |
| tree | 42728043f99e1f57ef9d940511386214f854dcf2 /src | |
| parent | Merge pull request #3763 from gavinandresen/regression_tests (diff) | |
| parent | Document that CPubKey.IsValid() is consensus critical (diff) | |
| download | discoin-7be6ebcf083f5d1b343f22a0bb5c1f37dbf8b9b2.tar.xz discoin-7be6ebcf083f5d1b343f22a0bb5c1f37dbf8b9b2.zip | |
Merge pull request #3744 from petertodd/document-isvalid-is-consensus-critical
Document that CPubKey.IsValid() is consensus critical
Diffstat (limited to 'src')
| -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; } |