forked from lthn/blockchain
crypto: H2 introduced, functional tests main's clean-up
This commit is contained in:
parent
b9ccb10287
commit
319d53f7cf
3 changed files with 2 additions and 3 deletions
|
|
@ -21,6 +21,7 @@ namespace crypto
|
|||
const scalar_t c_scalar_1div8 = { 0x6106e529e2dc2f79, 0x07d39db37d1cdad0, 0x0, 0x0600000000000000 };
|
||||
|
||||
const point_t c_point_H = { 0x05087c1f5b9b32d6, 0x00547595f445c3b5, 0x764df64578552f2a, 0x8a49a651e0e0da45 }; // == Hp(G), this is being checked in bpp_basics
|
||||
const point_t c_point_H2 = { 0x70c8d1ab9dbf1cc0, 0xc561bb12639a8516, 0x3cfff1def9e5b268, 0xe0936386f3bcce1a }; // == Hp("h2_generator"), cheched in bpp_basics
|
||||
const point_t c_point_0 = point_t(point_t::tag_zero());
|
||||
|
||||
} // namespace crypto
|
||||
|
|
|
|||
|
|
@ -897,6 +897,7 @@ namespace crypto
|
|||
extern const point_g_t c_point_G;
|
||||
|
||||
extern const point_t c_point_H;
|
||||
extern const point_t c_point_H2;
|
||||
extern const point_t c_point_0;
|
||||
|
||||
//
|
||||
|
|
|
|||
|
|
@ -66,9 +66,6 @@ int main(int argc, char* argv[])
|
|||
TRY_ENTRY();
|
||||
string_tools::set_module_name_and_folder(argv[0]);
|
||||
|
||||
uint64_t reward = 0;
|
||||
currency::get_block_reward(false, 500000, 589313, 10300000000000000, reward, 11030);
|
||||
|
||||
//set up logging options
|
||||
//log_space::get_set_log_detalisation_level(true, LOG_LEVEL_1);
|
||||
//log_space::log_singletone::add_logger(LOGGER_CONSOLE, NULL, NULL, LOG_LEVEL_2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue