channelpadding_negotiation.trunnel (533B)
1 const CHANNELPADDING_COMMAND_STOP = 1; 2 const CHANNELPADDING_COMMAND_START = 2; 3 4 /* This command tells the relay to alter its min and max netflow 5 timeout range values, and send padding at that rate (resuming 6 if stopped). */ 7 struct channelpadding_negotiate { 8 u8 version IN [0]; 9 u8 command IN [CHANNELPADDING_COMMAND_START, CHANNELPADDING_COMMAND_STOP]; 10 11 /* Min must not be lower than the current consensus parameter 12 nf_ito_low. */ 13 u16 ito_low_ms; 14 15 /* Max must not be lower than ito_low_ms */ 16 u16 ito_high_ms; 17 };