15 Commits

Author SHA1 Message Date
Antoine Poinsot
293c28570c
Cargo: fix the rust-miniscript patched dependency for downstream
This new syntax would actually force all downstream users to apply the
patch section in their Cargo.toml! Revert to the previous syntax of
specifying the git repo directly.
2022-12-08 12:06:19 +01:00
Antoine Poinsot
3224f08ba0
daemon: update rust-miniscript to 0.9
This also updates the multipaths descriptor patch to the review PR https://github.com/rust-bitcoin/rust-miniscript/pull/470 (rebased on 0.9)
2022-12-07 11:58:36 +01:00
Antoine Poinsot
968a7d17a0
daemon: rename Minisafe to Liana 2022-11-17 17:10:22 +01:00
Antoine Poinsot
3105b86a28
Use my own fork of rust-miniscript
It supports multipath descriptors. We'll need to find a solution for the release
2022-10-24 09:01:03 +02:00
Antoine Poinsot
a4bdb1efb7
tree wide: upgrade to Miniscript 8.0.0
This also updates the indirect rust-bitcoin dependency to 0.29.

Major changes are in the descriptors management:
	- The rust-miniscript descriptors don't support raw hashes
	  within the pk_h() fragments, so we don't need all the boutique
	  management for this.
	- The key translator API changed.
	- We now take a u16 for the timelock instead of our previous
	  checks. This was inspired by the new rust-bitcoin Sequence
	  type.
	- We now take a path instead of just a derivation index in
	  DerivedKey. We might use paths after all...

As for rust-bitcoin it's just a few nits:
	- No more 'global' field on PSBTs (yay)
	- Couple more trait derivation on types
	- Some APIs were renamed.
2022-10-20 17:53:26 +02:00
Antoine Poinsot
d432745da5
Cargo: don't require the 'compiler' feature from miniscript 2022-10-20 17:53:26 +02:00
Antoine Poinsot
9afd44061e
commands: add a new create_spend command 2022-09-15 11:41:31 +02:00
edouard
0d79a31eb2 fix crate name: minisafe 2022-07-26 10:46:16 +02:00
Antoine Poinsot
ad32977558
Don't compile daemon and cli binaries on Windows 2022-07-25 11:37:56 +02:00
Antoine Poinsot
11cc4dc2e6
Cargo: pin rusqlite dependency for MSRV
Sigh...
2022-07-25 11:37:56 +02:00
Antoine Poinsot
7340c13142
daemon: implement daemonize for UNIX platforms 2022-07-25 11:37:55 +02:00
Antoine Poinsot
c095346e17
Introduce the Bitcoin network interface along with a bitcoind module 2022-07-23 12:49:18 +02:00
Antoine Poinsot
b0196ab529
daemon: introduce an SQLite database
With a schema similar to revaultd, but a different interface.
2022-07-23 12:49:17 +02:00
Antoine Poinsot
989a2cf8fd
daemon: introduce the DaemonHandle, which for now only creates a datadir
This code was mainly taken and adapted from revaultd at commit
7cd856d5a345319cebc815aa61f3b66cebb48b86.
2022-07-23 12:49:16 +02:00
Antoine Poinsot
1b35196448
daemon: backbone and configuration parsing
Taken from revaultd at 7cd856d5a345319cebc815aa61f3b66cebb48b86. Credits
to the revaultd contributors.
2022-07-20 18:42:08 +02:00