Implemented link request stamps

This commit is contained in:
Mark Qvist 2026-10-28 00:48:24 +01:00
parent c37b5f7f44
commit ba8c2d76db
No known key found for this signature in database
4 changed files with 139 additions and 38 deletions

View file

@ -42,6 +42,9 @@ def server(configpath):
"linkexample"
)
# We can optionally configure a link request stamp cost
server_destination.set_link_cost(14)
# We configure a function that will get called every time
# a new client creates a link to this destination.
server_destination.set_link_established_callback(client_connected)