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 "utilstrencodings.h" | #include "utilstrencodings.h" | ||||
#include "utiltime.h" | #include "utiltime.h" | ||||
#include "version.h" | #include "version.h" | ||||
#include <util.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 | ||||
* unspecified (HTTP errors and contents of 'error'). | * unspecified (HTTP errors and contents of 'error'). | ||||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |