genesis

package
v0.0.0-...-2b16687 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(hs *grope.GHttpServe)

Router HTTP路由

Types

type BlockServer

type BlockServer struct{}

BlockServer fabric创世相关操作

func (*BlockServer) CreateChannelTx

func (bs *BlockServer) CreateChannelTx(ctx context.Context, req *genesis.ReqChannelTx) (*genesis.RespChannelTx, error)

CreateChannelTx 生成通道/账本初始区块

func (*BlockServer) CreateGenesisBlock

func (bs *BlockServer) CreateGenesisBlock(ctx context.Context, req *genesis.ReqGenesisBlock) (*genesis.RespGenesisBlock, error)

CreateGenesisBlock 生成创世区块

Jump to

Keyboard shortcuts

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