#include "test_pivx.h"
#include "bls/bls_wrapper.h"
#include "budget/budgetmanager.h"
#include "masternode-payments.h"
#include "spork.h"
#include "test/util/blocksutil.h"
#include "tiertwo/tiertwo_sync_state.h"
#include "tinyformat.h"
#include "utilmoneystr.h"
#include "validation.h"
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
◆ BOOST_AUTO_TEST_CASE() [1/3]
| BOOST_AUTO_TEST_CASE |
( |
budget_value |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/3]
| BOOST_AUTO_TEST_CASE |
( |
fbv_signverify_bls |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/3]
| BOOST_AUTO_TEST_CASE |
( |
masternode_value |
| ) |
|
◆ BOOST_FIXTURE_TEST_CASE() [1/5]
◆ BOOST_FIXTURE_TEST_CASE() [2/5]
◆ BOOST_FIXTURE_TEST_CASE() [3/5]
◆ BOOST_FIXTURE_TEST_CASE() [4/5]
◆ BOOST_FIXTURE_TEST_CASE() [5/5]
| BOOST_FIXTURE_TEST_CASE |
( |
IsCoinbaseValueValid_test |
, |
|
|
TestingSetup |
|
|
) |
| |
◆ CheckBudgetValue()
| void CheckBudgetValue |
( |
int |
nHeight, |
|
|
std::string |
strNetwork, |
|
|
CAmount |
nExpectedValue |
|
) |
| |
◆ enableMnSyncAndSuperblocksPayment()
| void enableMnSyncAndSuperblocksPayment |
( |
| ) |
|
◆ forceAddFakeProposals()
| void forceAddFakeProposals |
( |
const CTxOut & |
payee1, |
|
|
const CTxOut & |
payee2 |
|
) |
| |
1) Create two proposals and two budget finalizations with a different proposal payment order: BudA pays propA and propB, BudB pays propB and propA.
2) Vote both finalization budgets, adding more votes to budA (so it becomes the most voted one).
Definition at line 168 of file budget_tests.cpp.