Add backend type flag, disable address graphs for non-esplora

This commit is contained in:
Mononaut committed 2024-04-01 03:49:56 +00:00
1 parent 1630d71e7b
commit 855e25ccd2
6 files changed
+15 -2

No files matched your search

+1
View File
@@ -83,6 +83,7 @@ class WebsocketHandler {
const _blocks = blocks.getBlocks().slice(-config.MEMPOOL.INITIAL_BLOCKS_AMOUNT);
const da = difficultyAdjustment.getDifficultyAdjustment();
this.updateSocketDataFields({
'backend': config.MEMPOOL.BACKEND,
'mempoolInfo': memPool.getMempoolInfo(),
'vBytesPerSecond': memPool.getVBytesPerSecond(),
'blocks': _blocks,