aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-02-26 12:58:08 -0500
committerJeff Garzik <jgarzik@bitpay.com>2014-02-26 12:58:08 -0500
commit8175c790eb12f0b0ca3197895a6d1d479b340b67 (patch)
tree50a6bf0be4d4070df1f1b40da3e7e68bf32d3d4c /src/script.h
parentc72204e5686cbfc363e455d8984f266f04e87b3e (diff)
downloadbitcoin-8175c790eb12f0b0ca3197895a6d1d479b340b67.tar.xz
script: reduce OP_RETURN standard relay bytes to 40
Per mailing list discussion.
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