![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "test/test_pivx.h"#include "policy/feerate.h"#include "txmempool.h"#include "util/system.h"#include <boost/test/unit_test.hpp>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (MempoolRemoveTest) | |
| template<typename name > | |
| void | CheckSort (CTxMemPool &pool, std::vector< std::string > &sortedOrder) |
| BOOST_AUTO_TEST_CASE (MempoolIndexingTest) | |
| BOOST_AUTO_TEST_CASE (MempoolAncestorIndexingTest) | |
| BOOST_AUTO_TEST_CASE (MempoolSizeLimitTest) | |
| BOOST_AUTO_TEST_CASE | ( | MempoolAncestorIndexingTest | ) |
Definition at line 318 of file mempool_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | MempoolIndexingTest | ) |
tx8 and tx9 should both now be sorted higher Final order after tx10 is added:
tx3 = 0 (1) tx5 = 10000 (1) tx1 = 10000 (1) tx4 = 15000 (1) tx2 = 20000 (1) tx9 = 200k (2 txs) tx8 = 200k (2 txs) tx10 = 200k (1 tx) tx6 = 2.2M (5 txs) tx7 = 2.2M (4 txs)
Definition at line 117 of file mempool_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | MempoolRemoveTest | ) |
| BOOST_AUTO_TEST_CASE | ( | MempoolSizeLimitTest | ) |
Definition at line 429 of file mempool_tests.cpp.
| void CheckSort | ( | CTxMemPool & | pool, |
| std::vector< std::string > & | sortedOrder | ||
| ) |