Elements blockchain parser. Save all peg in/out i the database.

This commit is contained in:
softsimon
2021-09-18 13:37:25 +04:00
parent 641d2ad028
commit aa39bbd091
7 changed files with 162 additions and 6 deletions

View File

@@ -1,6 +1,8 @@
import { CpfpInfo, TransactionExtended, TransactionStripped } from '../mempool.interfaces';
import config from '../config';
export class Common {
static nativeAssetId = '6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d';
static median(numbers: number[]) {
let medianNr = 0;
const numsLen = numbers.length;