Bitcoin Forum
May 04, 2024, 02:56:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to modify bitcoind? My changes dont seem to take effect?  (Read 141 times)
ViperGuyMike (OP)
Jr. Member
*
Offline Offline

Activity: 126
Merit: 2


View Profile
January 28, 2018, 01:51:02 PM
 #1

Please forgive me if this is a common question, but I haven't been able to find an answer by searching. If you clone the Bitcoin core repo and make changes, how can you test it? Making changes to the files such as improving error messages for debugging don't seem to do anything when mining from my pool? I still get the original unaltered error messages? I read the developers guide thinking maybe the code is executed on the remote peer side, or maybe compiled from the repo each time you run bitcoind, or even that you must build bitcoind to implement the changes, but I didn't see this mentioned anywhere in any of my reading? Any help, guidance, or suggested reading would be appreciated!
1714834570
Hero Member
*
Offline Offline

Posts: 1714834570

View Profile Personal Message (Offline)

Ignore
1714834570
Reply with quote  #2

1714834570
Report to moderator
1714834570
Hero Member
*
Offline Offline

Posts: 1714834570

View Profile Personal Message (Offline)

Ignore
1714834570
Reply with quote  #2

1714834570
Report to moderator
1714834570
Hero Member
*
Offline Offline

Posts: 1714834570

View Profile Personal Message (Offline)

Ignore
1714834570
Reply with quote  #2

1714834570
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714834570
Hero Member
*
Offline Offline

Posts: 1714834570

View Profile Personal Message (Offline)

Ignore
1714834570
Reply with quote  #2

1714834570
Report to moderator
1714834570
Hero Member
*
Offline Offline

Posts: 1714834570

View Profile Personal Message (Offline)

Ignore
1714834570
Reply with quote  #2

1714834570
Report to moderator
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1299


View Profile
January 28, 2018, 01:59:25 PM
 #2

Please forgive me if this is a common question, but I haven't been able to find an answer by searching. If you clone the Bitcoin core repo and make changes, how can you test it? Making changes to the files such as improving error messages for debugging don't seem to do anything when mining from my pool? I still get the original unaltered error messages? I read the developers guide thinking maybe the code is executed on the remote peer side, or maybe compiled from the repo each time you run bitcoind, or even that you must build bitcoind to implement the changes, but I didn't see this mentioned anywhere in any of my reading? Any help, guidance, or suggested reading would be appreciated!

Have you built it after the changes to source?  Have you thereafter installed it?  Are you running it on the server you are using for the pool?  What OS?  

Instructions to build are here:
https://github.com/bitcoin/bitcoin/tree/master/doc

If you merely edit the source, and do nothing else, you won’t have made any changes to the object code that you then run.
ViperGuyMike (OP)
Jr. Member
*
Offline Offline

Activity: 126
Merit: 2


View Profile
January 28, 2018, 02:16:09 PM
 #3

Thank-you for the reply, I re-cloned my fork from github and ran the make command in the src folder and now my changes have taken effect. Thanks again for the help!
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1299


View Profile
January 28, 2018, 02:30:24 PM
 #4

Thank-you for the reply, I re-cloned my fork from github and ran the make command in the src folder and now my changes have taken effect. Thanks again for the help!

Great!   A good start to development is playing with the source.
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!