Added an rpc cmd queue

This commit is contained in:
Joe Uhren
2023-05-16 20:29:57 -06:00
parent e5bd30a457
commit 2e7c8ea201
4 changed files with 16 additions and 7 deletions
+2
View File
@@ -1375,6 +1375,8 @@
// use_rpc: Determine whether to call rpc api cmds directly using the faster rpc method or using the older method via internal http api (true/false)
// NOTE: This should always be set to true unless there is a specific need to test or log certain apis
"use_rpc": true,
// rpc_concurrent_tasks: The maximum number of rpc cmds that can be run simultaneously. Additional rpc cmds will go into a queue and be run on a first-in-first-out basis
"rpc_concurrent_tasks": 1,
// getnetworkhashps: Returns the estimated network hashes per second. This should be a positive whole number
"getnetworkhashps": "getnetworkhashps",
// getmininginfo: Returns a json object containing mining-related information