Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Statemachine #4

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

WIP: Statemachine #4

wants to merge 16 commits into from

Conversation

JSwambo
Copy link
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