Increase block times for testing

main
Garrett Mills 3 years ago
parent 6f24822a5a
commit b68c961046
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -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()

Loading…
Cancel
Save