Use generate instead of setgenerate
dexX7 opened this issue · 4 comments
dexX7 commented
The 0.13 based Omni Core currently forwards requests for setgenerate
, but ultimately OmniJ should use the new RPC generate
, to generate a block.
msgilligan commented
I thought I had already done this -- maybe I missed some cases? I'll double-check -- and I agree.
dexX7 commented
Wait, maybe I missed the update. I haven't actually tested it without the forward.
msgilligan commented
There is still some cleanup around generate
/ setgenerate
but I'm pretty sure setgenerate
is no longer being used in any of the RegTests.
I just now made some further (final?) changes in this area:
- bitcoinj-addons: ConsensusJ/consensusj@50bc610
- OmniJ: ddda1a5
dexX7 commented
Looks good to me! Even without the forward (OmniLayer/omnicore#440) the OmniJ tests pass.