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

Updates on send coin #20

Open
tomt1664 opened this issue Jan 8, 2024 · 0 comments
Open

Updates on send coin #20

tomt1664 opened this issue Jan 8, 2024 · 0 comments

Comments

@tomt1664
Copy link
Member

tomt1664 commented Jan 8, 2024

For the client:

After sending a coin, that coin should be removed from the balance. But the client should still be listed, and the client can re-send the coin to a different address if required. These coin are in 'send in progress' status.

Add a new function that updates the status of 'send in progress' coins. If coins have completed 'transfer_receiver' then remove them from the client.

This can be determined by calling /info/statechain/ {statechain_id} for each coin. If the enclave_pubkey has changed to match a different key share, the coin has been received.

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

No branches or pull requests

1 participant