OverviewFilesCommitsIssuesDocsReleasesPeers

P2P-Hiverelay / packages / blind-protocol / vectors / draft / registry / schemas / 041-BlindTransportRouteV1.bin

26 lines · bin ref:
)BlindTransportRouteV1��BlindTransportRouteV1��BlindTransportRouteV1 {
  version:              u8 = 1
  routeKind:            u8  // 1 OHTTP ingress→gateway,
                            // 2 Protomux entry→exit, 3 Protomux exit→storage,
                            // 4 MASQUE entry→exit, 5 MASQUE exit→storage,
                            // 6 mix hop→next hop
  routeId:              16 random bytes
  previousRelayKey:     32 bytes
  previousEndpointId:   u8
  nextRelayKey:         32 bytes
  nextDescriptorSequence:u64
  nextDescriptorHash:   32 bytes
  nextEndpointId:       u8
  envelopeClassBits:    u16
  wireClassBits:        u8
  maxCanonicalDispatchBytes:u32
  maxEncapsulatedRequestBytes:u32
  maxOpenBytes:         u32
  maxCircuitBytes:      u64
  maxConcurrentStreams: u16
  hopAdmissionProfileId:u16
  issuedEpoch:          u32
  expiresEpoch:         u32  // issued < expiry <= issued + 4
  routeNonce:           32 bytes
  previousSignature:    64 bytes
}