Files
p2p/peer/validator_id.go

18 lines
477 B
Go

// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package peer
import "github.com/luxfi/ids"
// ValidatorID represents a validator that we gossip to other peers
type ValidatorID struct {
// The validator's ID
NodeID ids.NodeID
// The Tx that added this into the validator set
TxID ids.ID
}