Bitcoin Forum
May 24, 2024, 03:25:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to debug bitcoin core(0.18) code about Mining ?  (Read 106 times)
maplelake (OP)
Jr. Member
*
Offline Offline

Activity: 47
Merit: 8


View Profile
November 16, 2019, 10:36:28 PM
 #1

What is the entry function for mining ? And what param is for mining when launch bitcoind.exe ?

Thanks
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5624


Self-proclaimed Genius


View Profile
November 17, 2019, 03:48:05 AM
 #2

Is this for testing or "real mining"?
Because the internal miner was removed since: v0.13.0 (release note: https://bitcoin.org/en/release/v0.13.0#removal-of-internal-miner).
Although there's a RPC call for testing purposes and reasons written in the link.

Code? it's still in github: https://github.com/bitcoin/bitcoin/blob/master/src/miner.cpp | miner.h.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!