diff options
| author | MarcoFalke <[email protected]> | 2015-11-09 19:16:38 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2015-11-28 19:01:11 +0100 |
| commit | faf93f37fe47fe326fcc4955302a66f24eb13b65 (patch) | |
| tree | a1f2ed7942c30233341f58f85cff6eaf2e14cb5e /src/script | |
| parent | Bugfix: Omit wallet-related options from -help when wallet is not supported (diff) | |
| download | discoin-faf93f37fe47fe326fcc4955302a66f24eb13b65.tar.xz discoin-faf93f37fe47fe326fcc4955302a66f24eb13b65.zip | |
[trivial] Reuse translation and cleanup DEFAULT_* values
* DEFAULT_DISABLE_SAFEMODE = false
* Use DEFAULT_* constants for extern bools
Diffstat (limited to 'src/script')
| -rw-r--r-- | src/script/standard.cpp | 2 | ||||
| -rw-r--r-- | src/script/standard.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/script/standard.cpp b/src/script/standard.cpp index 60cf7ae49..4863b9639 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -16,7 +16,7 @@ using namespace std; typedef vector<unsigned char> valtype; -bool fAcceptDatacarrier = true; +bool fAcceptDatacarrier = DEFAULT_ACCEPT_DATACARRIER; 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 140306861..2b9fbe78d 100644 --- a/src/script/standard.h +++ b/src/script/standard.h @@ -13,6 +13,8 @@ #include <stdint.h> +static const bool DEFAULT_ACCEPT_DATACARRIER = true; + class CKeyID; class CScript; |