Confura is an Ethereum Infura equivalent public JSON-RPC service on Conflux network.
This upgrade is mainly to solve the problems below:
RPC Improvements
-
cfx_getLogsandeth_getLogsno longer support the offset/limit parameters. They are inefficient and can be replaced by restricting search conditions such as narrowing down the epoch/block range etc. -
cfx_getLogsandeth_getLogsno longer limit the maximum gap betweenfrom_epochandto_epochorfrom_blockandto_blockfor log filtering. Instead the query is now bounded with some viable query set size, 3s maximum running time and no more than 10,000 result set size. - Split log filter for
cfx_getLogsandeth_getLogsto lookup data from both db and fullnode if necessary rather than fully proxied to fullnode. - Add rate limits for request throttling to improve availability.
- Add memory cache for some hot RPC methods.