bosagora / agora

POC Node implementation for CoinNet
https://bosagora.io
MIT License
37 stars 23 forks source link

BanManager timestamp shows wrong time while running Tests #3287

Closed mkykadir closed 2 years ago

mkykadir commented 2 years ago
BanManager: Address http://10.0.0.1/ banned at unixtime:1609459200 (2021-Jan-01 00:00:00Z) until unixtime:1609459500 (2021-Jan-01 00:05:00Z)

last test of NetworkDiscovery logs can be inspected to reproduce (i.e. shutdown(true))

mkykadir commented 2 years ago

This is the reason; https://github.com/bosagora/agora/blob/f7ccda548a501da67da5652df4d3e8774512d583/source/agora/consensus/data/Params.d#L128

https://github.com/bosagora/agora/blob/f7ccda548a501da67da5652df4d3e8774512d583/source/agora/test/Base.d#L1891