Skip to content

Releases: starcoinorg/starcoin

v1.0.0

18 May 06:23
512e090
Compare
Choose a tag to compare

Generate the Genesis block and the main network is launched.

  • [genesis] Generate genesis block, block hash: 0x80848150abee7e9a3bfe9542a019eb0b8b01f124b63b011f9c338fdb935c417d
  • [config] Set disable_miner_client to true in main network (#2514)
  • [rpc] state.get_account_state_set api supports set state_root parameter (#2512)
  • [cli] Improved management of multi-signature accounts (#2505)

中文说明

生成创世块,主网启动。

  • [genesis] 生成创世区块,区块哈希:0x80848150abee7e9a3bfe9542a019eb0b8b01f124b63b011f9c338fdb935c417d
  • [config] 主网节点默认设置 disable_miner_client 为 true,不再启动进程内挖矿客户端 (#2514)
  • [rpc] state.get_account_state_set 接口支持指定 state_root 参数 (#2512)
  • [cli] 改进多签账号对管理 (#2505)

v1.0.0-rc

13 May 13:32
8e78969
Compare
Choose a tag to compare

Introduce Treasury and prepare for main network launch.

  • [cli] Add command to generate package with modules and init script (#2481)
  • [sip5] Implement Treasury and release stdlib v3 (#2465)
  • [sip21] Receipt identifier (#2490)
  • [stdlib] Remove deprecated methods and release stdlib v4 (#2491)
  • [genesis] Prepare main network genesis config (#2489 #2500 #2501)
  • [indexer] Fix indexer bug #2493 (#2494)
  • [sync] Sync target select optimization (#2487)
  • [slog] Introduce struct log (#2484)
  • [cmd] Implement airdrop cmd (#2479)
  • [sync] Update accumulator sync task of redundant buffer size (#2475)

中文说明

  • [cli] 添加命令,生成带有模块和启动脚本的 Package (#2481)
  • [sip5] 实现国库并发布 stdlib v3 (#2465)
  • [sip21] 实现收款识别码,包含校验位,封装地址以及账号初始化的 authkey (#2490)
  • [stdlib] 删除已废弃的方法并发布 stdlib v4 (#2491)
  • [genesis] 准备主网络 genesis 配置(#2489 #2500 #2501)
  • [indexer] 修复 indexer bug #2493 (#2494)
  • [sync] 同步目标选择优化 (#2487)
  • [slog] 引入结构日志 (#2484)
  • [cmd] 实现空投命令 (#2479)
  • [sync] 优化 Accumulator 同步任务 (#2475)

v1.0.0-beta.6

30 Apr 12:45
14faf39
Compare
Choose a tag to compare
  • [stratum] Fix stratum hang on
  • [stdlib] Batch peer to peer v2 (#2463)
  • [k8s] Update k8s config. (#2459)
  • [cmd] add a cmd to submit upgrade vm config proposal (#2466)
  • Bump syn from 1.0.70 to 1.0.71 (#2462)
  • Bump backtrace from 0.3.57 to 0.3.58 (#2456)
  • [transaction-builder-generator:]Fix python deserialization (#2467)
  • [stdlib] bug fix for stdlib upgrade (#2461)
  • [stdlib] make stdlib upgrade not affected by PublishOption, improve error handle, and bug fix (#2450)
  • [stdlib] Implement collection2 (#2453)
  • [events] generate event data format for usage in sdks (#2458)
  • [network-p2p]add max_connections_per_address. (#2454)
  • Bump libc from 0.2.93 to 0.2.94 (#2451)
  • [ci] continue release assert when some platform failed. (#2448)

中文说明

  • [stratum] 修复 stratum 服务端卡住问题
  • [stdlib] 实现点对点交易 v2 版本(#2463)
  • [k8s] 升级k8s配置 (#2459)
  • [cmd] 增加升级 vm 配置提议的命令 (#2466)
  • 升级 syn 从 1.0.70 到 1.0.71 (#2462)
  • 升级 backtrace 从 0.3.57 到 0.3.58 (#2456)
  • [transaction-builder-generator] 修复 python 代码序列化问题 (#2467)
  • [stdlib] 修复 stdlib 升级的 bug (#2461)
  • [stdlib] 实现 stdlib 升级不影响 PublishOption,增强错误处理 (#2450)
  • [stdlib] 实现 collection2 (#2453)
  • [events] 实现 event 的代码生成,方便在 sdk 中使用(#2458)
  • [network-p2p] 增加 max_connections_per_address. (#2454)
  • 升级 libc 从 0.2.93 到 0.2.94 (#2451)
  • [ci] 防止因为某个平台的二进制编译失败中断其他平台的编译 (#2448)

v1.0.0-beta.5

25 Apr 11:27
d54e504
Compare
Choose a tag to compare

Network protocol upgrade, optimize transaction broadcast protocol; Support stratum mining pool protocol; Move contract upgrade method optimization: support incompatible upgrade through governance, and implement hard fork through on-chain governance (sip-4).

Note: starcoin nodes should upgrade to the latest version as soon as possible, a hard fork test will be conducted soon, which will cause nodes with older versions to be unable to execute the latest blocks.

  • [cmd] Added PeerWatcher command to listen for peer changes on the p2p network via Light Node Protocol #2379
  • [move] Implement merkle tree proof verifier, Ethereum storage proof verifier via Move contract, prepare for future offchain data validation and cross-chain with Ethereum #2418 #2436
  • [stratum] The node has built-in support for the stratum pool protocol, allowing pool clients to connect directly to starcoin nodes #2437
  • [sip] Implementing sip-4: SIP as a feature flag for hard forking via on-chain governance #2421
  • [vm] Move VM upgrade to version 1.2 #2387
  • [network] Add transaction hash broadcast, optimize transaction broadcast efficiency #2425
  • [stdlib] Move contract upgrade support via governance for incompatible upgrades, preparing for special case upgrade needs #2422
  • [config] Fix a config compatibility bug, ensure config file compatibility #2439
  • [network] Filter nodes that do not support the p2p network rpc protocol (e.g. light nodes) when synchronizing, and fix a bug in handshake protocol message handling #2442
  • [proxima] Reset proxima network, proxima network supports the latest version of nodes #2433

中文说明

网络协议升级,优化交易广播机制;支持 stratum 矿池协议;合约升级方式优化:支持通过治理方式实现不兼容性升级,以及实现通过链上治理进行硬分叉(sip-4).

注意: 节点请尽快升级到最新版本,即将进行一次硬分叉测试,会导致旧版本的节点无法执行最新区块。

  • [cmd] 新增 PeerWatcher 命令,通过轻节点协议接入 p2p 网络中,可监听 p2p 网络上的 peer 变化 #2379
  • [move] 通过 Move 合约实现 merkle tree proof verifier, Ethereum storage proof verifier, 为未来 offchain 数据验证以及和 Ethereum 跨链做准备 #2418 #2436
  • [stratum] 节点内置支持 stratum 矿池协议,矿池客户端可以直接连接到 starcoin 节点 #2437
  • [sip] 实现 sip-4: SIP 作为功能开关实现通过链上治理进行硬分叉 #2421
  • [vm] Move VM 升级到 1.2 版本 #2387
  • [network] 新增交易 hash 广播,优化交易广播效率 #2425
  • [stdlib] 合约升级支持通过治理方式实现不兼容性升级,为特殊情况下的升级需求做准备 #2422
  • [config] 修复一个配置兼容性 bug,保证配置文件的兼容性 #2439
  • [network] 同步时过滤不支持 p2p network rpc 协议的节点(比如轻节点),以及修复握手协议消息处理的一个 bug #2442
  • [proxima] 重置 proxima network,proxima 网络支持最新版本的节点 #2433

v1.0.0-beta.4

09 Apr 15:05
15759f6
Compare
Choose a tag to compare

Network protocol updates to prepare for new protocols or support for light nodes in the future.

  • [json-rpc] Broadcast blocks to json-rpc subscribers when nodes are in sync, applications on top of json-rpc can process blocks in a more timely #2379
  • [block-relayer] Block broadcast optimization for more accurate information about uncle blocks on the chain, to more timely adjustment of block time target #2390 #2394
  • [network] Network protocol update, nodes exchange supported protocols when handshakings with each other, in preparation for add new protocols or support for lighting node in the future #2391
  • [sync] Fix a problem that slowed down synchronization if too many peers were connected #2396
  • [log & metric] Optimize logs and metrics for troubleshooting #2395 #2384
  • [contracts] Implement airdrop smart contracts base on Merkle tree #2389

中文说明

网络协议更新,为未来新增协议或者支持轻节点做准备。

  • [json-rpc] 当节点处于同步状态时,也对 json-rpc 的订阅者广播区块,json-rpc 的之上的应用可以及时处理区块 #2379
  • [block-relayer] 区块广播优化,让链上的叔块信息更准确,便于及时调整出块目标时间 #2390 #2394
  • [network] 网络协议更新,节点互相握手时交换支持的协议,为未来新增协议或者支持轻节点做准备 #2391
  • [sync] 修复如果连接的 peer 太多的情况下,会导致同步变慢的问题 #2396
  • [log & metric] 优化日志以及 metrics,方便排查问题 #2395 #2384
  • [contracts] 实现基于 Merkle tree 的空投合约 #2389

v1.0.0-beta.3

01 Apr 10:20
e3b1b3c
Compare
Choose a tag to compare

Main feature and update

Optimize the peer selection strategy during sync.

  • [sync] Fix a bug in state handling during sync.#2360
  • [metrics & log] Improve the metrics collection and network-rpc logs for future optimization. #2364 #2368
  • [sdk] Fix bug in python transaction generator. #2365
  • [cli] Add commands for signing and verifying signatures. #2363
  • [cli] Added tool to export all Resource from state. #2366
  • [documentation] Documentation update for DAO-related commands. #2358

中文说明

优化同步时候的 peer 选择策略,保证同步更及时。

  • [sync] 修复同步时状态处理的一个 bug。#2360
  • [metrics & log] 完善同步的 metrics 信息收集,以及 network-rpc 日志,方便未来继续做优化。 #2364 #2368
  • [sdk] 修复 python transaction generator 的 bug。 #2365
  • [cli] 新增签名和验证签名的命令。#2363
  • [cli] 新增从状态中导出全量 Resource 的工具。#2366
  • [document] DAO 相关命令的文档更新。#2358

v1.0.0-beta.2

30 Mar 13:50
916d8ff
Compare
Choose a tag to compare

Main feature and update

Optimize sync and network broadcast message handle.

  • [sync] Optimize sync, using the peer's score as sync peer's weight.
  • [network] Optimize network broadcast message handle.
  • [config] Add new config option: max_incoming_peers and max_outgoing_peers, max_incoming_peers + max_outgoing_peers = max_peers.

中文说明

优化同步以及网络消息处理,新增两个配置项,方便节点配置自己支持的最大节点数。

  • [sync] 同步优化,使用 peer 的信誉分来作为初始化的同步权重,优先从分数高的节点同步. #2345
  • [network] 优化消息处理机制,尽量降低区块广播和处理延迟. #2350
  • [config] 新增两个配置项目: max_incoming_peers 和 max_outgoing_peers,max_incoming_peers + max_outgoing_peers = max_peers.

v1.0.0-beta.1

28 Mar 06:20
60aff72
Compare
Choose a tag to compare

Main feature and update

  • [genesis] Generate and include barnard genesis.
  • [network] Optimize block broadcast.

中文说明

  • [genesis] 生成 Barnard 网络的创世块并包含到二进制中.
  • [network] 优化区块广播策略.

ubuntu18 用户请下载 starcoin-ubuntu18

v1.0.0-beta

26 Mar 15:26
3cd08bf
Compare
Choose a tag to compare

Main feature and update

Upgrade MoveVm and refactor Stdlib. To support the new abilities syntax, and ScriptFunction as defined in Module. Prepare to officially launch the new Barnard network.

[move-vm & stdlib] Upgrade MoveVM, support new abilities syntax, and refactor stdlib to support ScriptFunction as defined in Module, clean up old built-in scripts.#2270 #2283 #2293 #2289 #2308
[move-vm] ScriptFunction's parameter type changed to bytes. #2326
[stdlib] Include source code for stdlib in starcoin binary for developers. #2280
[stdlib] Provides the Collection Module for storing user resources in contracts easily, and for future support of NFT. #2313
[cli] Cli supports direct calls ScriptFunction. #2312
[storage] Add configuration for cache size, user can modify configuration to reduce node memory usage #2251
[rpc] Query block of rpc api to return thin block, reduce response data size. #2254
[network] p2p network upgrade and bug fix #2223 #2297 #2301 #2316
[sync] Optimize error handling during sync and peer selection policy #2285 #2320 starcoin/pull/2320)
[doc] Reorganize and optimize documentation #2217 #2218 #2225 #2257

中文说明

[move-vm & stdlib] 升级 MoveVM, 支持新的 abilities 语法, 并重构 stdlib ,支持 Module 中定义的 ScriptFunction, 清理掉旧的内置 script。#2270 #2283 #2293 #2289 #2308
[move-vm] ScriptFunction 的参数类型更改为二进制,方便 VM 层扩展参数类型。#2326
[stdlib] 包含 stdlib 的源码在 starcoin 二进制中方便开发者使用。#2280
[stdlib] 提供 Collection Module,作为一种通用的用户 Resource 存储集合,方便合约中存储用户资源,也为未来支持 NFT 做准备。#2313
[cli] Cli 支持直接调用 ScriptFunction. #2312
[storage] 增加缓存大小的配置,用户可修改配置降低节点内存使用 #2251
[rpc] 查询 block 的 rpc 接口返回 thin block,降低接口返回数据大小。#2254
[network] p2p 网络升级以及 bug 修复 #2223 #2297 #2301 #2316
[sync] 优化同步时的错误处理以及 peer 选择策略 #2285 #2320
[doc] 重新组织和优化文档 #2217 #2218 #2225 #2257

v1.0.0-alpha.2

17 Mar 07:20
b50e36f
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release
log: add tx status log (#2271)