美文网首页
PalletOne项目每周必读 | 7.9-7.15

PalletOne项目每周必读 | 7.9-7.15

作者: PalletOne | 来源:发表于2018-09-15 10:46 被阅读0次

    原创: 翠翠 Pallet  7月18日

    点击上方蓝字及时获取PalletOne最新消息

    Code Is Law  代码动态速览

      Overview:

    Contributions:

    Code Frequency:

    本周工作重点

    、创世单元生成、接口实现:普通交易解析,创币交易解析,UTXO的保存。ConfigPayload(配置类型交易)的生成接口实现。

    二、测试优化创建genesis.json文件的功能;实现PalletOne配置文件的自动生成功能;优化palletone创世单元的生成流程;优化palletone节点启动流程。

    三、实现mediator plugin的配置设置和加载功能;实现mediator plugin service的注册和初始化以及启动流程。

    本周研发工作进展

    创世单元:

    创世单元生成、接口实现:普通交易解析,创币交易解析,UTXO的保存。

    创世单元:

    ConfigPayload(配置类型交易)的生成接口实现。

    普通单元:

    区块头、区块体(Merkle Root与交易hash列表的关联)、交易数据的写入。

    交易验证:

    单元签名验证。从脚本中获取地址。

    资产管理:

    实现货币属性保存和获取接口。

    全局属性:

    全局配置属性的。

    UTXO: 

    实现提供账户余额的查询接口。

    测试:

    上述接口测试文件的撰写。

    合约管理:

    实现读写集模块,对合约模拟执行过程的测试验证。

     

    PalletOne查询数据库:

    编写kafka→spark程序,并编译通过;搭建并编写Restful API基本框架。

    交易池:

    交易记录本地化功能编码及测试。

    交易池:

    根据交易的优先级计算公式,排序交易。返回不超过1MB的交易数据块。

    RLP编码:

    熟悉RLP编码解码过程。

    交易池:

    确定Header结构验签流程, 修复了交易添加不成功等bug。

    创世单元:

    创世单元的创建、签名代码重构。

     

    整体框架:

    修改transaction、txpool的调用代码。

    P2P网络:

    调试交易同步。

    适配器:

    实现多签合约7/12,设置权重、测试eth转入转出等。

    整体框架:

    测试优化创建genesis.json文件的功能;实现PalletOne配置文件的自动生成功能;优化palletone创世单元的生成流程;优化palletone节点启动流程。

    Consensus:

    研究palletone中service的注册和启动等实现流程;研究palletone框架中node模块的p2p和rpc的初始化和启动流程;实现mediator plugin的配置设置和加载功能;实现mediator plugin service的注册和初始化以及启动流程。

    交易签名:

    初步完成了交易单签代码迁移编译。

                          以下为英文部分

    Emphasis Of This Week

    1) Genesis unit generation and interfaces implementation: general transaction analysis, genesis token transaction analysis , UTXO preservation,the ConfigPayload interface generation.

    2)Test and optimize the creation of the genesis.json file. Implement the automatic generation of PalletOne configuration file. Optimize the generation process of Genesis Unit and start process of PalletOne node.

    3) Implement the configuration and loading function of mediator plugin. Implement the registration, initialization and start-up process of mediator plugin service.

    Work Progress Of R&.D This Week

    Smart Contracts

    Investigate the migration of bitcoin trading script engines.

    Genesis Unit

    Genesis unit generation and interfaces implementation: general transaction analysis, genesis token transaction analysis as well as UTXO preservation. 

    Genesis Un

    it 

     The ConfigPayload interface generation.

    Normal Unit

    Write-in of block header, block body ( Merkle Root is associated with the transaction hash list ), and transaction data.

    Transaction Verification

     Unit signature verification. Get the address from the script.

    Asset Management

    Implementation of interfaces of currency attributes obtain and preservation.

     Global Attributes

    Implementation of global attributes configuration.

    UTXO

    Implement the query interface for account balances.

    Contract Management

    Implement the read-write set module. Test and verify the contract simulation execution process.

    PalletOne Query Database

    Write and compile kafka - spark program. Build the framework of Restful API.

    Transaction Pool

    Implement and test the transaction record localization function. 

    Transaction Pool

    Sort transactions according to the transaction priority calculation formula, and return block of transactions that no more than 1M bytes.

     RLP Encoding

    Familiar with RLP encoding and decoding process.

    Transaction Pool

    Confirm the signature verification process of header structure, and fix bugs including unable to add transaction.

    Genesis Unit

    Create the genesis unit and reconstruct the signature function.

    Overall Framework

    Modify the function of transaction and txpool invocation.

    P2P Network

    Debug the module of transaction synchronization.

     Adapter

    Realize multi-signature contracts. Set the weight and test the function of send ETH in and out.

    Overall Framework

    Test and optimize the creation of the genesis.json file. Implement the automatic generation of PalletOne configuration file. Optimize the generation process of genesis unit and start process of PalletOne node.

     Consensus

    Study implementation process of service registration and startup as well as the initialization and startup processes of P2P and RPC of node module.

    Consensus

    Implement the configuration and loading function of mediator plugin. Implement the registration, initialization and start-up process of mediator plugin service.

    Transaction signature

    Preliminarily complete the migration and compilation of transaction single signature module.

    Learn more about the progress of PalletOne.

    PalletOne项目每周必读 | 7.2-7.8

    PalletOne项目每周必读 | 6.25-7.1

    PalletOne研发团队周工作简报(2018.6.4-2018.6.10)

    PalletOne项目每周必读 | 6.11-6.17

    PalletOne项目每周必读 | 6.18-6.24

    区块链世界的IP协议高性能分布式账本

    更多有价值的悄悄话,欢迎加入PalletOne社群

    添加PalletOne波波微信

    加入社区,咨询更多消息

    官网:https://pallet.one/

    官方邮箱:contact@pallet.one

    Telegram:https://t.me/PalletOneGlobal 

    Github:https://github.com/PalletOne

    Twitter:https://twitter.com/PalletOne_org

    Facebook:https://www.facebook.com/Pallet

    One-1399711010172819/?modal=admin_todo_tour

    更多官方咨询,关注公众号获得

    相关文章

      网友评论

          本文标题:PalletOne项目每周必读 | 7.9-7.15

          本文链接:https://www.haomeiwen.com/subject/sfakgftx.html