Add blockwork transfer system #653
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
parasitepool/para!653
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "parabit/work-transfer-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -375,0 +393,4 @@),tag = "payouts")]pub(crate) async fn transfer_diff(this function is not atomic, you read the balances first and then do the transfer. The core principle of a credit/debit system is balance check + transfer in one atomic transaction
see comment. Also we need to think about how a user authorizes this transfer. Bip322 sig, probably need replay protection etc.