Some miscellaneous improvements that came up when working on #21061
- The first commit is a helper to make valid mempool transactions & submit via ATMP. Introducing in this PR, using in #21061.
- The second commit is a small improvement in miner_tests.cppthat usesBOOST_REQUIRE_EQUALto properly terminate the program instead of segfaulting in the failure scenario where the blocks do not include the expected number of transactions.
- The third commit changes the function signature of GetMockTime()to return a chrono type.
- The fourth & fifth commit overload SetMockTimeto also accept chrono type, and adds documentation to indicate that theint64_tfunction signature is deprecated.