I want to get some information about Polkadot for peerCount,currentBlock,highestBlock.
If you want to get this information, I need to access the following RPC method:
However, to implement the above functions, I need to use the following parameters:--rpc-methods=unsafe.
But our system does not support this parameter at present.
Result
This configuration has been applied and verified in our project, which is feasible.
Parameter description
Why support this parameter about
--rpc-methods
?I want to get some information about Polkadot for
peerCount
,currentBlock
,highestBlock
. If you want to get this information, I need to access the following RPC method:However, to implement the above functions, I need to use the following parameters:
--rpc-methods=unsafe
. But our system does not support this parameter at present.Result
This configuration has been applied and verified in our project, which is feasible.