Skip to content

admin: add sentinel commands for validator multicast publisher management#3398

Draft
snormore wants to merge 1 commit intomainfrom
snor/admin-sentinel-commands
Draft

admin: add sentinel commands for validator multicast publisher management#3398
snormore wants to merge 1 commit intomainfrom
snor/admin-sentinel-commands

Conversation

@snormore
Copy link
Copy Markdown
Contributor

Summary

  • Add doublezero-sentinel crate (crates/sentinel/) with reusable logic for reading validator metadata, DZ ledger state, and multicast publisher management
  • Add sentinel find-validator-multicast-publishers admin command to cross-reference IBRL validators with multicast publisher status, with filtering by stake, client type, publisher status, and summary view
  • Add sentinel create-validator-multicast-publishers admin command to batch-create multicast publisher users for eligible validators (with dry-run support and confirmation prompt)
  • Expose rpc_client() and payer_keypair() accessors on DZClient in the Rust SDK

Testing Verification

  • sentinel find-validator-multicast-publishers tested with various filter combinations (--min-stake, --client, --is-publisher, --not-publisher, --summary, --json)
  • sentinel create-validator-multicast-publishers tested with --dry-run to verify candidate selection and transaction construction
  • Unit tests in crates/sentinel/ cover candidate filtering and multicast find logic

@snormore snormore force-pushed the snor/admin-sentinel-commands branch 2 times, most recently from 482e558 to 0f17631 Compare March 30, 2026 03:13
…ment

Add sentinel subcommand to doublezero-admin with two commands:
- find-validator-multicast-publishers: cross-reference onchain IBRL
  users with validator metadata to show publisher status
- create-validator-multicast-publishers: bulk-create multicast
  publisher users for IBRL validators via 3-step onchain flow

Shared library crate (doublezero-sentinel) provides readers, writers,
and pure logic with unit tests. DZClient gets rpc_client() and
payer_keypair() accessors for sentinel command integration.
@snormore snormore force-pushed the snor/admin-sentinel-commands branch from 9d23f31 to 56b68f7 Compare March 30, 2026 05:11
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