[trivial] Reuse translation and cleanup DEFAULT_* values

* DEFAULT_DISABLE_SAFEMODE = false
* Use DEFAULT_* constants for extern bools
This commit is contained in:
MarcoFalke
2015-11-09 19:16:38 +01:00
parent 3307bdb333
commit faf93f37fe
11 changed files with 42 additions and 28 deletions

View File

@@ -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())) {}