Skip to content

fix(zcoin): syncing and activation improvements#2089

Merged
shamardy merged 5 commits intodevfrom
improve_z_activation
Apr 9, 2024
Merged

fix(zcoin): syncing and activation improvements#2089
shamardy merged 5 commits intodevfrom
improve_z_activation

Conversation

@borngraced
Copy link
Copy Markdown

@borngraced borngraced commented Mar 19, 2024

  • Stop sending sync status after main sync state (main improvement)
  • Remove first_sync_block from SyncStatus and stop sending first_sync_block while activation is in progress
  • include first_sync_block in Activation Result only after activation is completed

closes: #2022

@borngraced borngraced self-assigned this Mar 19, 2024
@borngraced borngraced linked an issue Mar 19, 2024 that may be closed by this pull request
@shamardy shamardy self-requested a review March 22, 2024 22:04
@borngraced borngraced changed the title enhancement(zcoin): minor improvements and enhancement to syncing and activation enhancement(zcoin): improvements and enhancement to syncing and activation Apr 4, 2024
Copy link
Copy Markdown
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! only one comment!
BTW, the GUI currently has to poll the task status API every few seconds to get the sync status, in the future we will use streaming events for this instead and we wouldn't need to stop sending sync status in the streaming events, we will probably send an event to indicate that initial sync is done but keep sending new blocks, transactions etc..

@shamardy shamardy changed the title enhancement(zcoin): improvements and enhancement to syncing and activation enhancement(zcoin): syncing and activation improvements Apr 9, 2024
@shamardy shamardy changed the title enhancement(zcoin): syncing and activation improvements fix(zcoin): syncing and activation improvements Apr 9, 2024
@shamardy shamardy merged commit 92199d8 into dev Apr 9, 2024
@shamardy shamardy deleted the improve_z_activation branch April 9, 2024 02:33
dimxy pushed a commit to dimxy/komodo-defi-framework that referenced this pull request Apr 9, 2024
* dev:
  feat(nft-swap): nft swap protocol v2 POC (GLEECBTC#2084)
  fix(zcoin): syncing and activation improvements (GLEECBTC#2089)
  feat(crypto): mnemonic generation/encryption/decryption/storage (GLEECBTC#2014)
  fix(eth): error handling in RPCs (GLEECBTC#2090)
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

Successfully merging this pull request may close these issues.

stop sending sync status after first/main sync status is finished

2 participants