The Mining interface is designed with Stratum v2 in mind, and can likely also be used to incrementally improve Statum “v1” applications.
Ocean recently announced DATUM. So far it’s proprietary and undocumented, but hopefully that changes. It could be a good test for the generality of the Mining interface to see if the DATUM gateway requires any additional methods.
Here’s the current interface:
Where createNewBlock
returns:
Additionally #30955 proposes to add getCoinbaseMerklePath()
and submitSolution()
, and https://github.com/Sjors/bitcoin/pull/52 proposes to add waitFeesChanged
.
cc @luke-jr