Qtum量子链每周开发进展更新2017.09.04 – 2017.09.17

量子链平台Qtum  2017-09-18  QTUM/量子链(Qtum Blockchain)栏目  

关注Qtum量子链的小伙伴们,Qtum量子链每周定期开发进展更新来了,以下为2017.09.04 – 2017.09.17更新内容

  主干网络发布:

  主干网络 v1.0 - 正式发布版本,包含最终的网络协议及创始区块

  Mainnet v1.0.1 - 正式发布版本,屏蔽测试网络2的区块,并修复几个UI方面的漏洞

  修复的漏洞:

  [共识机制/MPoS] 修复refunds被当做MPoS奖励的漏洞,这在refund地址和合约地址相同时可能导致资金被盗;

  [共识机制/网络] 修复在交易未被写入数据库前就进行PoS检查的漏洞,这有可能导致节点在初始同步区块时被屏蔽;

  [RPC/智能合约] 修复searchlogs调用时的off-by-one错误;

  [Staking/EVM] 修复Solidity/EVM中coinbase的值在staking阶段为0,但在验证阶段不为0的漏洞,这将导致生成不合法区块;

  [共识机制/EVM] 修复提供给EVM的blockhashes的off-by-one错误,这会导致block[1]和block[2]拥有相同的hash值;

  已完成的工作:

  [Staking/Contract] 根据gas价格适当提高staker对于交易的优先级;

  [共识机制] 将交易大小限制在1Mb以下;

  [RPC/智能合约] 为callcontract调用增加gas limit选项;

  [钱包] 修改HD key导出路径,不再和比特币钱包导出路径冲突;

  [MPoS与智能合约] 将reword检查重构到更加安全的"区块重建"阶段进行,同时在将MPoS检查和合约refund检查的代码放在一起,使逻辑更加清晰;

  [共识机制/VM] 暂时不允许非AAL生成的version-0交易。目前看来这虽然是安全的,但还缺少测试用例覆盖,故在做更多测试前暂时禁用;

  [RPC/智能合约] 为调用合约的RPC命令增加合约地址的检查;

  [共识机制] 修改垃圾交易的阈值,上调了最小relay费用,单字节最小费用以及EVM交易最小gas价格等;

  [RPC/智能合约] 添加了最大正常gas价格的限制,从而阻止发送异常的的超高gas价格交易;

  [测试] 修复了由于调整费用导致的测试用例失败;

  [共识机制/PoS] 在共识机制代码中移除了对txindex的依赖。目前PoS共识和staking代码只依赖chainstate header数据库,以及UTXO集合。现在有已经可以支持不依赖txindex的Qtum节点,但还需要进一步测试后再正式产品化;

  [其他] 主干网络发布后版本号升级为0.14.3;

  [文档] README文档更新,增加用新build系统编译节点的描述;

  [其他] 代码重构,移除std::regex,因为其在Gitian build system采用的GCC4.8中不支持,这一改变同时带来了明显的性能提升;

  [共识机制] 创建主干网络创世区块,checkpoints以及其它最终参数;

  [网络] 更新主干网络协议版本号,同时阻止测试网络-2中的节点连接到主干网络节点上;

  [测试] 修复多个DGP相关测试用例;

  [GUI/智能合约] 为GUI钱包的智能合约功能增加ABI接口支持;

  [GUI/翻译] 修正部分中文翻译

  [GUI/翻译] 修正部分韩文翻译

  进行中的工作:

  目前我们正在修复Breaking Bitcoin大会上公布的针对比特币的“per-txout”攻击。在token兑换之前会发布一个强制升级版本v1.0.2,用于修复该漏洞,同时修复一些其他漏洞;

  正在修复64位windows-Qt钱包无法正常工作的问题,希望该问题能在v1.0.2版本中得到修复;

  我们正在开发Qtum Ledger(硬件钱包)App,同时也在讲Electrum钱包移植到Qtum上。目前取得了一些进展,但还距正式发布还有距离,因此目前这两项工作暂时没有ETA;

  以下为英文版本

