Hampus Sjöberg
4 years ago
19 changed files with 20 additions and 24 deletions
@ -1,15 +1,9 @@ |
|||
import { getblock, getblockcount, getblockhash, getrawtransaction } from "../jsonrpc/index.ts"; |
|||
|
|||
import config from "../config/config.ts"; |
|||
import miners from "./miners.ts"; |
|||
import { hexToAscii } from "../utils.ts"; |
|||
|
|||
export interface IBlock { |
|||
height: number; |
|||
signals: boolean | undefined; |
|||
miner: string | undefined; |
|||
minerWebsite: string | undefined; |
|||
} |
|||
import config from "../../config/config.ts"; |
|||
import miners from "../../common/miners.ts"; |
|||
import { hexToAscii } from "../../common/utils.ts"; |
|||
import { IBlock } from "../../common/interfaces.ts"; |
|||
|
|||
let blocks: IBlock[] = []; |
|||
|
@ -1,6 +1,6 @@ |
|||
import * as base64 from "https://denopkg.com/chiefbiiko/base64/mod.ts"; |
|||
|
|||
import config from "../config/config.ts"; |
|||
import config from "../../config/config.ts"; |
|||
|
|||
const host = config.bitcoinRpc.server; |
|||
const rpcUser = config.bitcoinRpc.user; |
@ -0,0 +1,6 @@ |
|||
export interface IBlock { |
|||
height: number; |
|||
signals: boolean | undefined; |
|||
miner: string | undefined; |
|||
minerWebsite: string | undefined; |
|||
} |
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
Loading…
Reference in new issue