![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "key.h"#include "key_io.h"#include "policy/policy.h"#include "wallet/test/wallet_test_fixture.h"#include "wallet/wallet.h"#include <boost/test/unit_test.hpp>Go to the source code of this file.
Functions | |
| void | CheckValidKeyId (const CTxDestination &dest, const CKeyID &expectedKey) |
| BOOST_AUTO_TEST_CASE (extract_cold_staking_destination_keys) | |
| void | SignColdStake (CMutableTransaction &tx, int nIn, const CScript &prevScript, const CKey &key, bool fStaker) |
| BOOST_AUTO_TEST_CASE (coldstake_lof_script) | |
| BOOST_AUTO_TEST_CASE (coldstake_script) | |
| void | FakeUnlockColdStake (CMutableTransaction &tx, const CScript &prevScript, const CKey &key) |
| BOOST_AUTO_TEST_CASE (fake_script_test) | |
| BOOST_AUTO_TEST_CASE | ( | coldstake_lof_script | ) |
Definition at line 123 of file script_P2CS_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | coldstake_script | ) |
Definition at line 199 of file script_P2CS_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | extract_cold_staking_destination_keys | ) |
| BOOST_AUTO_TEST_CASE | ( | fake_script_test | ) |
Definition at line 304 of file script_P2CS_tests.cpp.
| void CheckValidKeyId | ( | const CTxDestination & | dest, |
| const CKeyID & | expectedKey | ||
| ) |
| void FakeUnlockColdStake | ( | CMutableTransaction & | tx, |
| const CScript & | prevScript, | ||
| const CKey & | key | ||
| ) |
| void SignColdStake | ( | CMutableTransaction & | tx, |
| int | nIn, | ||
| const CScript & | prevScript, | ||
| const CKey & | key, | ||
| bool | fStaker | ||
| ) |