aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2014-02-26 13:52:56 -0500
committerGavin Andresen <gavinandresen@gmail.com>2014-02-26 13:52:56 -0500
commitae7e5d7cebd9466d0c095233c9273e72e88fede1 (patch)
treef6431a42b65c7318b891407fd1812f58e84078ab /src/script.h
parente3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d (diff)
parent8175c790eb12f0b0ca3197895a6d1d479b340b67 (diff)
downloadbitcoin-ae7e5d7cebd9466d0c095233c9273e72e88fede1.tar.xz
Merge pull request #3737 from jgarzik/op-return-size
script: reduce OP_RETURN standard relay bytes to 40
Diffstat (limited to 'src/script.h')
-rw-r--r--src/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script.h b/src/script.h
index 335ddfb1b2..657ac0b388 100644
--- a/src/script.h
+++ b/src/script.h
@@ -23,6 +23,7 @@ class CKeyStore;
class CTransaction;
static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 520; // bytes
+static const unsigned int MAX_OP_RETURN_RELAY = 40; // bytes
/** Signature hash types/flags */
enum