trust

package
v1.121.4 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TrustedOperatorSigner = storj.NodeID{30: 1}

TrustedOperatorSigner is the zero signer that we use in production. This Go syntax is equivalent to 0000000000000000000000000000000000000000000000000000000000000100.

Functions

This section is empty.

Types

type TrustedPeersList

type TrustedPeersList struct {
	// contains filtered or unexported fields
}

TrustedPeersList represents a configuration-time list of trusted peers.

func NewTrustedPeerList

func NewTrustedPeerList(nodes []storj.NodeID) *TrustedPeersList

NewTrustedPeerList creates a TrustedPeerList from a list of trusted NodeIDs.

func (*TrustedPeersList) IsTrusted

func (list *TrustedPeersList) IsTrusted(node storj.NodeID) bool

IsTrusted returns whether a peer is marked as trusted.

Jump to

Keyboard shortcuts

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