Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <wallet/wallet.h>
#include <set>
#include <stdint.h>
#include <utility>
#include <vector>
#include <consensus/validation.h>
#include <consensus/consensus.h>
#include <rpc/server.h>
#include <test/test_fabcoin.h>
#include <validation.h>
#include <wallet/coincontrol.h>
#include <wallet/test/wallet_test_fixture.h>
#include <boost/test/unit_test.hpp>
#include <univalue.h>
#include <timedata.h>
#include <random.h>
Go to the source code of this file.
Classes | |
class | ListCoinsTestingSetup |
Macros | |
#define | RUN_TESTS 100 |
#define | RANDOM_REPEATS 5 |
Typedefs | |
typedef std::set< CInputCoin > | CoinSet |
Functions | |
UniValue | importmulti (const JSONRPCRequest &request) |
UniValue | dumpwallet (const JSONRPCRequest &request) |
UniValue | importwallet (const JSONRPCRequest &request) |
BOOST_AUTO_TEST_CASE (coin_selection_tests) | |
BOOST_AUTO_TEST_CASE (ApproximateBestSubset) | |
BOOST_FIXTURE_TEST_CASE (rescan, TestChain800Setup) | |
BOOST_FIXTURE_TEST_CASE (importwallet_rescan, TestChain800Setup) | |
BOOST_FIXTURE_TEST_CASE (coin_mark_dirty_immature_credit, TestChain800Setup) | |
BOOST_AUTO_TEST_CASE (ComputeTimeSmart) | |
BOOST_AUTO_TEST_CASE (LoadReceiveRequests) | |
BOOST_FIXTURE_TEST_CASE (ListCoins, ListCoinsTestingSetup) | |
Variables | |
CWallet * | pwalletMain |
std::vector< std::unique_ptr< CWalletTx > > | wtxn |
#define RANDOM_REPEATS 5 |
Definition at line 37 of file wallet_tests.cpp.
#define RUN_TESTS 100 |
Definition at line 33 of file wallet_tests.cpp.
typedef std::set<CInputCoin> CoinSet |
Definition at line 41 of file wallet_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | coin_selection_tests | ) |
BOOST_AUTO_TEST_CASE | ( | ApproximateBestSubset | ) |
BOOST_AUTO_TEST_CASE | ( | ComputeTimeSmart | ) |
BOOST_AUTO_TEST_CASE | ( | LoadReceiveRequests | ) |
BOOST_FIXTURE_TEST_CASE | ( | rescan | , |
TestChain800Setup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | importwallet_rescan | , |
TestChain800Setup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | coin_mark_dirty_immature_credit | , |
TestChain800Setup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | ListCoins | , |
ListCoinsTestingSetup | |||
) |
UniValue dumpwallet | ( | const JSONRPCRequest & | request | ) |
Definition at line 588 of file rpcdump.cpp.
UniValue importmulti | ( | const JSONRPCRequest & | request | ) |
Definition at line 1030 of file rpcdump.cpp.
UniValue importwallet | ( | const JSONRPCRequest & | request | ) |
Definition at line 446 of file rpcdump.cpp.
CWallet* pwalletMain |
Definition at line 11 of file wallet_test_fixture.cpp.
std::vector<std::unique_ptr<CWalletTx> > wtxn |
Definition at line 39 of file wallet_tests.cpp.