mirror of
https://github.com/hackku21/loc-chain-backend.git
synced 2024-10-27 20:34:03 +00:00
Increase block times for testing
This commit is contained in:
parent
6f24822a5a
commit
b68c961046
@ -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…
Reference in New Issue
Block a user