user32892: I know of the testnet Bitcoin provides, but is there any framework or simulator of the Bitcoin network which I can use to test on my local machine? I would like to edit parts of the code and simulate the responses of the real network without actually interacting with it.

user5406: There is a section in the Bitcoin Developer Guide on Testing Applications. The section you are interested in is likely to be Regtest.

32892: <p>I know of the testnet Bitcoin provides, but is there any framework or simulator of the Bitcoin network which I can use to test on my local machine? I would like to edit parts of the code and simulate the responses of the real network without actually interacting with it.</p>
 5406: <p>There is a section in the Bitcoin Developer Guide on Testing Applications. The section you are interested in is likely to be <a href="https://bitcoin.org/en/developer-examples#testing-applications" rel="nofollow">Regtest</a>.</p>
