Skip to content

feat(client): Driver.wait_for_trust convenience (PILOT-202)#9

Merged
TeoSlayer merged 1 commit into
mainfrom
fix/pilot-202-wait-for-trust
Jun 7, 2026
Merged

feat(client): Driver.wait_for_trust convenience (PILOT-202)#9
TeoSlayer merged 1 commit into
mainfrom
fix/pilot-202-wait-for-trust

Conversation

@TeoSlayer

Copy link
Copy Markdown
Contributor

Closes the parity gap with sdk-swift's waitForTrust.

Parity with sdk-swift's Pilot.waitForTrust. Polls trusted_peers() at
50ms cadence until the node_id appears or timeout_ms elapses. Returns
True on success, False on timeout. Replaces the polling boilerplate
Python users currently write.
@codecov

codecov Bot commented Jun 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 15.38462% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pilotprotocol/client.py 15.38% 11 Missing ⚠️

📢 Thoughts on this report? Let us know!

@TeoSlayer TeoSlayer merged commit 7b580d4 into main Jun 7, 2026
3 of 4 checks passed
@TeoSlayer TeoSlayer deleted the fix/pilot-202-wait-for-trust branch June 7, 2026 00:14
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.

1 participant