Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Elaborate explanation of "local" validation rule. #205

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ local
takes a list of transaction indices in the block and enforces the
rule on each. This rule is useful in combination with the other
rules to ensure a client is not submitting transactions that should
only be injected by the winning validator.
only be injected by the winning validator. For example, the string
`local:0,1` means that the first two transactions in the block must be
signed with the same key as the block itself. As with `XatY`, a negative
index counts backward from the end of the block.

# Example: BlockInfoInjector

Expand Down