ec6902d0ea
This contains most of the changes of 10563 "remove safe mode", but doesn't remove the safe mode yet, but put an `ObserveSafeMode()` check in individual calls with okSafeMode=false. This cleans up the ugly "okSafeMode" flag from the dispatch tables, which is not a concern for the RPC server. Extra-author: Wladimir J. van der Laan <laanwj@gmail.com>
12 lines
363 B
C
12 lines
363 B
C
// Copyright (c) 2017 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_RPC_SAFEMODE_H
|
|
#define BITCOIN_RPC_SAFEMODE_H
|
|
|
|
static const bool DEFAULT_DISABLE_SAFEMODE = true;
|
|
|
|
void ObserveSafeMode();
|
|
|
|
#endif // BITCOIN_RPC_SAFEMODE_H
|