Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/util.cpp
// Copyright (c) 2017-2019 The Bitcoin Core developers | // Copyright (c) 2017-2019 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <rpc/util.h> | #include <rpc/util.h> | ||||
#include <key_io.h> | #include <key_io.h> | ||||
#include <pubkey.h> | #include <pubkey.h> | ||||
#include <script/signingprovider.h> | #include <script/signingprovider.h> | ||||
#include <tinyformat.h> | #include <tinyformat.h> | ||||
#include <util/strencodings.h> | #include <util/strencodings.h> | ||||
#include <util/string.h> | #include <util/string.h> | ||||
#include <univalue.h> | |||||
#include <tuple> | #include <tuple> | ||||
#include <boost/variant/static_visitor.hpp> | #include <boost/variant/static_visitor.hpp> | ||||
void RPCTypeCheck(const UniValue ¶ms, | void RPCTypeCheck(const UniValue ¶ms, | ||||
const std::list<UniValueType> &typesExpected, | const std::list<UniValueType> &typesExpected, | ||||
bool fAllowNull) { | bool fAllowNull) { | ||||
unsigned int i = 0; | unsigned int i = 0; | ||||
▲ Show 20 Lines • Show All 707 Lines • Show Last 20 Lines |