firewall

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStakeOrActiveKeepPolicy

func NewStakeOrActiveKeepPolicy(
	chainHandle chain.Handle,
	stakeMonitor coreChain.StakeMonitor,
) coreNet.Firewall

NewStakeOrActiveKeepPolicy is a firewall policy checking if the remote peer has a minimum stake and in case it has no minimum stake if it is a member of at least one active keep.

Types

This section is empty.

Jump to

Keyboard shortcuts

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