aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2013-01-18 13:55:18 -0500
committerMatt Corallo <[email protected]>2013-01-18 13:55:18 -0500
commit192cc910ec7cade1d0dce7f3b111e7fc7720e607 (patch)
tree80ec8fa7dccf8c48f17f5ef0edd6ab4d81be742a /src/script.h
parentSend transactions after a CMerkleBlock when asked for it in an inv. (diff)
downloaddiscoin-192cc910ec7cade1d0dce7f3b111e7fc7720e607.tar.xz
discoin-192cc910ec7cade1d0dce7f3b111e7fc7720e607.zip
Replace 520 constant with MAX_SCRIPT_ELEMENT_SIZE
Diffstat (limited to 'src/script.h')
-rw-r--r--src/script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script.h b/src/script.h
index 0b481eb60..4b29f6273 100644
--- a/src/script.h
+++ b/src/script.h
@@ -17,6 +17,8 @@
class CCoins;
class CTransaction;
+static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 520; // bytes
+
/** Signature hash types/flags */
enum
{