# Interface WeightedVotingOptions

Options for WeightedVoting constructor.

interface WeightedVotingOptions {
config?: Partial<WeightedVotingConfig>;
eventBus?: IEventBus;
emitEvents?: boolean;
}

- Defined in packages/nexus-agents/src/consensus/weighted-voting-helpers.ts:36

##### Index

### Properties

config?
eventBus?
emitEvents?

## Properties

### `Optional` config

config?: Partial<WeightedVotingConfig>

Configuration for voting thresholds and weights.

- Defined in packages/nexus-agents/src/consensus/weighted-voting-helpers.ts:38

### `Optional` eventBus

eventBus?: IEventBus

Optional event bus for Byzantine detection events (Issue #218).

- Defined in packages/nexus-agents/src/consensus/weighted-voting-helpers.ts:40

### `Optional` emitEvents

emitEvents?: boolean

Whether to emit Byzantine detection events (default: true if eventBus provided).

- Defined in packages/nexus-agents/src/consensus/weighted-voting-helpers.ts:42