Changeset View
Changeset View
Standalone View
Standalone View
src/bench/ccoins_caching.cpp
// Copyright (c) 2016 The Bitcoin Core developers | // Copyright (c) 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 "coins.h" | #include <coins.h> | ||||
#include "policy/policy.h" | #include <policy/policy.h> | ||||
#include "wallet/crypter.h" | #include <wallet/crypter.h> | ||||
#include <vector> | #include <vector> | ||||
// FIXME: Dedup with SetupDummyInputs in test/transaction_tests.cpp. | // FIXME: Dedup with SetupDummyInputs in test/transaction_tests.cpp. | ||||
// | // | ||||
// Helper: create two dummy transactions, each with | // Helper: create two dummy transactions, each with | ||||
// two outputs. The first has 11 and 50 CENT outputs | // two outputs. The first has 11 and 50 CENT outputs | ||||
// paid to a TX_PUBKEY, the second 21 and 22 CENT outputs | // paid to a TX_PUBKEY, the second 21 and 22 CENT outputs | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |