// (c) 2019-2020, Ava Labs, Inc. All rights reserved. // See the file LICENSE for licensing terms. package platformvm import ( "github.com/ava-labs/gecko/ids" "github.com/ava-labs/gecko/snow/validators" ) // A Subnet is a set of validators that are validating a set of blockchains // Each blockchain is validated by one subnet; one subnet may validate many blockchains type Subnet interface { // ID returns this subnet's ID ID() ids.ID // Validators returns the validators that compose this subnet Validators() []validators.Validator }