I’m writing a thesis on Bitcoin system and as a part of my assignment i have to explore Bitcoin-core source code.
I ‘ve downloaded the code, compiled it and manage to run it.
However, I wanted to make a trivial change to the code and add some simple custom command as part of blockchain.cpp.
Problem is that my changes are not visible after i run make and when I run bitcoin-cli -testnet .
I always get:
error code: -32601
Method not found
Also, i tried commenting out one already functional method and tried to run bitcoin-cli and calling that function and it runs successfully.
NOTE: command “make” runs smoothly and it does detect errors if there are any.
Can someone explain me what is a proper way to make change to bitcoin-core? I am not planning to push any of those changes to master branch, I’m just interested in experimenting with code.
Thanks in advance 🙂