aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2013-01-18 13:55:18 -0500
committerMatt Corallo <git@bluematt.me>2013-01-18 13:55:18 -0500
commit192cc910ec7cade1d0dce7f3b111e7fc7720e607 (patch)
tree80ec8fa7dccf8c48f17f5ef0edd6ab4d81be742a /src/script.h
parent28b80e6065fb3ada78a6ea49faf2912beb59ca27 (diff)
downloadbitcoin-192cc910ec7cade1d0dce7f3b111e7fc7720e607.tar.xz
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 0b481eb605..4b29f6273c 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
{