leader qos part 2: add stage to find sender stake, set to packet meta
This commit is contained in:
@ -32,7 +32,7 @@ pub struct Meta {
|
||||
pub addr: IpAddr,
|
||||
pub port: u16,
|
||||
pub flags: PacketFlags,
|
||||
pub weight: u64,
|
||||
pub sender_stake: u64,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
@ -146,7 +146,7 @@ impl Default for Meta {
|
||||
addr: IpAddr::V4(Ipv4Addr::UNSPECIFIED),
|
||||
port: 0,
|
||||
flags: PacketFlags::empty(),
|
||||
weight: 0,
|
||||
sender_stake: 0,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user