Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the base building blocks to implement an automated sweep early worker for the server and a cashback system to incentive users to leak their vtxo secret keys.
Changes
GetCashback
RPC. SDK has a newGetCashbackNotes
method to handle this.Test it yourself
the round txid is
613cf0e583b9d42a5ca123df8b783a223806f0df35ace7d6c473490c3b30ce89
he gets an arknote as reward:
The admin can list the "sweepable early" rounds ids.
It returns the list of IDs available for sweep early cmd:
The admin then trigger sweep early:
TODOs
@altafan please review