Returns true if the node is writing blockchain data in parallel manner. It is enabled by default.
Parameters
Name
Type
Description
callback
Function
(optional) Optional callback, returns an error object as the first parameter and the result as the second.
Return Value
Promise returns Boolean - true means the node is writing blockchain data in a parallel manner. Returns false if the node is writing the data in a serial manner.
Example
rewardbase
Returns the rewardbase of the current node. Rewardbase is the address of the account where the block reward goes to. Only the Klaytn Consensus Nodes (CN) have the rewardbase in their configuration. See Configuration File.
Parameters
Name
Type
Description
callback
Function
(optional) Optional callback, returns an error object as the first parameter and the result as the second.
Return Value
Promise returns String - The rewardbase of the current node.