diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2015-06-27 19:21:41 +0000 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2015-11-28 18:47:29 +0100 |
commit | b966aa836a3bc5bfa1314248258308f0026d41bb (patch) | |
tree | 479a641f12deef9df483b368876cbd8ede3da5e5 /src/script | |
parent | 92aa7311d64cb1a0109d63d6bf7406c119bf94cd (diff) |
Constrain constant values to a single location in code
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/standard.cpp | 1 | ||||
-rw-r--r-- | src/script/standard.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/script/standard.cpp b/src/script/standard.cpp index bfef8afa17..60cf7ae49d 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -16,6 +16,7 @@ using namespace std; typedef vector<unsigned char> valtype; +bool fAcceptDatacarrier = true; unsigned nMaxDatacarrierBytes = MAX_OP_RETURN_RELAY; CScriptID::CScriptID(const CScript& in) : uint160(Hash160(in.begin(), in.end())) {} diff --git a/src/script/standard.h b/src/script/standard.h index ae1bbecca0..140306861a 100644 --- a/src/script/standard.h +++ b/src/script/standard.h @@ -26,6 +26,7 @@ public: }; static const unsigned int MAX_OP_RETURN_RELAY = 83; //! bytes (+1 for OP_RETURN, +2 for the pushdata opcodes) +extern bool fAcceptDatacarrier; extern unsigned nMaxDatacarrierBytes; /** |