xmr-btc-swap/swap
Thomas Eizinger 01739eddb1
Introduce a more flexible transaction subscription system
Instead of watching for status changes directly on bitcoin::Wallet,
we return a Subscription object back to the caller. This subscription
object can be re-used multiple times.

Among other things, this now allows callers of `broadcast` to decide
on what to wait for given the returned Subscription object.

The new API is also more concise which allows us to remove some of
the functions on the actor states in favor of simple inline calls.

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-03-30 10:29:19 +11:00
..
src Introduce a more flexible transaction subscription system 2021-03-30 10:29:19 +11:00
tests Introduce a more flexible transaction subscription system 2021-03-30 10:29:19 +11:00
Cargo.toml Merge #383 #385 #386 2021-03-29 22:31:43 +00:00