- Some small changes & improvements to prepare for Amber testnet XHedge fork
- BCH Watcher
- Support BCHD JSON-RPC
- JSON-RPC
- Rename tm_nodeInfo to debug_nodeInfo
- Rename tm_validatorsInfo to sbch_validatorsInfo
- Others
- Merge amber branch into main and use build tags to select main/testnet params
- Consensus Change (need to be activated after a hard fork)
- BCH holders can elect validators through the XHedge smart contract.
- An optimized scheme to decide the minimum gas price.
- Refine SEP206:
- An EOA can only call SEP206's contract address once in a block
- When using "transferFrom", the source account must be left 0.001 BCH.
- Implement SEP109 to support VRF (verifiable random function)
- Mempool
- Allows EOA to send transactions into mempool continuously, across several successive blocks
- JSON-RPC
- Support eth_subscribe (newHeads and logs)
- Add debug API (debug_* RPC endpoints)
- The following methods support extra block parameter (compatible with EIP-1898) now
- eth_getBalance
- eth_getCode
- eth_getTransactionCount
- eth_getStorageAt
- eth_call
- eth_estimateGas
- Add several methods in sbch namespace
- sbch_getTransactionReceipt (Add internal transactions' information in transaction receipt)
- sbch_getCCEpochs
- sbch_getCurrEpoch
- sbch_call
- The following methods return internal transactions
- sbch_getTxListByHeight
- sbch_getTxListByHeightWithRange
- Add several methods in debug namespace
- Command
- Add options to
smartbchd start
command--http.api
,--ws.api
--archive-mode
--skip-sanity-check
- Add options to
- Library
- Upgrade moeingads to v0.4.0
- Upgrade moeingdb to v0.4.0
- Upgrade moeingevm to v0.4.0
- Others
- Upgrade Golang to 1.7
- Support querying main chain blocks in parallel.
- Rpcclient will retry after failure for better robustness.
- JSON-RPC
- Add request logs
- Improve eth_estimateGas
- Library
- Upgrade moeingdb to v0.3.4
- Upgrade moeingevm to v0.3.3
- JSON-RPC
- Changed hardcoded HTTPS ports to parameters (PR#23)
- Fixed a bug of eth_getBlockByNumber
- Fixed eth_gasPrice
- Fixed transaction's V,R,S (issue#25)
- Command
smartbchd start
will not ignore--home
optionsmartbchd start
can disable HTTPS-RPC and WSS-RPC server now
- Library
- Upgrade moeingdb to v0.3.3
- Upgrade moeingevm to v0.3.2
- Command
- Add
--rpc-only
option tosmartbchd start
command - Fix a bug and improve
smartbchd staking
command
- Add
- Staking
- Fixed getrawtransaction rpc call (PR#21)
- JSON-RPC
- Add sbch_healthCheck
- Fix a bug of eth_getLogs
- Library
- Upgrade moeingevm to v0.3.1
- Command
- Add
smartbchd version
command
- Add
- JSON-RPC
- Improve web3_clientVersion
- Ignore the height argument and always return latest status
- Consensus
- Fix several staking bugs
- Library
- MoeingADS uses internal multiple shards to boost performance
- MoeingEVM update evmone to 0.8.0
- JSON-RPC
- Add sbch_getTxListByHeightWithRange
- Add tm_validatorsInfo
- Add sbch_getEpochs
- Fix bugs of several endpoints
- Command
- Improve
smartbchd staking
command
- Improve
- Consensus
- Continue to enhance multi-validator support
- Integrate with BCHN special testnode
-
JSON-RPC
- sbch_getTxListByHeight returns more detailed tx info
- Add placeholder implementation for txpool namespace
- txpool_content
- txpool_status
- txpool_inspect
-
Add toolkits for stress test
-
Mempool
- Add signature cache and SEP206 sender set to speed up tx-rechecking
- Refuse incoming TXs when a lot of TXs need rechecking
-
Consensus
- Enhance multi-validator support
- Customize BlockMaxBytes and BlockMaxGas for testing
- Add some staking-related sub commands
-
Docker
- Refine docker scripts
-
Storage
- Sync MoeingADS to fix some bugs
- Add pruning calls to MoeingADS
-
Move the faucet out from this repo
-
JSON-RPC
-
sbch_queryTxBySrc/Dst/Addr & sbch_queryLogs
- allow
startHeight
to be greater thanendHeight
- add
limit
param
please refer to JSON-RPC docs for more detailed change
- allow
-
-
Add config option to support lite history DB
- Fix some bugs
- JSON-RPC
- Add tm_nodeInfo
- Fix some bugs
- SEP
- Add initial SEP101 implementation
- Add initial SEP206 implementation
- Consensus
- Add initial multi-validator support
- Add staking functions
- JSON-RPC
- Fix some small bugs
- Add endpoints for notification counters
- MoeingDB
- Add cache to speedup the BLOCKHASH instruction for EVM