mirror of
https://github.com/hackku21/loc-chain-backend.git
synced 2024-10-27 20:34:03 +00:00
Reduce proof-of-time-elapsed waiting time
This commit is contained in:
parent
323c9408a0
commit
0a512170cc
@ -119,9 +119,9 @@ export interface Peer {
|
||||
*/
|
||||
@Singleton()
|
||||
export class Blockchain extends Unit {
|
||||
private readonly MIN_WAIT_TIME = 1000
|
||||
private readonly MAX_WAIT_TIME = 5000
|
||||
private readonly PENALTY_INTERVAL = 500
|
||||
private readonly MIN_WAIT_TIME = 30
|
||||
private readonly MAX_WAIT_TIME = 500
|
||||
private readonly PENALTY_INTERVAL = 100
|
||||
private readonly MAX_PEERS_PENALTY = 10
|
||||
|
||||
@Inject()
|
||||
|
Loading…
Reference in New Issue
Block a user