stasatdaglabs
|
1f56a68a28
|
Add an RPC command: EstimateNetworkHashesPerSecond (#1686)
* Implement EstimateNetworkHashesPerSecond.
* Fix failing tests.
* Add request/response messages to the .proto files.
* Add the EstimateNetworkHashesPerSecond RPC command.
* Add the EstimateNetworkHashesPerSecond RPC client function.
* Add the EstimateNetworkHashesPerSecond RPC command to kaspactl.
* Disallow windowSize lesser than 2.
* Fix wrong scale (milliseconds instead of seconds).
* Handle windowHashes being 0.
|
2021-04-22 15:18:21 +03:00 |
|