aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/base_encode_decode.cpp
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2021-01-13 11:56:19 +1000
committerAnthony Towns <aj@erisian.com.au>2021-02-07 06:50:11 +1000
commite66543827cd4ae9b76ff4c5c6e414c1942c7d727 (patch)
tree95297eb2e2096a5ca025b34f4c8376ea95e80e35 /src/test/fuzz/base_encode_decode.cpp
parenta383ce5b4add6cdf4e9974527b609a1147a0d972 (diff)
contrib/signet/miner: Automatic timestamp for first block
When mining the first block of a new signet chain, pick a timestamp for the first block so that after mining 100 blocks the timestamp will be back to the current time -- this prevents an unnecessary delay before any miner rewards have matured enough to be spent. This takes into account that the delta between blocks may be shorter than 10 minutes due to attempting to increase the difficulty to match --nbits, but does not take into account the time spent actually generating the 100 blocks.
Diffstat (limited to 'src/test/fuzz/base_encode_decode.cpp')
0 files changed, 0 insertions, 0 deletions