aboutsummaryrefslogtreecommitdiffstats
path: root/core/module-text.h
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-28 19:16:39 +0100
committereunhhu <[email protected]>2026-09-28 19:16:39 +0100
commit09b754f2490dec5582ba79c9cde55b32bac12bcf (patch)
tree51f93709b1375648a5f2e61d625d908c0a676085 /core/module-text.h
parentec210a8aed62c301e9ae384d4d157e379fa58f54 (diff)
downloadpure-09b754f2490dec5582ba79c9cde55b32bac12bcf.tar.gz
pure-09b754f2490dec5582ba79c9cde55b32bac12bcf.zip
Let a link at rest cost the listener only its allowing
A sender allowed is now a peer of 48 bytes (its key, its key's id, its sources), found through an index by key id; ids are 32 bits, so keys that share one are each tried. What a sending peer needs besides (the secret its key shares with the node's, its runs' keys and addresses, its streams) is made at its first packet and let go once it has been quiet for the idle period (--link-idle-ms, 30 s at first) with nothing of it waiting: the next packet makes it again, one X25519, no handshake. The listener hands over and answers only the streams and runs that changed, not every one at each turn. --senders FILE allows senders a line each. The UDP link checks take their sender from such a file among a thousand others, let it go after 400 ms of quiet, and see an order after a longer pause arrive all the same.
Diffstat (limited to 'core/module-text.h')
0 files changed, 0 insertions, 0 deletions