Handle too many validators properly (#151)

* Revert debug flag
* Remove dead code
* Disallow subscribing if too many validators
This commit is contained in:
Michael Müller
2019-05-28 10:24:41 +02:00
committed by Maciej Hirsz
parent 7add77137a
commit ce9538485a
4 changed files with 15 additions and 28 deletions
+1
View File
@@ -1,6 +1,7 @@
import { Types } from '@dotstats/common';
import { State, UpdateBound } from './state';
// Number of blocks which are kept in memory
const BLOCKS_LIMIT = 50;
export class AfgHandling {