Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/protocol.cpp
// 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 | ||||
// 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/protocol.h> | #include <rpc/protocol.h> | ||||
#include <random.h> | #include <random.h> | ||||
#include <tinyformat.h> | #include <tinyformat.h> | ||||
#include <util.h> | #include <util/strencodings.h> | ||||
#include <utilstrencodings.h> | #include <util/system.h> | ||||
#include <utiltime.h> | #include <util/time.h> | ||||
#include <version.h> | #include <version.h> | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <fstream> | #include <fstream> | ||||
/** | /** | ||||
* JSON-RPC protocol. Bitcoin speaks version 1.0 for maximum compatibility, but | * JSON-RPC protocol. Bitcoin speaks version 1.0 for maximum compatibility, but | ||||
* uses JSON-RPC 1.1/2.0 standards for parts of the 1.0 standard that were | * uses JSON-RPC 1.1/2.0 standards for parts of the 1.0 standard that were | ||||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |