Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
328511aaf2 | ||
|
710b155941 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mempool-backend",
|
"name": "mempool-backend",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"description": "Bitcoin mempool visualizer and blockchain explorer backend",
|
"description": "Bitcoin mempool visualizer and blockchain explorer backend",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://mempool.space",
|
"homepage": "https://mempool.space",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mempool-frontend",
|
"name": "mempool-frontend",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"description": "Bitcoin mempool visualizer and blockchain explorer backend",
|
"description": "Bitcoin mempool visualizer and blockchain explorer backend",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://mempool.space",
|
"homepage": "https://mempool.space",
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class="text-small text-center offset-md-1">
|
<div class="text-small text-center offset-md-1">
|
||||||
v2.0.0 ({{ gitCommit$ | async }})
|
v2.0.1 ({{ gitCommit$ | async }})
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -164,18 +164,18 @@ export class DashboardComponent implements OnInit {
|
|||||||
}),
|
}),
|
||||||
scan((acc, [block]) => {
|
scan((acc, [block]) => {
|
||||||
acc.unshift(block);
|
acc.unshift(block);
|
||||||
|
acc = acc.slice(0, 6);
|
||||||
return acc;
|
return acc;
|
||||||
}, []),
|
}, []),
|
||||||
map((blocks) => blocks.slice(0, 6)),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
this.transactions$ = this.stateService.transactions$
|
this.transactions$ = this.stateService.transactions$
|
||||||
.pipe(
|
.pipe(
|
||||||
scan((acc, tx) => {
|
scan((acc, tx) => {
|
||||||
acc.unshift(tx);
|
acc.unshift(tx);
|
||||||
|
acc = acc.slice(0, 6);
|
||||||
return acc;
|
return acc;
|
||||||
}, []),
|
}, []),
|
||||||
map((txs) => txs.slice(0, 6)),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
this.mempoolStats$ = this.stateService.connectionState$.pipe(
|
this.mempoolStats$ = this.stateService.connectionState$.pipe(
|
||||||
@ -187,7 +187,7 @@ export class DashboardComponent implements OnInit {
|
|||||||
.pipe(
|
.pipe(
|
||||||
scan((acc, stats) => {
|
scan((acc, stats) => {
|
||||||
acc.unshift(stats);
|
acc.unshift(stats);
|
||||||
acc = acc.slice(0, acc.length - 1);
|
acc = acc.slice(0, 120);
|
||||||
return acc;
|
return acc;
|
||||||
}, mempoolStats)
|
}, mempoolStats)
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user