Skip to content

Commit

Permalink
Multiplier option in RPCs work_generate and work_validate.
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermelawless committed Jul 31, 2019
1 parent c1033d6 commit 921a8af
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/commands/rpc-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -2434,7 +2434,13 @@ Without this parameter, the node will only generate work locally.
**Optional "difficulty"**

_version 19.0+_
Difficulty value (16 hexadecimal digits string, 64 bit). Uses **difficulty** value to generate work
Difficulty value (16 hexadecimal digits string, 64 bit). Uses **difficulty** value to generate work.

**Optional "multiplier"**

_version 20.0+_
Multiplier from base difficulty (positive number). Uses equivalent difficulty as **multiplier** from base difficulty to generate work.
***Note:*** overrides the `difficulty` parameter.

---

Expand Down Expand Up @@ -2526,6 +2532,12 @@ Check whether **work** is valid for block
_version 19.0+_
Difficulty value (16 hexadecimal digits string, 64 bit). Uses **difficulty** value to validate work

**Optional "multiplier"**

_version 20.0+_
Multiplier from base difficulty (positive number). Uses equivalent difficulty as **multiplier** from base difficulty to validate work.
***Note:*** overrides the `difficulty` parameter.

---

## Wallet RPCs
Expand Down

0 comments on commit 921a8af

Please sign in to comment.