Return tip time in getblockchaininfo, for some use cases this can save a call to getblock.
Backport of core#22407.
Depends on D12550.
Differential D12551
rpc: Return block time in getblockchaininfo Fabien on Nov 21 2022, 12:26. Authored by
Details
Return tip time in getblockchaininfo, for some use cases this can save a call to getblock. Backport of core#22407. Depends on D12550. ./test/functional/test_runner.py rpc_blockchain
Diff Detail
Event TimelineComment Actions Review note: GetBlockTime() and GetMedianTimePast() return an int64_t, so casting the value is unnecessary. |