From 921a8af3b1ccf7a51ff8cfb87b141362b7676ed7 Mon Sep 17 00:00:00 2001 From: Guilherme Lawless Date: Wed, 31 Jul 2019 17:23:20 +0100 Subject: [PATCH] Multiplier option in RPCs work_generate and work_validate. Following https://github.com/nanocurrency/nano-node/pull/2151 --- docs/commands/rpc-protocol.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/commands/rpc-protocol.md b/docs/commands/rpc-protocol.md index ed160b70d..5f6db3bd8 100644 --- a/docs/commands/rpc-protocol.md +++ b/docs/commands/rpc-protocol.md @@ -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. --- @@ -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