mirror of
https://github.com/logos-co/nomos-specs.git
synced 2025-02-01 10:06:10 +00:00
add comment for packet_size
This commit is contained in:
parent
a25b3942ff
commit
78d4ab9ba2
@ -32,6 +32,8 @@ class Node:
|
||||
mixgossip_channel: GossipChannel
|
||||
reconstructor: MessageReconstructor
|
||||
broadcast_channel: BroadcastChannel
|
||||
# The actual packet size is calculated based on the max length of mix path by Sphinx encoding
|
||||
# when the node is initialized, so that it can be used to generate noise packets.
|
||||
packet_size: int
|
||||
|
||||
def __init__(self, config: NodeConfig, global_config: GlobalConfig):
|
||||
|
Loading…
x
Reference in New Issue
Block a user