packer

package module
v0.0.0-...-89fd2a1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

README

chain5j-packer

简介

chain5j-packer chain5j链负责节点打包。

功能

  • 负责拉取交易、打包交易

证书

chain5j-packer 的源码允许用户在遵循 Apache 2.0 开源证书 规则的前提下使用。

版权

Copyright@2022 chain5j

chain5j

Documentation

Overview

Package packer

@author: xwc1125

Package packer

@author: xwc1125

Package packer

@author: xwc1125

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPacker

func NewPacker(rootCtx context.Context, opts ...option) (protocol.Packer, error)

NewPacker 创建新的打包器

func WithApps

func WithApps(apps protocol.Apps) option

func WithBlockRW

func WithBlockRW(blockRW protocol.BlockReadWriter) option

func WithConfig

func WithConfig(config protocol.Config) option

func WithEngine

func WithEngine(engine protocol.Consensus) option

func WithTxPools

func WithTxPools(txPools protocol.TxPools) option

Types

This section is empty.

Jump to

Keyboard shortcuts

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