Skip to content
#

json-rpc

Here are 441 public repositories matching this topic...

gdalsnes
gdalsnes commented Sep 10, 2020

When adding multiple rpc target classes, if multiple targets contain the same\similar method, the method in first target added is used (as documented). But I miss an option to disallow duplicates, as this is (in my case) always an error. Alternatives:
-Preferably a setting on JsonRpc itself that produce error when AddLocalRpcTarget is called
-A setting on JsonRpc itself that produce error during

rubikva
rubikva commented Jan 9, 2019

When use formatToEthereumUnits from Web3.Utils it use decimals parameter, and after format BigInt it's may create many redundant zeros at the end. For example if 'decimals' parameter is 18 we have: 990000000000000 wei -> 0.000990000000000000 eth

At old repo already have similar issue:
BANKEX/web3swift#200

and some solution:
https://github.com/v57/web3swift/commi

pawamoy
pawamoy commented Dec 14, 2019
  1. add a parameter update_interval to init method of class interface.Interface. This value is used to change the sleep value: self.sleep = update_interval / self.frames
    • Example with 1 second interval (default): sleep = 1 / 200 = 0.005
    • Example with 2 seconds interval: sleep = 2 / 200 = 0.01
  2. add an option to the top subparser of the main CLI parser (in cli.get_parser fu

Improve this page

Add a description, image, and links to the json-rpc topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the json-rpc topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.