aboutsummaryrefslogtreecommitdiff
path: root/src/script/sigcache.cpp
diff options
context:
space:
mode:
authorMichael Ford <fanquake@gmail.com>2014-11-10 14:40:01 +0800
committerMichael Ford <fanquake@gmail.com>2014-11-10 14:51:55 +0800
commitb9a36b15bff6a6fc0bb7f8bf6e7361dac3919e78 (patch)
tree634c74ffe9f7240938d1079c0106a2e2e82ddbc7 /src/script/sigcache.cpp
parent7b7c86616006a5047ae07085e26c40e3606f60c5 (diff)
downloadbitcoin-b9a36b15bff6a6fc0bb7f8bf6e7361dac3919e78.tar.xz
Make comments in /src/script doxygen compatible
Diffstat (limited to 'src/script/sigcache.cpp')
-rw-r--r--src/script/sigcache.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/script/sigcache.cpp b/src/script/sigcache.cpp
index d76a5acd63..5580a5933e 100644
--- a/src/script/sigcache.cpp
+++ b/src/script/sigcache.cpp
@@ -15,13 +15,15 @@
namespace {
-// Valid signature cache, to avoid doing expensive ECDSA signature checking
-// twice for every transaction (once when accepted into memory pool, and
-// again when accepted into the block chain)
+/**
+ * Valid signature cache, to avoid doing expensive ECDSA signature checking
+ * twice for every transaction (once when accepted into memory pool, and
+ * again when accepted into the block chain)
+ */
class CSignatureCache
{
private:
- // sigdata_type is (signature hash, signature, public key):
+ //! sigdata_type is (signature hash, signature, public key):
typedef boost::tuple<uint256, std::vector<unsigned char>, CPubKey> sigdata_type;
std::set< sigdata_type> setValid;
boost::shared_mutex cs_sigcache;