mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 05:41:43 +03:00
lull: fine congestion control data structures
This commit is contained in:
parent
c9871ad2ef
commit
a86664076d
@ -547,6 +547,35 @@
|
||||
rcv=(map bone message-sink-state)
|
||||
nax=(set [=bone =message-num])
|
||||
heeds=(set duct)
|
||||
=scry-state
|
||||
==
|
||||
+$ scry-state
|
||||
$: order=(map path @ud)
|
||||
seq=@ud
|
||||
keens=((mop @ud keen-state) lte)
|
||||
metrics=pump-metrics
|
||||
==
|
||||
+$ keen-state
|
||||
$: wan=(list want) :: request packets
|
||||
hav=(list have) :: response packets, backward
|
||||
num-fragments=@ud
|
||||
num-received=@ud
|
||||
==
|
||||
+$ want
|
||||
$: fra=@ud
|
||||
=hoot
|
||||
last-sent=@da
|
||||
tries=@ud
|
||||
skips=@ud
|
||||
==
|
||||
+$ have
|
||||
$: fra=@ud
|
||||
rawr
|
||||
==
|
||||
+$ rawr :: response packet ::TODO meow
|
||||
$: sig=@
|
||||
siz=@ud
|
||||
byts
|
||||
==
|
||||
:: $qos: quality of service; how is our connection to a peer doing?
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user