github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/model/bootstrap/partner_nodes.go.go (about)

     1  package bootstrap
     2  
     3  import (
     4  	"github.com/onflow/flow-go/model/encodable"
     5  	"github.com/onflow/flow-go/model/flow"
     6  )
     7  
     8  // PartnerNodeInfoPub represents public information about a partner/external
     9  // node. It is identical to NodeInfoPub, but without weight information, as this
    10  // is determined externally to the process that generates this information.
    11  type PartnerNodeInfoPub struct {
    12  	Role          flow.Role
    13  	Address       string
    14  	NodeID        flow.Identifier
    15  	NetworkPubKey encodable.NetworkPubKey
    16  	StakingPubKey encodable.StakingPubKey
    17  }