From 84a6e0dd7ba809376d362ea1e5293258d2625779 Mon Sep 17 00:00:00 2001 From: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Date: Sun, 16 May 2021 19:10:00 +0800 Subject: [PATCH] minor docs, formatting change --- website/docs/jellyfish/api/mining.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/jellyfish/api/mining.md b/website/docs/jellyfish/api/mining.md index 52704c474c..83a8c02c1d 100644 --- a/website/docs/jellyfish/api/mining.md +++ b/website/docs/jellyfish/api/mining.md @@ -29,7 +29,7 @@ interface mining { ## getMintingInfo -Get minting-related information. +Get minting-related information. Deprecated in favour of `mining.getMiningInfo()`. ```ts title="client.mining.getMintingInfo()" interface mining { @@ -55,8 +55,8 @@ interface MintingInfo { chain: 'main' | 'test' | 'regtest' | string warnings: string } - ``` + ## getMiningInfo Get minting-related information. @@ -66,7 +66,7 @@ interface mining { getMiningInfo (): Promise } -export interface MiningInfo { +interface MiningInfo { blocks: number currentblockweight?: number currentblocktx?: number @@ -82,7 +82,7 @@ export interface MiningInfo { /** * Masternode related information */ -export interface MasternodeInfo { +interface MasternodeInfo { masternodeid?: string masternodeoperator?: string masternodestate?: 'PRE_ENABLED' | 'ENABLED' | 'PRE_RESIGNED' | 'RESIGNED' | 'PRE_BANNED' | 'BANNED' @@ -90,4 +90,4 @@ export interface MasternodeInfo { mintedblocks?: number lastblockcreationattempt?: string } -``` \ No newline at end of file +```