dash

package
v1.0.0-dev.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithProTxHash

func ContextWithProTxHash(ctx context.Context, proTxHash crypto.ProTxHash) context.Context

ContextWithProTxHash puts node pro-tx-hash into a context

func MustProTxHashFromContext

func MustProTxHashFromContext(ctx context.Context) crypto.ProTxHash

MustProTxHashFromContext retrieves node pro-tx-hash from a context, panic if pro-tx-hash is absent

func ProTxHashFromContext

func ProTxHashFromContext(ctx context.Context) (crypto.ProTxHash, error)

ProTxHashFromContext retrieves node pro-tx-hash from a context

Types

This section is empty.

Directories

Path Synopsis
selectpeers
Package selectpeers is package contains algorithm that selects peers based on the deterministic connection selection algorithm described in DIP-6
Package selectpeers is package contains algorithm that selects peers based on the deterministic connection selection algorithm described in DIP-6

Jump to

Keyboard shortcuts

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