Author: Matt Corallo 2013-04-05 17:33:43
Published on: 2013-04-05T17:33:43+00:00
The BlueMatt test-scripts run on each pull request and new commit to master, testing block acceptance rules. A 2013 post by Adam Ritter on the Bitcoin-development mailing list proposed integration testing for Bitcoin. He believed it would make the code more stable, enable testing of attack scenarios, and allow easier refactoring and extension of code. Ritter's plan can be found on a GitHub repository proposal. The first implementation should use JSON-RPC interface and build up as much verification of BitCoin network as possible in C++. The second implementation should use the same interface but leverage the BitCoin code directly. For this, the BitCoin client has to be refactored as a library getting rid of all global variables so that multiple BitCoin clients can be run in the same process. The improvement of the second implementation should have dependency injection for time and finding/verifying a mined block.
Updated on: 2023-05-19T16:43:46.368941+00:00