Commit fb96aea5 authored by madengji's avatar madengji Committed by 33cn

update comments

parent 462d2009
......@@ -412,7 +412,7 @@ func getValidAddrs(nodes map[string]struct{}, addrs []string) []string {
return ret
}
//bls签名共识交易验证 大约平均耗时30ms (20~40ms)
//bls签名共识交易验证 大约平均耗时3ms (2~4ms)
func (a *action) procBlsSign(nodesArry []string, commit *pt.ParacrossCommitAction) ([]string, error) {
signAddrs := util.GetAddrsByBitMap(nodesArry, commit.Bls.AddrsMap)
var pubs []string
......
......@@ -443,7 +443,7 @@ message LeaderSyncInfo {
message ParaP2PSubMsg {
int32 ty = 1;
oneof value {
Transaction commitTx = 10;
Transaction commitTx = 10;
LeaderSyncInfo syncMsg = 11;
}
......@@ -451,7 +451,7 @@ message ParaP2PSubMsg {
//bls sign leader info
message ElectionStatus {
bool isLeader = 1;
bool isLeader = 1;
LeaderSyncInfo leader = 2;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment