testnode

package
v0.0.0-...-b770cea Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = `` /* 3874-byte string literal not displayed */

DefaultConfig default config for testnode

Functions

This section is empty.

Types

type ParaNode

type ParaNode struct {
	Main *testnode.ChainMock
	Para *testnode.ChainMock
}

ParaNode 平行链节点由两个节点组成

func NewParaNode

func NewParaNode(main *testnode.ChainMock, para *testnode.ChainMock) *ParaNode

NewParaNode 创建一个平行链节点

func (*ParaNode) Close

func (node *ParaNode) Close()

Close 关闭系统

Jump to

Keyboard shortcuts

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