Adding configuration for blocks and mempool blocks amount.

This commit is contained in:
softsimon
2021-07-31 17:56:10 +03:00
parent 037f472f8c
commit 1908b1a5a6
9 changed files with 23 additions and 16 deletions

View File

@@ -183,7 +183,7 @@ export class BlockchainBlocksComponent implements OnInit, OnDestroy {
}
mountEmptyBlocks() {
const emptyBlocks = [];
for (let i = 0; i < 9; i++) {
for (let i = 0; i < this.stateService.env.KEEP_BLOCKS_AMOUNT; i++) {
emptyBlocks.push({
id: '',
height: 0,