From 86155bfa34ccc95c8888680f631dd5270708fa09 Mon Sep 17 00:00:00 2001 From: Michel van Kessel Date: Sat, 9 Nov 2019 10:28:29 +0100 Subject: [PATCH] set default datacarriersize to 15000 as per old code https://github.com/CoinBlack/blackcoin/commit/c1297b17431e6a084faba70b422955d2e10f2e2e --- src/script/standard.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/script/standard.h b/src/script/standard.h index 803c80417..45e016424 100644 --- a/src/script/standard.h +++ b/src/script/standard.h @@ -27,7 +27,7 @@ public: CScriptID(const uint160& in) : uint160(in) {} }; -static const unsigned int MAX_OP_RETURN_RELAY = 83; //!< bytes (+1 for OP_RETURN, +2 for the pushdata opcodes) +static const unsigned int MAX_OP_RETURN_RELAY = 15000; //!< bytes (+1 for OP_RETURN, +2 for the pushdata opcodes) extern bool fAcceptDatacarrier; extern unsigned nMaxDatacarrierBytes; @@ -36,7 +36,7 @@ extern unsigned nMaxDatacarrierBytes; * them to be valid. (but old blocks may not comply with) Currently just P2SH, * but in the future other flags may be added, such as a soft-fork to enforce * strict DER encoding. - * + * * Failing one of these tests may trigger a DoS ban - see CheckInputs() for * details. */ @@ -64,7 +64,7 @@ public: friend bool operator<(const CNoDestination &a, const CNoDestination &b) { return true; } }; -/** +/** * A txout script template with a specific destination. It is either: * * CNoDestination: no destination set * * CKeyID: TX_PUBKEYHASH destination