Skip to content

Releases: starcoinorg/starcoin

v0.9.4

04 Jan 09:31
1c4d4c4
Compare
Choose a tag to compare

Main feature and update

[sync & network] add peer scoring mechanism #1906
[statedb] cache node hash for jellyfish merkle tree #1894
[vm] benchmark transaction scripts gas consumption #1898
[rpc] update contact call api #1874
[rpc] update jsonrpc api on dry run #1895
[cmd] handle scmd error for help and version display. #1876
[cmd] pass version/long version by args and fix git version. #1878
[cmd] add tools to replay data on a new chain #1909
[cmd] add stat cmd and add sync metrics #1875
[ci] use k8s runner for ci. #1897
[ci] enable code coverage report on pr #1904
[ci] add a codecov config #1910
[bench] fix benchmark report #1892
[rust & ci] upgrade rust to 1.49.0 and rebuild runner image #1916

中文说明

[sync & network] 增加链同步 peer 打分机制 #1906
[statedb] jellyfish 默克尔树节点 hash 缓存 #1894
[vm] 标准库交易脚本 gas 消耗 benchmark #1898
[rpc] 更新 contract 调用 api #1874
[rpc] 更新 jsonrpc api #1895
[cmd] 帮助和版本显示命令错误处理 #1876
[cmd] Version 作为参数传递,scmd 不再自动生成 version #1878
[cmd] 增加数据重放工具 #1909
[cmd] 增加 stat 命令和 sync 测量信息 #1875
[ci] 持续集成工具里使用 k8s runner #1897
[ci] 通过 pr 激活代码覆盖率报告 #1904
[ci] 增加 codecov 配置 #1910
[bench] 修复 benchmark 报告中的bug #1892
[rust & ci] 升级 rust 到 1.49.0 #1916

v0.9.3

24 Dec 02:28
0691ace
Compare
Choose a tag to compare

