jjzjj

prpBytes

全部标签

go - 如何将 prpBytes(描述​​中的链接 src)(ProposalResponsePayload protobuf 消息)反序列化为原始对象

我对plugin.go中的方法有疑问,发现here在Hyperledger结构库中。//Endorsesignsthegivenpayload(ProposalResponsePayloadbytes),andoptionallymutatesit.//Returns://TheEndorsement:Asignatureoverthepayload,andanidentitythatisusedtoverifythesignature//Thepayloadthatwasgivenasinput(couldbemodifiedwithinthisfunction)//Orerroro