v1.0.0 Release Note
Thanks for our team and a lot people working with us.
Updates:
- Add traffic events for finalized blocks and transactions
- Added non-overwritable blockchain params to the state (on-chain)
- Blockchain params can be accessed with getBlockchainParam() and getAllBlockchainParamsFromState()
- Separated NodeConfiigs from BlockchainConfigs (NodeConfigs = each node can set differently. Basically env vars)
- Re-org'ed blockchain_params.json
- Changed blockchain param names to lower cases
- Introduced blockchain params for 1-node, 2-nodes, 3-nodes
- Support multiple node versions and os versions
- Add convert functions
- Add common/result-code.js for result code
- Move to node-params.json and customize traffic params for sandbox environment
- Set epoch_ms to 1000 for test blockchain configs
- Reorg test code
- Add --skip-kill, --kill-only options to deploy scripts
- Do not call winstonLogger.debug() if DEBUG=false
- Deprecate GenesisToken and GenesisSharding
- Add peer whitelist
- Use bunyan as the default logger, add error catching
- Consensus tx clean-up in tx pool & fix bugs
- Properly handle subtree write rules (do not allow non empty subtree write rules)
- Restore check-out state gc rule
- Deprecate ACCOUNT_INDEX
- Handle subtree owners properly
- Add propose / vote latency metrics to traffic stats
- Restore isAlive field of node's status
- Add propose/vote p2p message latency to traffic stats
- Allow writing with subtree owners in partial set cases (with isPartialSet = true)
- Introduced DEV_CLIENT_API_IP_WHITELIST for client api access control.
- Added IP whitelisting json-rpc apis (ain_getDevClientApiIpWhitelist, ain_addToDevClientApiIpWhitelist, ain_removeFromDevClientApiIpWhitelist)
- Added IP whitelisting tool scripts
- Reorged json rpc apis
- Renamed ENABLE_DEV_CLIENT_SET_API -> ENABLE_DEV_CLIENT_API and updated to manage the get apis with the flag as well
- Add PERF_TEST_PIPELINE_TEST_SEASON to run benchmark command
- Unlimit dev params
- Add some DevFlags: enableWsCompression, enableTxBroadcastLimit
- Fix typos & missing things in the deploy scripts
- Add subtree function triggering
- Reorg peer connections periodically
- Allow removal of wildcard ip whitelist
- Return usage, available, staking info for apps
- Add gc_num_siblings_deleted to state rule
- Update p2p state
- Add resource/min_gc_num_siblings_deleted blockchain param
- dded GET_RESP_BYTES_LIMIT and GET_RESP_MAX_SIBLINGS node params for limits on db queries
- Add BLOCK_FINALIZED traffic event for finalization latency
- Increase min_gc_num_siblings_deleted to 100
- Update PEER_WHITELIST for the proposer nodes
- Update deploy scripts to deploy 10 nodes
- Introduced reward blockchain params (type & annual_rate)
- Updated _distributeFee native function
- Added op_list validity check & result code
- Keep a half of whitelisted(block generation) nodes when reorg
- Updated error_message to message
- Added is_final options for more stable consensus test results
- Finalize blockchain params
- Update error trap logic when blockPool.hashToBlockInfo[lastHash] is undefined
- Added max_height, max_size, max_bytes state rule props
- Added a simple tool script
- Deprecate dev flags
- Add epoch transition interval renewal logic
- Decrease max_num_validators for sandbox: 30 -> 20
- Add config files for mainnet
- Correctly get GPT2 version compatibility
- Add #num_children property to state info
- Add validator whitelist
- Handle write rule syntax errors properly
- Add num_accounts grafana panel
- Fix a lot of minor bugs!!