Skip to content

WIP: Statemachine#4

Open
JSwambo wants to merge 16 commits intorevault:masterfrom
JSwambo:statemachine
Open

WIP: Statemachine#4
JSwambo wants to merge 16 commits intorevault:masterfrom
JSwambo:statemachine

Conversation

@JSwambo
Copy link
Copy Markdown
Member

@JSwambo JSwambo commented Oct 1, 2021

based on #3

Starting to implement statemachine logic

darosior and others added 16 commits September 28, 2021 14:40
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
In order to be able to generate all transactions

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
So we can reuse this call to gather the value of a deposit when
receiving a `sig` message.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This also corrects the database helpers, which made some wrong
assumptions of the message flow.

We impose a very strict order, to prevent surprises. This is a symptom
that we could instead adapt the protocol messages to our needs, but
let's keep it flexible for now.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This is taken and adapted from revaultd. There are few hacks because we
can't derive Miniscript descriptors and create the transactions in
Python. A python-revault-tx (and why not a revault-net as well) would be
really helpful.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
I can't manage to get the functional tests generate coverage but hey.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants