22 #include <boost/test/unit_test.hpp> Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
BOOST_AUTO_TEST_CASE(jsToPublic)
Simple class that represents a "key pair".
std::hash for asio::adress
Secret const & secret() const
Public const & pub() const
Retrieve the public key.
FixedHash< T > const & makeInsecure() const
std::string toJS(FixedHash< S > const &_h)
Address jsToAddress(std::string const &_s)
Leniently convert string to Address (h160). Accepts integers, "0x" prefixing, non-exact length...
Public jsToPublic(std::string const &_s)
Leniently convert string to Public (h512). Accepts integers, "0x" prefixing, non-exact length...
Address const & address() const
Retrieve the associated address of the public key.
#define BOOST_FIXTURE_TEST_SUITE(a, b)
#define BOOST_CHECK_EQUAL(v1, v2)
#define BOOST_AUTO_TEST_SUITE_END()
struct evm_uint160be address(struct evm_env *env)
Helper functions to work with json::spirit and test files.
Secret jsToSecret(std::string const &_s)
Leniently convert string to Secret (h256). Accepts integers, "0x" prefixing, non-exact length...