mirror of
https://github.com/markqvist/LXMF.git
synced 2025-05-21 23:40:27 -04:00
Stamp cost API functions and multi-process stamp generation on Android
This commit is contained in:
parent
4b5e27a5e2
commit
0d76eee6cd
4 changed files with 189 additions and 49 deletions
|
@ -39,7 +39,7 @@ r = RNS.Reticulum()
|
|||
|
||||
router = LXMF.LXMRouter(storagepath="./tmp1", enforce_stamps=enforce_stamps)
|
||||
identity = RNS.Identity()
|
||||
my_lxmf_destination = router.register_delivery_identity(identity, stamp_cost=required_stamp_cost)
|
||||
my_lxmf_destination = router.register_delivery_identity(identity, display_name="Anonymous Peer", stamp_cost=required_stamp_cost)
|
||||
router.register_delivery_callback(delivery_callback)
|
||||
|
||||
RNS.log("Ready to receive on: "+RNS.prettyhexrep(my_lxmf_destination.hash))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue