Bitcoin Forum
May 08, 2024, 11:37:41 PM *
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
1715211461
Hero Member
*
Offline Offline

Posts: 1715211461

View Profile Personal Message (Offline)

Ignore
1715211461
Reply with quote  #2

1715211461
Report to moderator
1715211461
Hero Member
*
Offline Offline

Posts: 1715211461

View Profile Personal Message (Offline)

Ignore
1715211461
Reply with quote  #2

1715211461
Report to moderator
1715211461
Hero Member
*
Offline Offline

Posts: 1715211461

View Profile Personal Message (Offline)

Ignore
1715211461
Reply with quote  #2

1715211461
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715211461
Hero Member
*
Offline Offline

Posts: 1715211461

View Profile Personal Message (Offline)

Ignore
1715211461
Reply with quote  #2

1715211461
Report to moderator
1715211461
Hero Member
*
Offline Offline

Posts: 1715211461

View Profile Personal Message (Offline)

Ignore
1715211461
Reply with quote  #2

1715211461
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5591


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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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!