Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinator selector / delegation policy for multi-party endorsement domains #329

Open
hosie opened this issue Oct 22, 2024 · 6 comments
Open
Labels
enhancement New feature or request paladin stale

Comments

@hosie
Copy link
Contributor

hosie commented Oct 22, 2024

What would you like to be added?

In domains ( such as Pente) where the spending rules for states allow any one of a group of parties to spend the state, then we need to coordinate the assembly of transactions across multiple nodes so that we can maximize the throughput by speculative spending new states and avoid transactions being reverted due to double concurrent spending / state contention.

The proposal for achieving this, is to implement a policy that complies with combination 2 + 1 from #327.

write up moved to architecture docs in #463

Copy link

This issue is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 22, 2024
@hosie hosie removed the stale label Nov 25, 2024
Copy link

This issue is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 27, 2024
@hosie hosie removed the stale label Nov 27, 2024
@jimthematrix jimthematrix changed the title Coordinator selector / delegation policy for 100% endorsment domains Coordinator selector / delegation policy for multi-party endorsement domains Nov 27, 2024
Copy link

This issue is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 28, 2024
@hosie hosie removed the stale label Nov 28, 2024
@hosie
Copy link
Contributor Author

hosie commented Nov 28, 2024

Concrete work items needed to support the algorithm described above:

  • controlled handover on range boundary
    • transfer domain context to new coordinator node
    • previous coordinator abandons non dispatched transactions
    • sender re-delegates non dispatched transactions to new coordinator
    • new coordinator waits until the blockchain has caught up with the inflight domain context then starts submitting
  • adjustments to the endorsement handshake to accommodate variations in block height between nodes
  • adjustments to the delegation handshake to accommodate variations in block height between nodes
  • framework and domain changes to define the committee make up and communicate that to all nodes
  • (pending finalized decision) Framework and domain ( node side and base ledger contract) changes for assured once intent fulfillment.
  • copy the words and diagrams above into an architecture document

Copy link

This issue is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added stale and removed stale labels Nov 29, 2024
Copy link

github-actions bot commented Dec 4, 2024

This issue is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the stale label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request paladin stale
Projects
None yet
Development

No branches or pull requests

1 participant