#include <compressor.h>
#include <script/script.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <stdint.h>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
◆ NUM_MULTIPLES_1BTC
#define NUM_MULTIPLES_1BTC 10000 |
◆ NUM_MULTIPLES_50BTC
#define NUM_MULTIPLES_50BTC 420000 |
◆ NUM_MULTIPLES_CENT
#define NUM_MULTIPLES_CENT 10000 |
◆ NUM_MULTIPLES_UNIT
#define NUM_MULTIPLES_UNIT 100000 |
◆ BOOST_AUTO_TEST_CASE() [1/6]
BOOST_AUTO_TEST_CASE |
( |
compress_amounts |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/6]
BOOST_AUTO_TEST_CASE |
( |
compress_p2pk_scripts_not_on_curve |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/6]
BOOST_AUTO_TEST_CASE |
( |
compress_script_to_ckey_id |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [4/6]
BOOST_AUTO_TEST_CASE |
( |
compress_script_to_compressed_pubkey_id |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [5/6]
BOOST_AUTO_TEST_CASE |
( |
compress_script_to_cscript_id |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [6/6]
BOOST_AUTO_TEST_CASE |
( |
compress_script_to_uncompressed_pubkey_id |
| ) |
|
◆ TestDecode()
static bool TestDecode |
( |
uint64_t |
in | ) |
|
|
static |
◆ TestEncode()
static bool TestEncode |
( |
uint64_t |
in | ) |
|
|
static |
◆ TestPair()
static bool TestPair |
( |
uint64_t |
dec, |
|
|
uint64_t |
enc |
|
) |
| |
|
static |