Closed quantumagi closed 3 years ago
@quantumagi how are you able to prove that this works?
@fassadlr , if you guys are happy with the basic approach I can submit the generated transaction to the test network and see if the funds get transferred. Alteratively, for now, you may want to comment on the layout of the transaction - e.g. multiple inputs to a single output. We may want to map many inputs to the same number of outputs instead.
The methodology for testing this will be to run a federation consisting of 3 federation members - i.e. 3 sidechain daemons and 3 mainchain daemons. Will run this on testnet with a local cirrus chain. Once this is fully synced I will stop the federation, backup the data folder and create a funds recovery transaction using this tool. Next step will be to reconfigure the federation with the new address (consisting of 2 members and requiring both signatures) and then submit the funds recovery transaction via the API.
Ran tool for gateway1: Copied generated files to 2nd gateway2 then: Recovery files generated:
Before submitting the funds-recovery transaction for StratisTest:
Tested successfully!
If we've tested on the testnet then it looks good to me.
This tool fits into step 4 of the following overall process related to changing a federation's multisig members.
The order of these steps are important: