Open przemerr opened 2 years ago
Not sure if this something you want to implement, but since the official lisk-service has issues you could use the forger plugin built in to lisk-core. It provides always accurate data since it collects the data from local lisk-core node. You can read about it here: https://lisk.com/documentation/lisk-sdk/references/lisk-framework/forger-plugin.html#actions
The communication with the plugin is through WS. It has two actions that returns everything you want. The aggregated votes and rewards.
forger:getVoters forger:getForgingInfo
The user would have to run his lisk-core with
--enable-forger-plugin
parameter. It's not a feature request :) Just something for you to consider.
That's a good idea to overcome lisk-service issue; if implemented, I will let the user to choose how to get the data.
Not sure if this something you want to implement, but since the official lisk-service has issues you could use the forger plugin built in to lisk-core. It provides always accurate data since it collects the data from local lisk-core node. You can read about it here: https://lisk.com/documentation/lisk-sdk/references/lisk-framework/forger-plugin.html#actions
The communication with the plugin is through WS. It has two actions that returns everything you want. The aggregated votes and rewards.
forger:getVoters forger:getForgingInfo
The user would have to run his lisk-core with
--enable-forger-plugin
parameter. It's not a feature request :) Just something for you to consider.