Warning
This post was published 59 days ago. The infomation described in this article may have changed.
A user on Telegram asked me for pointers on how to run guessers in other programs than the neptune-core blockchain client.
For this purpose, we have added three endpoints to the RPC server: pow_puzzle_external_key
, pow_puzzle_internal_key
, and provide_pow_solution
. The data structure ProofOfWorkPuzzle
contains the data necessary to do proof-of-work hashing, and the fastest way that I know of to do that on a CPU is through the function fast_kernel_mast_hash
which is defined in mine_loop.rs
.
For those who havenโt been following this project for long, mining consists of two parts: composing and guessing. The network only needs a few extremely high performing machines to do composition. So if you want to mine Neptune coins but you donโt own an AMD Threadripper 7995wx or an even more powerful machine, guessing is what you should go for.
Happy to answer any questions you may have.
๐ท๏ธ guessing ๐ท๏ธ mining ๐ท๏ธ mining-poolssword_smith 2025-03-12 ๐ 1 ๐ [op]
Note that the function names above are actually links to the source code on GitHub, to functions or interface definitions. We really should start to use some better forum software soon if it canโt even show links :D
Also: Iโve linked to the interface definitions for the RPC server. If you want to see the actual code, scroll further down in the rpc_server.rs
file.