Skip to content

refactor: publish address snapshots atomically - #3594

Merged
vladopajic merged 6 commits into
masterfrom
addr-train-02-publication
Dec 2, 2026
Merged

vladopajic merged 6 commits into
masterfrom
addr-train-02-publication

Conversation

@vladopajic

@vladopajic vladopajic commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

part 2 of #3590 effrot

add an atomic address snapshot publication API.

it rejects stale revisions, signs before replacing state, advances signed-record sequence numbers and notifies observers when addresses change.

@vladopajic
vladopajic marked this pull request as ready for review December 2, 2026 07:15
@vladopajic
vladopajic requested a review from a team as a code owner December 2, 2026 07:15
@vladopajic
vladopajic requested review from gmelodie and richard-ramos and removed request for a team December 2, 2026 07:15
@vladopajic

Copy link
Copy Markdown
Member Author

/review

@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

[Medium impact] The reviewed changes appear safe to merge with the verified sequence-number fix in dependent PR #3595.

RetriggerView in Greptile

Reviews (4) · Last reviewed commit: "cosmetics" · Reviewed by Greptile

Comment thread tests/libp2p/test_peer_info.nim Resolved
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

OpenCodeReview · Complete review: 2 of 2 selected files covered

1 finding.

  • Successfully posted inline: 1 comment(s)
Review info

Reviewed commits: eaa193ec8ae91f73fa9eca38abb651979c244cc5 → 6a4a53fec8e03270fabd2b5962a218bfeb650f61

File Result
tests/libp2p/test_peer_info.nim Reviewed
libp2p/peerinfo.nim Reviewed

Model: qwen4-max
Review generated in: 4m 34s

Comment thread libp2p/peerinfo.nim Resolved
Comment thread libp2p/peerinfo.nim Resolved
Comment thread tests/libp2p/test_peer_info.nim Resolved
@github-project-automation github-project-automation Bot moved this from new to In Progress in nim-libp2p Dec 2, 2026
Base automatically changed from addr-train-01-types to master December 2, 2026 16:46
@vladopajic
vladopajic requested a review from a team December 2, 2026 16:46
@vladopajic
vladopajic enabled auto-merge December 2, 2026 17:46
@vladopajic
vladopajic disabled auto-merge December 2, 2026 18:08
@vladopajic
vladopajic enabled auto-merge December 2, 2026 18:08
@vladopajic
vladopajic added this pull request to the merge queue Dec 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 2, 2026
@vladopajic
vladopajic added this pull request to the merge queue Dec 2, 2026
Merged via the queue into master with commit 8220e58 Dec 2, 2026
47 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to done in nim-libp2p Dec 2, 2026
@vladopajic
vladopajic deleted the addr-train-02-publication branch December 2, 2026 21:47
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.

3 participants