github.com/MetalBlockchain/metalgo@v1.11.9/ids/request_id.go (about) 1 // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package ids 5 6 // RequestID is a unique identifier for an in-flight request pending a response. 7 type RequestID struct { 8 // The node this request came from 9 NodeID NodeID 10 // The chain this request came from 11 SourceChainID ID 12 // The chain the expected response should come from 13 DestinationChainID ID 14 // The unique identifier for this request 15 RequestID uint32 16 // The message opcode 17 Op byte 18 }