load block/tx pages at correct blockchain scroll position

This commit is contained in:
Mononaut
2022-12-28 06:05:46 -06:00
parent 32bf30872d
commit bf941b0227
9 changed files with 40 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ import { BlockExtended } from '../interfaces/node-api.interface';
import { StateService } from './state.service';
import { ApiService } from './api.service';
const BLOCK_CACHE_SIZE = 50;
const BLOCK_CACHE_SIZE = 500;
const KEEP_RECENT_BLOCKS = 50;
@Injectable({