mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-26 01:46:26 -05:00
Set blackhole updater destination link cost
This commit is contained in:
parent
f15b34870a
commit
426673e974
1 changed files with 1 additions and 0 deletions
|
|
@ -492,6 +492,7 @@ class Transport:
|
|||
|
||||
if RNS.Reticulum.publish_blackhole_enabled() and not Transport.owner.is_connected_to_shared_instance:
|
||||
Transport.blackhole_destination = RNS.Destination(Transport.identity, RNS.Destination.IN, RNS.Destination.SINGLE, Transport.APP_NAME, "info", "blackhole")
|
||||
Transport.blackhole_destination.set_link_cost(5.25)
|
||||
Transport.blackhole_destination.register_request_handler("/list", response_generator = Transport.blackhole_list_handler, allow=RNS.Destination.ALLOW_ALL)
|
||||
Transport.mgmt_destinations.append(Transport.blackhole_destination)
|
||||
Transport.mgmt_hashes.append(Transport.blackhole_destination.hash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue