8 Commits

Author SHA1 Message Date
Alekos Filini
a5188209b2
Update .travis.ci to test the miniscriptc example 2020-08-08 09:27:52 +02:00
Alekos Filini
82c7e11bd5
Improve .travis.ci 2020-08-06 19:30:17 +02:00
Alekos Filini
4fcf7ac89e
Make the blockchain interface async again on wasm32-unknown-unknown
The procedural macro `#[maybe_async]` makes a method or every method of a trait
"async" whenever the target_arch is `wasm32`, and leaves them untouched on
every other platform.

The macro `maybe_await!($e:expr)` can be used to call `maybe_async` methods on
multi-platform code: it expands to `$e` on non-wasm32 platforms and to
`$e.await` on wasm32.

The macro `await_or_block!($e:expr)` can be used to contain async code as much
as possible: it expands to `tokio::runtime::Runtime::new().unwrap().block_on($e)`
on non-wasm32 platforms, and to `$e.await` on wasm32.
2020-07-20 20:02:24 +02:00
Alekos Filini
95b2cd4c32
[blockchain] add the Esplora backend 2020-05-07 15:21:54 +02:00
Alekos Filini
1a4e1bd96c
Wallet logic 2020-04-07 11:16:53 +02:00
Alekos Filini
4919ff148b
Move everything in the root 2020-02-07 12:27:10 +01:00
Alekos Filini
fa9a62fbee
Wrap Miniscript descriptors to support xpubs 2020-02-07 11:46:05 +01:00
Alekos Filini
94ca008a90
Add travis-ci 2020-02-07 11:42:59 +01:00