mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-18 04:14:32 -05:00
93a0692998
The rendezvous protocol allows us to register all of our external addresses. Hence, the first step is to allow the user to configure external addresses as part of the config. In the future, there might be an automated way of determining these. To register with a rendezvous node, the user needs to configure which one. CoBloX is running a rendezvous node that acts as the default by every spec-compliant node will do the job just fine. This behaviour is optional which is why our custom behaviour is wrapped in a `Toggle`. We also want our node to re-register after half the time of the registration has passed. To make this simpler and allow for testing in isolation, we create a custom behaviour that wraps the libp2p rendezvous behaviour. |
||
---|---|---|
.. | ||
bitcoind.rs | ||
electrs.rs | ||
mod.rs |