Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

v0.2.0-beta.1

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Sep 16:15
· 202 commits to main since this release
4a8240a

Mercury released the first version of v0.2 in mid-autumn. The biggest change in v0.2 is to change the storage from RocksDB to PostgresSQL. And mercury optimizes core concepts design by using identity instead of key addresses. The config file of mercury and the JSON-RPC API has undergone great changes. The specific changes can be seen here.

Changes

  • feat: adjust mercury interface @rev-chaos (#162)
  • feat(rpc): implement rpc api get_transactions @fjchen7 (#182)
  • feat(rpc): implement query_transactions @fjchen7 (#153)
  • feat(rpc): implement legacy indexer rpc api get_live_cells_by_lock_hash @fjchen7 (#195)
  • feat(rpc): implement legacy indexer rpc api get_capacity_by_lock_hash @fjchen7 (#197)
  • feat(rpc): implement indexer rpc api get_cells_capacity @fjchen7 (#167)
  • feat(rpc): impl build_deposit_tx @EthanYuan (#152)
  • feat(rpc): add type of indexer rpc API get_cells @fjchen7 (#161)
  • feat(rpc): add build withdraw transaction rpc interface @EthanYuan (#154)
  • feat(rpc): Impl udt transfer in hold by from mode @EthanYuan (#186)
  • feat(rpc): Impl transfer ckb in hold by to mode @EthanYuan (#194)
  • feat(rpc): Impl smart transfer @EthanYuan (#204)
  • feat(rpc): Impl build transfer tx(ckb HoldByFrom and udt HoldByTo) @EthanYuan (#178)
  • feat(apm): add apm tracing and derive macro @KaoImin (#148)

🚀 Features

  • feat(sync): do synchronization in parallel @KaoImin (#151)
  • feat(storage): add query historical live cell interface @KaoImin (#192)
  • feat(storage): add get cell from cell table interface @KaoImin (#169)
  • feat(sql): add create index sql @KaoImin (#173)
  • feat(rpc): remove historical get_balance @rev-chaos (#183)
  • feat(rpc): implement indexer rpc api get_tip @fjchen7 (#164)
  • feat(rpc): check is in tx pool cache when pool cell @KaoImin (#155)
  • feat(rpc): add get ckb uri interface @KaoImin (#188)
  • feat(rpc): add build adjust account transaction interface @KaoImin (#170)
  • feat(cli): add indexer mode option @KaoImin (#181)

🧰 Maintenance

  • refactor: change next cursor of pagination @KaoImin (#228)
  • refactor(sync): free db transaction manually @KaoImin (#175)
  • refactor(sync): extend cell table and deprecate consume info table @KaoImin (#187)
  • refactor(sync): change insert into mercury live cell process @KaoImin (#172)
  • refactor(storage): remove uncle relationship table @KaoImin (#166)
  • refactor(storage): change the return type of standalone sql @KaoImin (#165)
  • refactor(storage): change append block process @KaoImin (#159)
  • refactor(rpc): swap init builtin scripts code hash @KaoImin (#177)
  • refactor(rpc): remove trimmed 0x of json item @KaoImin (#176)
  • refactor(rpc): multiple requests by a same connection @KaoImin (#158)
  • refactor(rpc): change update adjust account change cell @KaoImin (#201)
  • refactor(common): change default order to ascend @KaoImin (#224)

📝 Document