Skip to content

Commit

Permalink
minor docs, formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored May 16, 2021
1 parent cff7bbd commit 84a6e0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/docs/jellyfish/api/mining.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -55,8 +55,8 @@ interface MintingInfo {
chain: 'main' | 'test' | 'regtest' | string
warnings: string
}

```

## getMiningInfo

Get minting-related information.
Expand All @@ -66,7 +66,7 @@ interface mining {
getMiningInfo (): Promise<MiningInfo>
}

export interface MiningInfo {
interface MiningInfo {
blocks: number
currentblockweight?: number
currentblocktx?: number
Expand All @@ -82,12 +82,12 @@ 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'
generate?: boolean
mintedblocks?: number
lastblockcreationattempt?: string
}
```
```

0 comments on commit 84a6e0d

Please sign in to comment.