BHP Global Intelligent Computing Power Network(2020/6/24)

BHP Network
2 min readJun 24, 2020

Weekly Report

In order to keep the development of BHP global intelligent computing power network project, BHP team made the following progress last week.

Technical progress

1. Code update of BHP1.0:

(1) The maximum connection limit of bhp-cli node can be configured;

(2) The problem that the multiple bhp-cli nodes started by the same ip cannot be connected is modified;

(3) Modify the configuration of P2P network connection;

(4) The release of application resource is optimized with bhp-cli;

(5) Scripttoaddress interface is added to rpc service;

(6) Add deploy command to support contract issuance;

(7) Bhp-cli, bhp-gui, bhp-plugins new version v1.2.1.2 is released.

2. Development of BHP2.0:

(1) Consensus network: the block structure in Tendermint mainly includes the block header, transaction data, malicious verifier evidence and signature related information of the previous block; the field definition contained in the block header; the definition of the transaction data and the proof data structure of the malicious verifier’s wrong behavior in the block; the definition of information data structure submitted by block, including the signature, address of the verifier, time, etc;

(2) Common nodes: common nodes join the blockchain test network building: view and understand the access mechanism of common node, use the way of command line and configuration file to add seed nodes and verifier nodes and successfully complete the construction of common nodes;

(3) Consensus node: successfully build the test network for consensus node to join the blockchain: consensus node access mechanism; test and solve the problems of the balance, handling fee and other issues of the consensus node joining the blockchain network (For example, in the process of creating a validator, — gas and — gas-prices cannot be shared, how to backup, save and restore the wallet key, etc.) The structure of the file directory and the meaning of the configuration file in the node construction, sort out the steps and problems of the node deployment, solve it and submit it to github:

https://github.com/BhpDevGroup/docs2.0/blob/master/docs-zh/deploy-gaia-testnet.md

(4) Account system: The wallet mnemonic uses the BIP39 specification and the signature algorithm is the secp256k1, which uses the same encryption curve as Bitcoin and BHP1.0.

(5) Data structure of the account: basic account data structure: address, pubkey, account number, squence, coins. A basic account corresponds to the only address and public key, but it can contain multiple crypto currencies. BHP2.0 belongs to the account system, balance type, squence serial number is added to test to prevent transaction replay.

--

--