Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface { //认可对给定的有效负载(proposalResponsePayLoad字节)进行签名,并可选地对其进行变异。 //返回: //背书:有效载荷上的签名,以及用于验证签名的标识。 //作为输入给出的有效负载(可以在此函数中修改) //或失败时出错 Endorse(payload []byte, sp *peer.SignedProposal) (*peer.Endorsement, []byte, error) //init将依赖项插入插件的实例中 Init(dependencies ...Dependency) error }
插件认可建议响应
Click to show internal directories.
Click to hide internal directories.