Skip to content

Latest commit

 

History

History
323 lines (219 loc) · 6.82 KB

CHANGELOG.md

File metadata and controls

323 lines (219 loc) · 6.82 KB

Changelog

v0.6.0

  • SEP206
    • Change symbol to SBCH and change name to SmartBCH
    • Change the totalSupply to 68313.420483504311319128 SBCH
    • Clear the SBCH balance of 0x8c4F85ec71C966e45A6F4291f5271f8114a7Ba15
  • TxEngine
    • Optimized the performance of the transaction engine in the case of transactions access storage conflicts

v0.5.1

  • Staking
    • A validator must stake no less than 32 BCH
    • The PoW hashrate election be disabled
    • Add Double-sign Slashing and Offline slashing for validator
    • Add Offline guard for network liveness
  • Library
    • Upgrade moeingads to v0.4.3

v0.5.0-pre2

  • BCH Watcher
    • Remove watcher run after beginHeightFor0706

v0.5.0-pre1

  • Consensus
    • Switch to full PoS
    • Adjust minimum staking and slashing amounts of validators

v0.4.7-p1

  • Hot-fix of chain halt

v0.4.7

  • Add protection for uint256 overflow
  • Library
    • Upgrade moeingevm to v0.4.4

v0.4.6-p1

  • Add some hot-fix code to the staking logic and tendermint to allow a three-day interim one-validator period for chain-restarting, and the normal validators will come back after this period

v0.4.6

  • JSON-RPC
    • Fix a bug related to VRS signature
    • Fix a bug of eth_getLogs
    • Fix a bug of eth_gasPrice
  • Others
    • Other small bug fixes and improvements

v0.4.5

  • JSON-RPC
    • Fix internal transaction status of sbch_getTransactionReceipt
  • Library
    • Upgrade moeingdb to v0.4.3
    • Upgrade moeingevm to v0.4.3
  • Others
    • Prepare to slash offline validators

v0.4.4-p2

  • Hot fix to stop CoinFLEX's smartBCH treasury

v0.4.4-p1

  • Extend epoch 20th 50 percent longer
  • Fix not update stakingInfo when checkEpoch failed

v0.4.4

  • Library
    • Upgrade moeingads to v0.4.2
    • Upgrade moeingdb to v0.4.2
    • Upgrade moeingevm to v0.4.2
  • Others
    • Update XHedgeContractSequence and XHedgeForkBlock

v0.4.3

  • Library
    • Upgrade moeingads to v0.4.1
    • Upgrade moeingdb to v0.4.1
    • Upgrade moeingevm to v0.4.1
  • Others
    • Switch to Go 1.18
    • Switch to static link
    • Prepare to support SyncDB
    • Refine debug RPC endpoints

v0.4.2

  • Some small changes & improvements to prepare for Amber testnet XHedge fork

v0.4.1

  • 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

v0.4.0

  • 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
  • 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.

v0.3.5

  • JSON-RPC
    • Add request logs
    • Improve eth_estimateGas
  • Library
    • Upgrade moeingdb to v0.3.4
    • Upgrade moeingevm to v0.3.3

v0.3.4

  • 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 option
    • smartbchd start can disable HTTPS-RPC and WSS-RPC server now
  • Library
    • Upgrade moeingdb to v0.3.3
    • Upgrade moeingevm to v0.3.2

v0.3.3

  • Command
    • Add --rpc-only option to smartbchd start command
    • Fix a bug and improve smartbchd staking command
  • Staking
    • Fixed getrawtransaction rpc call (PR#21)

v0.3.2

  • JSON-RPC
    • Add sbch_healthCheck
    • Fix a bug of eth_getLogs
  • Library
    • Upgrade moeingevm to v0.3.1

v0.3.0

  • Command
    • Add smartbchd version command
  • 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

v0.2.0

  • JSON-RPC
    • Add sbch_getTxListByHeightWithRange
    • Add tm_validatorsInfo
    • Add sbch_getEpochs
    • Fix bugs of several endpoints
  • Command
    • Improve smartbchd staking command
  • Consensus
    • Continue to enhance multi-validator support
    • Integrate with BCHN special testnode

v0.1.6

  • 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

v0.1.5

  • JSON-RPC

    • sbch_queryTxBySrc/Dst/Addr & sbch_queryLogs

      • allow startHeight to be greater than endHeight
      • add limit param

      please refer to JSON-RPC docs for more detailed change

  • Add config option to support lite history DB

v0.1.3

  • Fix some bugs

v0.1.2

  • JSON-RPC
    • Add tm_nodeInfo
  • Fix some bugs

v0.1.1

  • 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