Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/server.h
// Copyright (c) 2010 Satoshi Nakamoto | // Copyright (c) 2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Copyright (c) 2017-2019 The Bitcoin developers | // Copyright (c) 2017-2019 The Bitcoin 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. | ||||
#ifndef BITCOIN_RPC_SERVER_H | #ifndef BITCOIN_RPC_SERVER_H | ||||
#define BITCOIN_RPC_SERVER_H | #define BITCOIN_RPC_SERVER_H | ||||
#include <amount.h> | #include <amount.h> | ||||
#include <rpc/command.h> | #include <rpc/command.h> | ||||
#include <rpc/protocol.h> | |||||
#include <rpc/request.h> | #include <rpc/request.h> | ||||
#include <rwcollection.h> | #include <rwcollection.h> | ||||
#include <uint256.h> | #include <uint256.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <univalue.h> | |||||
#include <boost/noncopyable.hpp> | |||||
#include <cstdint> | #include <cstdint> | ||||
#include <functional> | #include <functional> | ||||
#include <list> | #include <list> | ||||
#include <map> | #include <map> | ||||
#include <string> | #include <string> | ||||
#include <boost/noncopyable.hpp> | |||||
#include <univalue.h> | |||||
static const unsigned int DEFAULT_RPC_SERIALIZE_VERSION = 1; | static const unsigned int DEFAULT_RPC_SERIALIZE_VERSION = 1; | ||||
class CRPCCommand; | class CRPCCommand; | ||||
namespace RPCServerSignals { | namespace RPCServerSignals { | ||||
void OnStarted(std::function<void()> slot); | void OnStarted(std::function<void()> slot); | ||||
void OnStopped(std::function<void()> slot); | void OnStopped(std::function<void()> slot); | ||||
} // namespace RPCServerSignals | } // namespace RPCServerSignals | ||||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |