Page MenuHomePhabricator

[seeder] Use GetTime() utility function instead of accessing ctime directly
ClosedPublic

Authored by Fabien on Dec 10 2020, 02:46.

Details

Summary

This does two things:

  1. Introduces mocktime for future seeder functional testing
  2. Enforces a bit width for time, since time_t is not the same on all platforms.
Test Plan
ninja check

Run cross builds on CI

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable