package
0.0.0-20240104051248-e3e94bd529cf
Repository: https://github.com/11090815/hyperchain.git
Documentation: pkg.go.dev
# Constants
用于存储 TRANSACTIONS_FILTER、State Updates(状态更新)的哈希值的区块元数据数组位置、 和上一个区块的 COMMIT_HASH.
存储最后一个配置区块序列号的区块元数据数组位置.
用于存储排序者的操作元数据.
区块签名的区块元数据数组位置.
用于存储无效交易的序列化位数组过滤器.
用于打包链码工件以进行安装.
用于表达通道配置的信息.
用于更新通道配置的 transaction.
用作提交的信封信息的类型,以指示交付应用程序接口寻求.
SDK 用于提交基于背书人的交易.
用于已签名但不透明的报文.
用于排序者内部管理.
要求满足所有子政策的要求.
要求满足任意子策略,如果不存在子策略,则总是返回 true.
要求满足绝大多数(超过半数)次级政策的要求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Enum value maps for BlockMetadataIndex.
Enum value maps for BlockMetadataIndex.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Enum value maps for HeaderType.
Enum value maps for HeaderType.
Enum value maps for ImplicitMetaPolicy_Rule.
Enum value maps for ImplicitMetaPolicy_Rule.
Enum value maps for Policy_PolicyType.
Enum value maps for Policy_PolicyType.
Enum value maps for Status.
Enum value maps for Status.
# Structs
ApplicationPolicy 捕获了在应用程序级别设置和评估的不同策略类型。.
No description provided by the author
No description provided by the author
这是 orderer 和 peer 共享的区块。请注意,BlockHeader 链接到前 一个 BlockHeader,BlockData 哈希值嵌入到 BlockHeader 中。 这样, 数据包含在哈希值中,而元数据不包含在哈希值中。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
包含引导快照的信息。.
所具有的能力。.
是一个空的结构体。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Consenter 代表一个共识节点.
Consortium 表示创建通道的联盟上下文信息。.
No description provided by the author
No description provided by the author
No description provided by the author
当创建者可以通过 ID 被引用时,IdentifierHeader 可以替代 SignatureHeader。.
ImplicitMetaPolicy 是一种取决于配置层次性质的策略类型。它是隐式的,因为规则是根据子策略的数 量隐式生成的。说它是元策略,是因为它只取决于其他策略的结果。评估时,该策略会遍历所有直接子分组, 检索名称为 sub_policy 的策略,评估集合并应用该规则。例如,有 4 个子组,策略名称为 "foo", ImplicitMetaPolicy 会检索每个子组,检索每个子组的策略 "foo",对其进行评估,在 ANY 的情况下, 满足 1 个签名即可,ALL 需要 4 个签名,MAJORITY 需要 3 个签名。.
LastConfig 是元数据信息的编码值,在 LAST_CONFIGURATION 块元数据索引中编码.
Metadata 是用于编码区块元数据的通用结构.
No description provided by the author
No description provided by the author
OrdererBlockMetadata 定义了由排序服务设置的元数据。.
No description provided by the author
消息的有效载荷,包括消息头.
Policy 表达了一个 orderer 可以评估的策略。.
No description provided by the author
SignaturePolicy 是一个递归消息结构,它定义了一个轻量级 DSL,用于描述比 "exactly this signature" 更复杂的策略。 NOutOf 运算符足以表达 AND 和 OR,当然也可以表达 N 个以下 M 个策略中的 N 个。SignedBy 表示签名来自有效证书,该 证书由字节中指定的可信机构签署。 如果是自签证书,则是证书本身,如果是传统证书,则是 CA。.
No description provided by the author
No description provided by the author
No description provided by the author
SignaturePolicyEnvelope 封装了签名策略,并包含一个版本以备未来增强之用。.
# Type aliases
BlockMetadataIndex 该枚举列出了区块元数据数组的索引.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author