Changes made through this week to the core wallet

  Releases:

  * Mainnet v1.0 - A release for the final network protocol and the genesis block

  * Mainnet v1.0.1 - A release which blocks Skynet nodes and fixes various UI bugs

  Bugs fixed:

  * [Consensus/MPoS] Fixed bug where refunds were treated in blocks as MPoS rewards, potentially allowing for MPoS rewards to be stolen when a contract transaction refunded occured from the same address in the same block

  * [Consensus/Network] Fixed a bug where some PoS checks would occur earlier than transactions were guaranteed to be in the database, resulting in nodes being banned during the initial syncing of the blockchain

  * [RPC/Contract] Fixed an off-by-one error in `searchlogs`

  * [Staking/EVM] Fixed a bug where the `coinbase` value in Solidity/EVM would be 0 during staking, but properly filled in during block validation, causing invalid blocks to be produced

  * [Consensus/EVM] Fixed an off-by-one error in the recent blockhashes provided to the EVM, resulting in block[1] and block[2] having the same hash

  Work completed:

  * [Staking/Contract] Made staker properly prioritize transactions based on gas price

  * [Consensus] Added a hard cap of 1Mb to any transaction

  * [RPC/Contract] Add gas limit option to callcontract

  * [Walllet] Changed HD key deriviation path to not conflict with Bitcoin's generated HD keys

  * [MPoS and Contract] Refactored reward checking to happen in the safer "block reconstruction" rule checks, and to check MPoS and contract refunds in the same code so that the rules are more clear

  * [Consensus/VM] Disallow version-0 transactions not generated by the AAL. Although this should be safe, it has not seen enough test coverage and so has been disabled for safety until the next fork

  * [RPC/Contract] Add error checking to contract addresses in contract RPC calls.

  * [Consensus] Modified the dust threshold for transactions, increased minimum relay fees and minimum fee per byte, as well as increased minimum gas price for EVM transactions

  * [RPC/Contract] Add maximum sane gas price threshold, to prevent people from sending insanely high gas prices

  * [Tests] Fix a multitude of broken tests caused by fee increases

  * [Consensus/PoS] Removed the dependency on txindex from consensus code. The PoS consensus and staking code now only relies on the chainstate header database, and the UTXO set. It is now possible to run a Qtum node without using txindex. Pruning also seems to work, but has not been tested well enough to recommend using in production.

  * [Misc] The version number was increased to 0.14.3 for main net release

  * [Docs] The readme was updated to include proper instructions for building Qtum using the new build system

  * [Misc] Code was refactored to remove std::regex, which is not supported by GCC 4.8 used by the Gitian build system. This also results in an insignificant performance increase

  * [Consensus] Created the mainnet genesis block, checkpoints, and other final parameters

  * [Network] Increased protocol version for mainnet network, as well as banned Skynet nodes from connecting to mainnet nodes

  * [Tests] Fixed various DGP tests

  * [GUI/Contract] Added the ABI interface to the Qt GUI wallet for contracts

  * [GUI/Translations] Fixed various errors in the Chinese translations

  * [GUI/Translations] Fixed various errors in the Korean translations

  In-progress work and soon to be fixed bugs:

  * We are working on a fix to the "per-txout" exploit revealed at Breaking Bitcoin. A new mandatory v1.0.2 release will be made before the token swap to fix this as well as a few other non-critical bugs

  * We are aware of an issue in our 64-bit Windows build for the Qt wallet. We hope to roll the fix for this into the v1.0.2 release

  * We've been working on creating a Qtum Ledger (the hardware wallet) app, as well as porting Electrum to work with Qtum. We've had some success, but still a ways to go. There is no ETA yet, though we expect it to be done by the time the mainnet is released.

  关注Qtum量子链(qtumchain)公众号,回复关键字查阅Qtum量子链相关资料,以下是部分文档关键字

  回复:‘白皮书’,查看《Qtum量子链白皮书,设计原理,实现方案,及应用》

  回复:‘未来’,查看《Qtum量子链未来2年技术路线规划-简略版》

  回复:‘专访’,查看《Nasdaq专访Qtum:区块链会成为世界最大的信任服务商》

  回复:‘文档’,查看英文版本《Qtum量子链实现文档》

  回复:‘中文文档’,查看中文版本《Qtum量子链实现文档》

版权信息
作者:Jordan Earls
来源:量子链平台Qtum

关于我们

联系我们

作者进驻

手机版

Copyright © 2013 比特巴 www.btb8.com
始建于2013年,提供比特币 区块链及数字货币新闻、技术教程、测评、项目周报、人物等资讯
本页面提供的是QTUM新闻资讯,量子链Qtum致力于构建比特币和以太坊之外的第三种区块链生态系统,用以拓展区块链技术的应用边界。