kotalco / kotal

Blockchain Kubernetes Operator
https://kotal.co
Apache License 2.0
207 stars 48 forks source link

Make Polkadot support `--rpc-methods` param #13

Closed duktig666 closed 1 year ago

duktig666 commented 2 years ago

Parameter description

--rpc-methods <METHOD SET>
            RPC methods to expose. [default: auto] [possible values: auto, safe, unsafe]

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:

Result

This configuration has been applied and verified in our project, which is feasible.