Skip to main content

LOCAL_PIX_SUITE

Constant LOCAL_PIX_SUITE 

Source
pub const LOCAL_PIX_SUITE: PixSuite;
Expand description

The elliptic curve suite this build instantiates PIX over, as announced to peers.

A property of how the node was compiled — pix-bjj or pix-secp256k1 on hopr-crypto-packet — not of its configuration, so it is read off the spec rather than named again here. Peers that disagree about it cannot exchange PIX commitments at all, because every curve-sized field on the wire changes width with it; announcing it is what turns that into a refused Session instead of undecodable traffic.