Module state
Source - CanFinish
- The user is ready to build the tree as soon as it has
a cosign response from the server
- CanGenerateNonces
- The UTXO that will be used to fund the tree is known, so the
user’s signing nonces can be generated
- Preparing
- The user is preparing the funding tx
- ServerCanCosign
- All the information for the server to cosign the tree is known
- BuilderState
- A marker trait used as a generic for super::SignedTreeBuilder
- CanSign
- Trait to capture all states that have sufficient information
for either party to create signatures