Пример #1
0
int main (int argc, char *argv[])
{
	runtest("tx3e0dc3da.json", "tx3e0dc3da.ser");

	bp_key_static_shutdown();
	return 0;
}
Пример #2
0
int main (int argc, char *argv[])
{
	runtest("data/blk0.json", "data/blk0.ser");
	runtest("data/blk120383.json", "data/blk120383.ser");

	bp_key_static_shutdown();
	return 0;
}
Пример #3
0
int main (int argc, char *argv[])
{
	runtest_encdec("base58_encode_decode.json");
	runtest_keys_valid("base58_keys_valid.json");

	bp_key_static_shutdown();
	return 0;
}
Пример #4
0
int main (int argc, char *argv[])
{
	runtest(true, "tx_valid.json");
	runtest(false, "tx_invalid.json");

	bp_key_static_shutdown();
	return 0;
}
Пример #5
0
int main (int argc, char *argv[])
{
	keytest_secp256k1();
	keytest();
	runtest();

	bp_key_static_shutdown();
	return 0;
}
Пример #6
0
int main (int argc, char *argv[])
{
	runtest("data/wallet-basics.json", "data/tn_blk35133.ser",
	    "00000000003bf8f8f24e0c5f592a38bb7c18352745ef7192f1a576d855fd6b2d",
	    "bf1938abc33cc0b4cde7d94002412b17e35e3c657689e1be7ff588f3fda8d463");

	bp_key_static_shutdown();

	return 0;
}
Пример #7
0
int main(int argc, char *argv[])
{
	unsigned int i;

	for (i = 0; i < CHAIN_LAST; i++)
		check_with_chain(&chain_metadata[i]);

	ERR_remove_state(0);
	bp_key_static_shutdown();
	return 0;
}
Пример #8
0
int main(int argc, char **argv)
{
	test_extended_key();
	test_serialize();
	test_vector_1();
	test_vector_2();

	// Keep valgrind happy
	ERR_remove_state(0);
	bp_key_static_shutdown();

	return 0;
}