spv

module
v0.0.0-...-f30a169 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: Apache-2.0

README

项目简介

ChainMaker-SPV是ChainMaker的轻节点,主要是同步区块头及其他信息的节点,并通过同步的数据实现交易的验证。

目前该版本具有如下功能:

  • 实现对多链的区块头及部分其他数据(如交易Hash)的同步,且可对外提供交易存在性及有效性证明;
  • 可独立部署获取业务链的数据,并提供交易存在性及有效性证明服务;
  • 可作为组件集成进其他模块,调用启动以获取业务链的数据,并提供交易存在性及有效性证明;

适配版本

chainmaker-spv chainmaker-go chainmaker-sdk-go
v1.2.0 v1.2.0 v1.2.0
v1.2.3 v1.2.3 v1.2.3

快速了解

可通过如下链接进一步了解。

Directories

Path Synopsis
Package adapter defines SDK interface and contains the implementations of each chain
Package adapter defines SDK interface and contains the implementations of each chain
Package coder defines coding and decoding interface and contains the implementations of each chain
Package coder defines coding and decoding interface and contains the implementations of each chain
Package common defines the interfaces that block, block header and transaction need to implement, and contains the implementations of each chain
Package common defines the interfaces that block, block header and transaction need to implement, and contains the implementations of each chain
Package conf contains the logic to read and initialize system configuration
Package conf contains the logic to read and initialize system configuration
Package logger contains spv logs for each module
Package logger contains spv logs for each module
cmd
Package manager contains block synchronization logic
Package manager contains block synchronization logic
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
pb
api
Package prover is transaction validation module
Package prover is transaction validation module
Package rpcserver is gRPC server module
Package rpcserver is gRPC server module
Package server is SPV module
Package server is SPV module
Package storage is storage module of all chains
Package storage is storage module of all chains
kvdb
Package kvdb is kvdb module
Package kvdb is kvdb module
kvdb/leveldb
Package leveldb is leveldb module
Package leveldb is leveldb module
tools
main
Package main implements a test tool
Package main implements a test tool
utils
chainmaker_tools
Package utils defines tools for ChainMaker spv
Package utils defines tools for ChainMaker spv
Package verifier defines block verifier interface and contains the implementations of each chain
Package verifier defines block verifier interface and contains the implementations of each chain

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL