Post
Topic
Board Altcoin Discussion
Re: *** Complete Guide on How to Create a New Alt Coin – Update 2019 ***
by
DarkArrow
on 22/05/2021, 02:33:01 UTC
Code:
chainparams.cpp:27:5: error: ‘arith_uint256’ was not declared in this scope
errors for more than just line 27. What I'm doing to put your code into chainparams.cpp, is copy and pasting https://raw.githubusercontent.com/NicolasChoukroun/altcoin-genesis/master/creategenesis.cpp under all of the #include in chainparams.cpp. There is probably something I'm doing wrong here, and I'm way too new to C++ to know what I'm doing wrong. Any help would be greatly appreciated!

You need to add this before the mining function
Code:
#include <arith_uint256.h>