Skip to content

Instantly share code, notes, and snippets.

@bhok
bhok / gist:6ba3565a94ae1462516ea65d0d2a8774
Created January 30, 2019 16:04 — forked from omarbaruzzo/gist:a86a65d890ed823013315ea2d3727c2d
GenesisCalculator - code to be included in chainparams.cpp to calculate the genesis block, nnonce, merkle root etc.
#include "arith_uint256.h"//Mod.
//----------------------------------------------------------------------------------------------------------
//Mod.
/*
// calcolo del Blocco Genesi
// Resettiamo il valore del blocco
consensus.hashGenesisBlock = uint256S("0x");
std::cout << std::string("Iniziamo a calcolare il blocco:\n");
if (true && (genesis.GetHash() != consensus.hashGenesisBlock)) {
@bhok
bhok / 0x814Ae9535bbeEE307ee913Df99b9E3d1b0FFFb2A
Created October 26, 2017 11:40
0x814Ae9535bbeEE307ee913Df99b9E3d1b0FFFb2A
0x814Ae9535bbeEE307ee913Df99b9E3d1b0FFFb2A