Increase block times for testing

This commit is contained in:
Garrett Mills 2021-04-10 20:36:10 -05:00
parent 6f24822a5a
commit b68c961046
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -111,9 +111,9 @@ export interface Peer {
*/ */
@Singleton() @Singleton()
export class Blockchain extends Unit { export class Blockchain extends Unit {
private readonly MIN_WAIT_TIME = 1000 private readonly MIN_WAIT_TIME = 10000
private readonly MAX_WAIT_TIME = 3000 private readonly MAX_WAIT_TIME = 30000
private readonly PENALTY_INTERVAL = 500 private readonly PENALTY_INTERVAL = 5000
private readonly MAX_PEERS_PENALTY = 10 private readonly MAX_PEERS_PENALTY = 10
@Inject() @Inject()