Changeset View
Changeset View
Standalone View
Standalone View
src/rest.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-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 "chain.h" | #include <chain.h> | ||||
#include "chainparams.h" | #include <chainparams.h> | ||||
#include "config.h" | #include <config.h> | ||||
#include "core_io.h" | #include <core_io.h> | ||||
#include "httpserver.h" | #include <httpserver.h> | ||||
#include "primitives/block.h" | #include <primitives/block.h> | ||||
#include "primitives/transaction.h" | #include <primitives/transaction.h> | ||||
#include "rpc/blockchain.h" | #include <rpc/blockchain.h> | ||||
#include "rpc/server.h" | #include <rpc/server.h> | ||||
#include "rpc/tojson.h" | #include <rpc/tojson.h> | ||||
#include "streams.h" | #include <streams.h> | ||||
#include "sync.h" | #include <sync.h> | ||||
#include "txmempool.h" | #include <txmempool.h> | ||||
#include "utilstrencodings.h" | #include <utilstrencodings.h> | ||||
#include "validation.h" | #include <validation.h> | ||||
#include "version.h" | #include <version.h> | ||||
#include <boost/algorithm/string.hpp> | #include <boost/algorithm/string.hpp> | ||||
#include <univalue.h> | #include <univalue.h> | ||||
// Allow a max of 15 outpoints to be queried at once. | // Allow a max of 15 outpoints to be queried at once. | ||||
static const size_t MAX_GETUTXOS_OUTPOINTS = 15; | static const size_t MAX_GETUTXOS_OUTPOINTS = 15; | ||||
▲ Show 20 Lines • Show All 678 Lines • Show Last 20 Lines |