Improvements
RPC Improvements
- Include
blockHash,epochHash,epochNumber,transactionHash, andtransactionPositionfor trace RPCs.
Note that the data format returned bytrace_blockis incompatible with old versions. - Add new field
offsetin log filters used incfx_getLogs.
If specified, the response will skip the lastoffsetlogs.
For instance, with 10 matching logs (0..9) andoffset=0x1, limit=0x5, the response will contain logs4..8.
Note: Even if you specifyoffset, the corresponding logs still need to be processed by the node,
so a filter withoffset=10000, limit=10has about the same performance as a filter withoffset=0, limit=100010. - Add a new parameter
subscription_epochto theepochspubsub.
The supported values are"latest_mined"(default) and"latest_state". - Add
cfx_getAccountPendingInfoto get pending transaction info for some account for better investigating pending tx problems.
Configuration Improvements
- Allow immediately packing sent transactions in
devmode by keepingdev_block_interval_msunset.
Note that settingdev_block_interval_mswill disable this immediate packing and generate blocks only periodically.
Performance Improvements
- Optimize the state implementation for better cache performance.
Bug fix
- Fix a bug that makes running nodes in
devmode not generate blocks automatically.