Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start the daemon to print out the genesis block #337

Open
jatro17 opened this issue Jan 29, 2021 · 2 comments
Open

Start the daemon to print out the genesis block #337

jatro17 opened this issue Jan 29, 2021 · 2 comments

Comments

@jatro17
Copy link

jatro17 commented Jan 29, 2021

Start the daemon to print out the genesis block Run your daemon with --print-genesis-tx argument. It will print out the genesis block coinbase transaction hash. Example: furiouscoind --print-genesis-tx.

I have been trying to understand how to do the this step in github.com
I have been able to go to the src/daemon then I go to Regulus/src/Daemon/Daemon.cpp but from there I'm lost, I'm new and if you can explain step by step I would appreciate it a lot.

@booth-f
Copy link

booth-f commented Feb 3, 2021

It is not possible to do this from within the Github website itself. You will have to compile the code on your computer and run the daemon locally in order to generate your genesis block.

Currently there is an active issue when trying to build the source on a more modern compiler that results in an error for "writing to an object of non-trivially copyable type" and until someone is able to propose a fix we won't be able to build the daemon to generate the genesis block.

@JoshuaPaulBarnard
Copy link

JoshuaPaulBarnard commented Oct 5, 2023

How to Compile a CryptoNote Coin on Windows 10/11

There has been an active issue for over 5 years now when trying to build the source on modern compilers.

Here is how I was able to compile my CryptoNote Coin using Windows 10.
You can also check for any updates to this guide at my blog: https://joshuapaulbarnard.tech.blog/2023/10/04/how-to-compile-a-cryptonote-coin-on-windows-10-11/

I made this guide on Windows 10 in October, 2023.

If you need help compiling on Linux, then you can check my Ubuntu 14/16 guide.

WINDOWS DEPENDENCIES FOR CRYPTONOTE

We are going to build for 64-bit Windows.

Download the Build Tools for Visual Studio 2019 Installer
When it opens up select C++ build tools, it automatically selects the needed parts. Make sure MSVC v141 Build Tools is selected.
Install Boost v1.71.0. Select the appropriate version for your system.
Boost 64-bit

COMPILING CRYPTONOTE ON WINDOWS WITH VS2019

From the start menu, open Developer Command Prompt for VS 2019.
cd <your_cryptonote_directory>
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -A x64 .. -DBOOST_ROOT=B:/local/boost_1_71_0
MSBuild CryptoNote.sln /p:Configuration=Release /p:PlatformToolset=v141 /m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants