External guessers

โš“ Neptune    ๐Ÿ“… 2025-03-12    ๐Ÿ‘ค sword_smith    ๐Ÿ‘๏ธ 169      

sword_smith

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-pools

sword_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.

1