mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-22 13:40:19 +00:00
Method names updated in examples
This commit is contained in:
parent
235b1cea4c
commit
b0369585e0
@ -158,7 +158,7 @@ def client(destination_hexhash, configpath, timeout=None):
|
|||||||
# If we do not know this destination, tell the
|
# If we do not know this destination, tell the
|
||||||
# user to wait for an announce to arrive.
|
# user to wait for an announce to arrive.
|
||||||
RNS.log("Destination is not yet known. Requesting path...")
|
RNS.log("Destination is not yet known. Requesting path...")
|
||||||
RNS.Transport.requestPath(destination_hash)
|
RNS.Transport.request_path(destination_hash)
|
||||||
|
|
||||||
# This function is called when our reply destination
|
# This function is called when our reply destination
|
||||||
# receives a proof packet.
|
# receives a proof packet.
|
||||||
|
@ -211,7 +211,7 @@ def client(destination_hexhash, configpath):
|
|||||||
# Check if we know a path to the destination
|
# Check if we know a path to the destination
|
||||||
if not RNS.Transport.has_path(destination_hash):
|
if not RNS.Transport.has_path(destination_hash):
|
||||||
RNS.log("Destination is not yet known. Requesting path and waiting for announce to arrive...")
|
RNS.log("Destination is not yet known. Requesting path and waiting for announce to arrive...")
|
||||||
RNS.Transport.requestPath(destination_hash)
|
RNS.Transport.request_path(destination_hash)
|
||||||
while not RNS.Transport.has_path(destination_hash):
|
while not RNS.Transport.has_path(destination_hash):
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ def client(destination_hexhash, configpath):
|
|||||||
# Check if we know a path to the destination
|
# Check if we know a path to the destination
|
||||||
if not RNS.Transport.has_path(destination_hash):
|
if not RNS.Transport.has_path(destination_hash):
|
||||||
RNS.log("Destination is not yet known. Requesting path and waiting for announce to arrive...")
|
RNS.log("Destination is not yet known. Requesting path and waiting for announce to arrive...")
|
||||||
RNS.Transport.requestPath(destination_hash)
|
RNS.Transport.request_path(destination_hash)
|
||||||
while not RNS.Transport.has_path(destination_hash):
|
while not RNS.Transport.has_path(destination_hash):
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user