Main feature and update

  1. [rpc & cli] Implemented Windows access json rpc api via IPC. (#516)
  2. [jsonrpc client] Fix the bug that miner_client cannot continue mining after network failure. (#1762)
  3. [miner] Fixed block verify error bug due to time error (#1865)

中文说明

  1. [rpc & cli] 实现 Windows 通过 IPC 方式访问接口,方便 Windows 用户使用 cli console. (#516)
  2. [jsonrpc client] 实现断网自动重连机制,修复了 miner_client 网络故障后无法继续挖矿的 bug. (#1762)
  3. [miner] 修复了由于时间误差导致的区块验证错误 bug (#1865)

Milestone starcoin-0.9.3

v0.9.2

22 Dec 10:28
a2427a5
Compare
Choose a tag to compare

Main feature and update

  1. [network] Optimizing network messages and network services. (#1804)
  2. [jsonrpc] JSON rpc support rate limit (#1824)
  3. [network] p2p rpc support rate limit (#1833)
  4. [sync & security] Report peer's reputation based on verify result when syncing, disconnect malicious nodes (#1837)
  5. [jsonrpc] Add account.sign_txn_request api (#1839)
  6. [chain] Refactor block verify logic (#1840)
  7. [stdlib] Add peer_to_peer_batch script for bulk transfers and account creation (#1847)
  8. [jsonrpc] Refactor and optimize pubsub (#1856)
  9. [storage config] Support setting maximum number of open files (#1855)
  10. [network config] Support for mdns config for node discovery on LAN (#1845)
  11. [sync] Refactor and optimize network synchronization, improve synchronization speed and enhance synchronization fault tolerance mechanism. Support skipping PoW difficulty verify when sync from trust peers. (#1824) ([#1826](https://github.com/starcoinorg/starcoin/ pull/1846)) (#1857) ([#1848](https://github.com/starcoinorg/starcoin/pull/ 1848))

中文说明

  1. [network] 优化网络消息以及网络服务. (#1804)
  2. [jsonrpc] JSON rpc 接口增加 rate limit 设置(#1824)
  3. [network] p2p rpc 接口增加 rate limit 设置(#1833)
  4. [sync & security] 同步时根据校验结果汇报 peer 的 reputation, 断开恶意节点(#1837)
  5. [jsonrpc] 新增 account.sign_txn_request 接口,方便无 sdk 的编程语言组装以及签名交易(#1839)
  6. [chain] 重构 chain 模块中的区块校验逻辑 (#1840)
  7. [stdlib] Add peer_to_peer_batch 脚本方便批量转账以及创建账号 (#1847)
  8. [jsonrpc] 重构以及优化 pubsub (#1856)
  9. [storage config] 限制以及支持设置最大打开文件数 (#1855)
  10. [network config] 支持 mdns 开关方便局域网内的节点发现 (#1845)
  11. [sync] 重构以及优化网络同步,提高同步速度,增强同步容错机制。支持从信任节点同步时跳过 PoW 难度校验 (#1824) (#1826) (#1857) (#1848)

Release v0.9.1

11 Dec 08:32
5056dfc
Compare
Choose a tag to compare

Main feature and update

  1. [miner] trigger Generate block event by transaction only on demand mode. (#1760)
  2. [test] add functional tests for stdlib. (#1722)
  3. [miner_client] Add hash rate for solver thread (#1772)
  4. [miner] Do not log error if mint task is none. (#1770)
  5. [sync] Add a limit to rollback block count, for avoid use too much memory (#1773)
  6. [account] fix account init in executor (#1763)
  7. [network] Add report peer method to network api and do some cleanup. (#1779)
  8. [types]fix error when serialize and deserialize back 0 (#1783)
  9. [chain]fix txn info view when blockmeta (#1785)
  10. [miner & chain]refactor miner & BlockTemplate & OpenedBlock. (#1793)
  11. [sync & storage]Failed block storage (#1786)
  12. [chain]refactor block connect. (#1795)
  13. [deps] Clean some unused deps. (#1791)
  14. [node] Print node start other error. (#1784)
  15. [chain]optimize block connect. (#1797)
  16. [storage] Clean some unused deps. (#1802)
  17. [indexer] sync node data to elasticsearch (#1794)

中文说明

  1. [miner]只在按需模式下使用定时出块. (#1760)
  2. [test]添加Stdlib测试用例. (#1722)
  3. [miner_client]添加算力统计(#1772)
  4. [miner]调整挖矿任务为空的日志级别 (#1770)
  5. [sync]添加回滚区块数限制 (#1773)
  6. [account]优化执行器的账号初始(#1763)
  7. [network]添加上报节点方法的网络接口,做一些代码清理(#1779)
  8. [types]修复系列化、反序列化的问题(#1783)
  9. [chain]修改BlockMetadata的交易信息(#1785)
  10. [miner & chain]重构miner、BlockTemplate、OpenedBlock (#1793)
  11. [sync & storage]存储执行失败区块 (#1786)
  12. [chain]构成区块执行 (#1795)
  13. [deps]清理无用依赖. (#1791)
  14. [node]打印节点启动错误 (#1784)
  15. [chain]优化区块执行. (#1797)
  16. [storage]清理无用依赖 (#1802)
  17. [indexer]同步数据到搜索引擎 (#1794)

v0.9.0

03 Dec 11:46
79da27e
Compare
Choose a tag to compare

Main feature and update

  1. [stdlib] Release stdlib v7 and generate new genesis. (#1683)
  2. [Kube] Add pods for stress test (#1684)
  3. [vm] upgrade move coverage tool (#1679)
  4. [cmd & chain]Add uncle_path cmd. (#1678)
  5. [chain] Fix uncle block header verify bug when epoch change. (#1686)
  6. [cmd & chain]Add epoch_uncle_summary_by_number cmd. (#1696)
  7. [sync] Output target and peer info in sync progress report. (#1695)
  8. [chain]refactor EpochUncleSummary. (#1700)
  9. [sync] sync start cmd supports sync from specified peers. (#1702)
  10. [gensis_config] Update peer_id of seeds (#1705)
  11. [docker]Feature/docker push hub (#1699)
  12. [chain]rollback block size metric. (#1706)
  13. [consensus]cryptonight-rs: Fix thread local memory leak (#1707)
  14. [rpc & cmd & chain]Unify json api (#1673)
  15. [stdlib]Update take_offer script. (#1711)
  16. [solver] Fix segfault fault when libloading open code (#1713)
  17. [libp2p]network p2p upgrade (#1676)
  18. [network] Optimize network handshake message (#1714)
  19. [cmd]add block id for account show. (#1715)
  20. [docker]Feature/docker update (#1716)
  21. [network] Rpc use libp2p request-response, and upgrade libp2p to 0.30.1 (#1717)
  22. [stdlib & script]Override upgrade plan (#1724)
  23. [txpool & cmd & rpc]review txpool&account rpc error code (#1725)
  24. [windows]fix build failure on windows (#1723)
  25. [txpool]add more json api for txpool (#1732)
  26. [txpool]add full field to txpool status api (#1734)
  27. [test]override_upgrade_plan. (#1733)
  28. [windows]Fix Windows compile (#1735)
  29. [network] Refactor PeerMessage (#1726)
  30. [rpc & cmd]Support set output format in console (#1739)
  31. [txpool]Refactor get txns rpc. (#1741)
  32. [network] Fix network peer reconnect event report bug and refactor network command. (#1740)
  33. [sync] Trigger a check sync event after sync done. (#1751)
  34. [config]make rpc api configurable (#1750)

中文说明

  1. [stdlib]发布Stdlib v7版,重新生成genesis (#1683)
  2. [Kube]增加压力测试pod (#1684)
  3. [vm] 更新move覆盖率统计工具(#1679)
  4. [cmd & chain]添加uncle的path等命令 (#1678)
  5. [chain]修复Epoch切换时叔块Header校验的问题 (#1686)
  6. [cmd & chain]添加epoch_uncle_summary_by_number命令 (#1696)
  7. [sync]输出同步过程中的目标和节点信息(#1695)
  8. [chain]重构EpochUncleSummary(#1700)
  9. [sync]同步启动命令支持指定某个节点 (#1702)
  10. [gensis_config]更新Seeds的id (#1705)
  11. [docker]推送docker镜像(#1699)
  12. [chain]添加区块回滚数的统计指标 (#1706)
  13. [consensus]修复本地线程内存溢出问题 (#1707)
  14. [rpc & cmd & chain]统一json接口(#1673)
  15. [stdlib]更新take_offe脚本 (#1711)
  16. [solver]修复类库加载时的片段失败问题 (#1713)
  17. [libp2p]升级p2p网络 (#1676)
  18. [network]优化网络握手协议 (#1714)
  19. [cmd]为account的show命令增加block id参数 (#1715)
  20. [docker]更新docker配置 (#1716)
  21. [network]远程调用使用libp2p的request-response,同时升级libp2p到0.30.1 (#1717)
  22. [stdlib & script]支持覆盖模块更新计划 (#1724)
  23. [txpool & cmd & rpc]交易池和账号模块的错误码(#1725)
  24. [windows]修复windows编译失败 (#1723)
  25. [txpool]为交易池添加更多的Json接口 (#1732)
  26. [txpool]交易池状态接口显示所有字段 (#1734)
  27. [test]测试覆盖模块更新计划 (#1733)
  28. [windows]修复Windows编译(#1735)
  29. [network]重构PeerMessage协议 (#1726)
  30. [rpc & cmd]支持命令行设置输出格式 (#1739)
  31. [txpool]重构get_txns接口 (#1741)
  32. [network]修复网络重连事发送异常的问题,重构网络命令(#1740)
  33. [sync]同步完成,发送检查同步的事件 (#1751)
  34. [config]完成远程调用接口的配置 (#1750)

v0.8.6

26 Nov 05:29
28abf05
Compare
Choose a tag to compare
v0.8.6 Pre-release
Pre-release
cryptonight-rs: Fix thread local memory leak (#1707)

Release 0.8.1

20 Nov 04:02
e9c873a
Compare
Choose a tag to compare

[stdlib] Release stdlib v7 and generate new genesis.

v.0.8.0

19 Nov 15:01
e30511d
Compare
Choose a tag to compare

Main feature and update

  1. [cli] Add get_epoch_uncles_by_number cmd. (#1677)
  2. [cli] explain move error code even if there is no location (#1669)
  3. [functional-tests]Implement split_fixed_key & split_linear_key (#1667)
  4. [stest & join handler] Fix ThreadJoinHandler detect thread panic and return the correct error. (#1655)
  5. [metrics] Add more metrics in db, vm, block-relay,network (#1656)
  6. [block-relayer] Query txn in txpool without load all (#1656)
  7. [vm] upgrade vm to the latest revision (#1653)
  8. [stdlib] Add PackageTxnManager Spec. (#1647)
  9. [vm] Check strategy when upgrade module. (#1644)
  10. [network] Add some command to manage network and change network init config (#1643)
  11. [cli] Show more details of txpool status (#1636)
  12. [stdlib] Modify error_code for voted to others already (#1642)
  13. [script] Implement mint token script (#1640)
  14. [network-rpc] Change the params of network rpc apis from usize to u64 (#1641)
  15. [cli] Add command to show tps for given epoch (#1617)
  16. [kube]: Use pv storage (#1635)
  17. [script] Add update_module_upgrade_strategy script. (#1631)
  18. [network] Optimize network and block-relay event process logic (#1630)
  19. [cli] Fix console error sometimes (#1632)
  20. [service-registry] Optimize service status check and report, add a service status check cmd and api (#1626)
  21. [stdlib]Refactor dao (#1621)
  22. [cleanup] Cleanup startup info's field. (#1618)
  23. [stdlib] Update dao time unit to milliseconds (#1619)
  24. [consensus ]Change nonce u64 to u32
  25. [consensus] change mining_hash from hashvalue to vec mining_blob
  26. [consensus] Refactor solver trait for support dynamic link
  27. [stdlib & cmd] Stdlib Version (#1603)
  28. [miner] Merge headblock pacemaker with ondemand pacemaker. (#1613)
  29. [sync] Refactor SyncStatus, remove judgement about is_nearly_synced. (#1613)
  30. [sync] Add a way to reuse blocks that have already been fetched in a previous sync task. (#1613)
  31. [stress test] fix tx-factory crash when account_num is less than TXN_LIMIT (#1612)
  32. [cmd] fix format table result for vec types (#1605)
  33. [sync] Finished new sync service and refactor WriteChainService. (#1596)
  34. [stress-test] improve the method to set expiration time (#1598)
  35. [stream-task] Implement stream-task
  36. [bugfix]Fix bug for submit txn failed since SEQUENCE_NUMBER_TOO_OLD (#1590)
  37. [accumulator] Fix accumulator get_leaves return order and append result. (#1581)
  38. [deploy] update docker build auth config (#1587)
  39. unify binary serde-json to hex string with 0x (#1579)

中文说明

  1. [cli] 增加了命令 get_epoch_uncles_by_number (#1677)
  2. [cli] 增加了对 move 中的错误代码的说明。
  3. [functional-tests] 实现了 split_fixed_key 和 split_linear_key (#1667)
  4. [stest & join handler] 修复了 ThreadJoinHandler 检测导致的线程 panic 并返回正确的错误。(#1655)
  5. [metrics] 在模块 db、vm、block-relay、network中增加更多的指标 (#1656)
  6. [block-relayer] 优化了获取txns 的方式。不需要从 txpool 中全部加载 (#1656)
  7. [VM] 将 VM 升级到最新版本 (#1653)
  8. [stdlib] 添加 PackageTxnManager 规范。(#1647)
  9. [VM] 升级模块时检查策略。(#1644)
  10. [cli] 添加一些管理网络的命令,并更改网络初始配置(#1643)
  11. [cli] 显示 txpool 状态的更多细节(#1636)
  12. [stdlib] 修改已投票给他人的错误代码(#1642)
  13. [scripts] 增加执行铸币脚本(#1640)
  14. [network-rpc] 将network rpc apis 的参数从 usize 改为 u64 (#1641)
  15. [Cli] 添加命令,显示给定时间段的 tps (#1617)
  16. [kube] 使用 PV 存储(#1635)
  17. [scripts] 添加 update_module_upgrade_strategy 脚本。(#1631)
  18. [network] 优化网络和块中继事件处理逻辑 (#1630)
  19. [cli] 修正控制台的一些错误(#1632)
  20. [service-registry] 优化服务状态检查和报告,增加服务状态检查cmd和api(#1626)
  21. [stdlib]重构了 dao (#1621)
  22. [cleanup] 清理启动信息的字段。(#1618)
  23. [stdlib] 更新dao 时间单位为毫秒(#1619)
  24. [consensus]将 nonce 从 u64改为 u32。
  25. [consensus]将 mining_hash 从 hashvalue 改为 vec mining_blob。
  26. [miner_client] 支持加载 solver 的动态链接库。
  27. [stdlib & cmd] Stdlib 版本(#1603)
  28. [miner]将 headblock pacemaker 和 ondemand pacemaker 合并。(#1613)
  29. [sync] 重构 SyncStatus,删除对 is_nearly_synced 的判断。(#1613)
  30. [sync] 增加一种重用在前一个同步任务中已经获取的块的方法。(#1613)
  31. [bench] 修正当账户数小于 TXN_LIMIT 时的 tx-factory 崩溃 (#1612)
  32. [cmd] 修正 vec 类型的格式表结果(#1605)
  33. [sync] 完成了基于 stream task的优化,并重构 WriteChainService。(#1596)
  34. [stress test] 改进了过期时间设置方法(#1598)
  35. [stream-task] 实现 stream-task。
  36. [bugfix]修正 SEQUENCE_NUMBER_TOO_OLD后提交TXN失败的问题(#1590)
  37. [accumulator] 修正累加器 get_leaves 的返回顺序和追加结果。(#1581)
  38. [deploy] 更新 docker build auth 配置(#1587)
  39. 将 serve-json 中的 json 二进制统一为 0x 的十六进制字符串(#1579)

v0.7.2.6

17 Nov 05:09
Compare
Choose a tag to compare
v0.7.2.6 Pre-release
Pre-release
block-relayer: Add metrics

v0.7.2

10 Nov 09:57
01c7fcc
Compare
Choose a tag to compare
Fix/sync status (#1615)

* [miner] Merge headblock pacemaker with ondemand pacemaker.
* [sync] Refactor SyncStatus, remove judgement about is_nearly_synced.
* [sync] Add a way to reuse blocks that have already been fetched in a previous sync task.