Skip to content

Handle gap_epoch_open_pending block status when bootstrapping#4821

Merged
pwojcikdev merged 1 commit intonanocurrency:developfrom
pwojcikdev:bootstrap-handle-gap-epoch-open
Jan 13, 2025
Merged

Handle gap_epoch_open_pending block status when bootstrapping#4821
pwojcikdev merged 1 commit intonanocurrency:developfrom
pwojcikdev:bootstrap-handle-gap-epoch-open

Conversation

@pwojcikdev
Copy link
Copy Markdown
Contributor

We can't process blocks that have gap_epoch_open_pending status immediately, but instead need to wait until at least one pending send is available for their account chain. Epoch blocks do not link to the associated send block, so we have no way of pulling the dependency other than randomly sampling the rest of the ledger. Given this the proper behavior when encountering this status is to evict the priority account associated with the epoch open block.

@gr0vity-dev-bot
Copy link
Copy Markdown

gr0vity-dev-bot commented Jan 7, 2025

Test Results for Commit 9167393

Pull Request 4821: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 110s)
  • 5n4pr_conf_10k_change: PASS (Duration: 150s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 125s)
  • 5n4pr_conf_change_independant: PASS (Duration: 155s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 129s)
  • 5n4pr_conf_send_independant: PASS (Duration: 123s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 109s)
  • 5n4pr_rocks_10k_change: PASS (Duration: 170s)

Last updated: 2025-01-08 13:32:51 UTC

@pwojcikdev pwojcikdev force-pushed the bootstrap-handle-gap-epoch-open branch from a288a3a to 9167393 Compare January 8, 2025 13:29
@pwojcikdev pwojcikdev merged commit 51c8caa into nanocurrency:develop Jan 13, 2025
@pwojcikdev pwojcikdev deleted the bootstrap-handle-gap-epoch-open branch January 13, 2025 22:26
@qwahzi qwahzi added this to the V28 milestone Jan 18, 2025
@qwahzi qwahzi moved this from In Progress / V28.0 to Merged / V28.0 in Nano Roadmap Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged / V28.0

Development

Successfully merging this pull request may close these issues.

3 participants