Move this two non-consensus functions out of pow.o (which will become part of the consensus building module/package, see #7091 ):
- GetBlockProof
- GetBlockProofEquivalentTime
utACK ff97050
We test these functions in test/pow_tests.cpp. OK to keep them there?
ACK
ACK Can confirm as move-only (ff97050913206522b22ef80d4241b82a8aba27f0).
utACK ff97050
@paveljanik I'm focusing on putting all the code in the consensus building package first and we can take care of the tests when the C API is complete and we separate libconsensus to its own repository like libsecp256k1. So, yes, we should separate the tests at some point, but I'll leave that of the scope of this PR for now.
Added a "squashme" commit with @paveljanik 's nit.
re-ACK @ 270b60e
utACK 270b60e
utACK 270b60e97ee2c2d18de97875069307714fe79d07
Confirmed move-only.
- GetBlockProof
- GetBlockProofEquivalentTime
re-ACK e867561 (rebase of 270b60e )
reACK e867561
utACK
utACK e867561