aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2014-02-26 13:52:56 -0500
committerGavin Andresen <[email protected]>2014-02-26 13:52:56 -0500
commitae7e5d7cebd9466d0c095233c9273e72e88fede1 (patch)
treef6431a42b65c7318b891407fd1812f58e84078ab /src/script.h
parentMerge pull request #3735 from laanwj/2014_02_remove_PRIx64_completely (diff)
parentscript: reduce OP_RETURN standard relay bytes to 40 (diff)
downloaddiscoin-ae7e5d7cebd9466d0c095233c9273e72e88fede1.tar.xz
discoin-ae7e5d7cebd9466d0c095233c9273e72e88fede1.zip
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 335ddfb1b..657ac0b38 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