Author

Topic: How to modify bitcoind? My changes dont seem to take effect? (Read 162 times)

legendary
Activity: 4214
Merit: 1313
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.
jr. member
Activity: 126
Merit: 2
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!
legendary
Activity: 4214
Merit: 1313
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.
jr. member
Activity: 126
Merit: 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!
Jump to: