[trivial] Add end of namespace comments

This commit is contained in:
practicalswift
2017-05-31 22:21:25 +02:00
parent 4c924011f5
commit 5a9b508279
20 changed files with 37 additions and 22 deletions

View File

@@ -68,7 +68,7 @@ struct ECCryptoClosure
};
ECCryptoClosure instance_of_eccryptoclosure;
}
} // namespace
/** Check that all specified flags are part of the libconsensus interface. */
static bool verify_flags(unsigned int flags)

View File

@@ -31,7 +31,7 @@ inline bool set_error(ScriptError* ret, const ScriptError serror)
return false;
}
} // anon namespace
} // namespace
bool CastToBool(const valtype& vch)
{
@@ -1164,7 +1164,7 @@ uint256 GetOutputsHash(const CTransaction& txTo) {
return ss.GetHash();
}
} // anon namespace
} // namespace
PrecomputedTransactionData::PrecomputedTransactionData(const CTransaction& txTo)
{

View File

@@ -66,7 +66,7 @@ public:
* signatureCache could be made local to VerifySignature.
*/
static CSignatureCache signatureCache;
}
} // namespace
// To be called once in AppInitMain/BasicTestingSetup to initialize the
// signatureCache.

View File

@@ -400,7 +400,7 @@ public:
}
};
const DummySignatureChecker dummyChecker;
}
} // namespace
const BaseSignatureChecker& DummySignatureCreator::Checker() const
{

View File

@@ -273,7 +273,7 @@ public:
return true;
}
};
}
} // namespace
CScript GetScriptForDestination(const CTxDestination& dest)
{