stratum-mining / stratum

stratum
https://stratumprotocol.org
Other
207 stars 122 forks source link

SRI Integration Test Framework: `bitcoind` #1119

Open plebhash opened 3 weeks ago

plebhash commented 3 weeks ago

The second stage of #1120

Requirements:

This should be useful for tests where orchestrating a bitcoind process in regtest mode is sufficient.

There might be instances however where this is not sufficient. For example, we might want to assert some role’s behavior against an invalid template, which would be rather difficult to generate by simply orchestrating a bitcoind process without access to its internal C++ APIs.

For scenarios where this approach is not sufficient, a TP mock will be required (mocks are detailed #1122).

plebhash commented 3 weeks ago

@jbesraa should we aim to do this together with #1066 or separate PRs?

Shourya742 commented 3 weeks ago

@plebhash Once the #1066 branch is fixed, I can push my changes as a PR to it.