Changeset View
Changeset View
Standalone View
Standalone View
src/bench/rpc_mempool.cpp
// Copyright (c) 2011-2019 The Bitcoin Core developers | // Copyright (c) 2011-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 <bench/bench.h> | #include <bench/bench.h> | ||||
#include <consensus/amount.h> | |||||
#include <rpc/blockchain.h> | #include <rpc/blockchain.h> | ||||
#include <txmempool.h> | #include <txmempool.h> | ||||
#include <univalue.h> | #include <univalue.h> | ||||
static void AddTx(const CTransactionRef &tx, const Amount &fee, | static void AddTx(const CTransactionRef &tx, const Amount &fee, | ||||
CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs) { | CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs) { | ||||
LockPoints lp; | LockPoints lp; | ||||
Show All 25 Lines |