package
0.0.0-20220821105735-b124b1e83613
Repository: https://github.com/wooyang2018/corechain.git
Documentation: pkg.go.dev

# README

protoc --go_out=protos --go_opt=paths=source_relative -I ./protos protos/chainbft.proto protoc --go_out=protos --go_opt=paths=source_relative -I ./protos protos/permission.proto protoc --go_out=protos --go_opt=paths=source_relative -I ./protos protos/contract.proto protoc --go_out=protos --go_opt=paths=source_relative -I ./protos protos/proposal.proto protoc --go_out=protos --go_opt=paths=source_relative -I ./protos protos/status.proto

protoc --go_out=protos --go_opt=paths=source_relative --go-grpc_out=protos --go-grpc_opt=paths=source_relative --go-grpc_opt=require_unimplemented_servers=false -I ./protos protos/event_service.proto protoc --go_out=protos --go_opt=paths=source_relative --go-grpc_out=protos --go-grpc_opt=paths=source_relative --go-grpc_opt=require_unimplemented_servers=false -I ./protos protos/syscall_service.proto protoc --go_out=protos --go_opt=paths=source_relative --go-grpc_out=protos --go-grpc_opt=paths=source_relative --go-grpc_opt=require_unimplemented_servers=false -I ./protos protos/network_service.proto protoc --go_out=protos --go_opt=paths=source_relative --go-grpc_out=protos --go-grpc_opt=paths=source_relative --go-grpc_opt=require_unimplemented_servers=false -I ./protos protos/chain_service.proto

# Functions

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

# Constants

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
chained-bft NEW_PROPOSAL message.
chained-bft NEW_VIEW message.
chained-bft vote message.
No description provided by the author
向邻近确认区块是否为最新状态区块.
No description provided by the author
No description provided by the author
No description provided by the author
get authentication information.
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
block error.
No description provided by the author
No description provided by the author
消息头同步对(GET_HASHES <-> HASHES), 发送方通过GET_HASHES消息询问区间范围内的所有区块哈希信息, 接受方发送HASHES信息, 该消息携带其所知的区间范围内的BlockId列表.
No description provided by the author
消息对(GET_BLOCKS <-> BLOCKS), 发送方通过GET_BLOCKS消息询问BlockId列表内的所有对应区块信息, 接受方发送BLOCKS信息, 该消息携带具体Block.
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
query RPC port information.
No description provided by the author
No description provided by the author
broadcast new block id to other node.
new node used to add to network automatic.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
success.
common error.
No description provided by the author
CA服务器鉴权.
社区治理.
无权限控制.
AKSet签名策略.
签名率策略.
签名个数策略vim.
签名阈值策略.
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
the fee used in kernel contract.
区块事件,payload为BlockFilter.
Transaction have been confirmed.
Transaction occurs error.
Transaction is on the furcation.
Transaction not exist.
Transaction have not been confirmed.
Undefined status.

# Variables

Enum value maps for BlockStatus.
Enum value maps for BlockStatus.
Enum value maps for CoreMessage_ErrorType.
Enum value maps for CoreMessage_ErrorType.
Enum value maps for CoreMessage_MessageType.
Enum value maps for CoreMessage_MessageType.
EventService_ServiceDesc is the grpc.ServiceDesc for EventService service.
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
NativeCode_ServiceDesc is the grpc.ServiceDesc for NativeCode service.
P2PService_ServiceDesc is the grpc.ServiceDesc for P2PService service.
Enum value maps for PermissionRule.
Enum value maps for PermissionRule.
Enum value maps for ProposalStatus.
Enum value maps for ProposalStatus.
Enum value maps for QCState.
Enum value maps for QCState.
Enum value maps for ResourceType.
Enum value maps for ResourceType.
Enum value maps for SubscribeType.
Enum value maps for SubscribeType.
Syscall_ServiceDesc is the grpc.ServiceDesc for Syscall service.
Enum value maps for TransactionStatus.
Enum value maps for TransactionStatus.
XChain_ServiceDesc is the grpc.ServiceDesc for XChain service.

# Structs

Acl实际使用的结构.
查询Acl.
No description provided by the author
No description provided by the author
AK集的表示方法.
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
The block struct.
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
ContractResponse is the response returnd by contract.
No description provided by the author
Status of a contract.
CoreMessage is the message of core p2p server.
MessageData is the message data of Xuper p2p server.
MessageHeader is the message header of Xuper p2p server.
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
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
GovernTokenBalance.
No description provided by the author
The internal block struct.
预执行的请求结构.
预执行的返回结构.
No description provided by the author
No description provided by the author
No description provided by the author
Ledger metadata.
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
Proposal.
ProposalMsg 是chained-bft中定义的Block形式,区别在于其有一个parentQC,该存储只供chained-bft类使用.
No description provided by the author
No description provided by the author
QCSignInfos is the signs of the leader gathered from replicas of a specifically certType.
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
QuorumCert is a data type that combines a collection of signatures from replicas.
QuorumCertSign 是(Addr, Pk, 签名)三元组.
通用请求Header.
No description provided by the author
通用响应Header.
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
签名详情.
SignInfo is the signature information of the.
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
Transaction is the information of the transaction.
No description provided by the author
No description provided by the author
No description provided by the author
TriggerDesc.
No description provided by the author
No description provided by the author
Transaction input.
扩展输入.
Transaction output.
扩展输出.
UnimplementedEventServiceServer should be embedded to have forward compatible implementations.
UnimplementedNativeCodeServer should be embedded to have forward compatible implementations.
UnimplementedP2PServiceServer should be embedded to have forward compatible implementations.
UnimplementedSyscallServer should be embedded to have forward compatible implementations.
UnimplementedXChainServer should be embedded to have forward compatible implementations.
No description provided by the author
No description provided by the author
Utxo metadata.
UtxoOutput query results.
No description provided by the author
No description provided by the author
VoteMsg is the vote message of the protocal.
No description provided by the author
Unified Xuper Signature.

# Interfaces

No description provided by the author
No description provided by the author
EventServiceClient is the client API for EventService service.
EventServiceServer is the server API for EventService service.
NativeCodeClient is the client API for NativeCode service.
NativeCodeServer is the server API for NativeCode service.
No description provided by the author
No description provided by the author
P2PServiceClient is the client API for P2PService service.
P2PServiceServer is the server API for P2PService service.
SyscallClient is the client API for Syscall service.
SyscallServer is the server API for Syscall service.
UnsafeEventServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafeNativeCodeServer may be embedded to opt out of forward compatibility for this service.
UnsafeP2PServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafeSyscallServer may be embedded to opt out of forward compatibility for this service.
UnsafeXChainServer may be embedded to opt out of forward compatibility for this service.
XChainClient is the client API for XChain service.
XChainServer is the server API for XChain service.

# Type aliases

BlockStatus is the status of block.
No description provided by the author
No description provided by the author
-------- Account and Permission Section --------.
No description provided by the author
QCState is the phase of hotstuff.
No description provided by the author
No description provided by the author
TransactionStatus is the status of transaction.