Changeset View
Changeset View
Standalone View
Standalone View
src/bench/mempool_eviction.cpp
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-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 "bench.h" | #include <bench/bench.h> | ||||
#include "policy/policy.h" | #include <policy/policy.h> | ||||
#include "txmempool.h" | #include <txmempool.h> | ||||
#include <list> | #include <list> | ||||
#include <vector> | #include <vector> | ||||
static void AddTx(const CTransaction &tx, const Amount &nFee, | static void AddTx(const CTransaction &tx, const Amount &nFee, | ||||
CTxMemPool &pool) { | CTxMemPool &pool) { | ||||
int64_t nTime = 0; | int64_t nTime = 0; | ||||
double dPriority = 10.0; | double dPriority = 10.0; | ||||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |