Running a Committee¶
Committee members should belong to different organizations. A member is one process with an identity and a VRF key.
python -m oracle_stack.server member
| Variable | Meaning |
|---|---|
KERI_PASSPHRASE |
Protects the identity keys |
MEMBER_TOKEN |
Token that the oracle service presents |
MEMBER_NAME |
Name of the identity |
SUBJECTS |
Subjects to vote for, separated by commas. All by default |
DATA_DIR, NETWORK |
Data directory and network file |
Join¶
GET /v1/info returns the identifier, the VRF key and whether the inception is pending. The service's MEMBERS lists all members:
[{"aid": "E...", "vrf": "<hex>", "url": "http://member-0:8080"}]
The members are copied into the policy of each subject when it is created. They cannot be changed later. Include members in the creation request to use a different committee for a subject.
Size¶
| Members | Votes needed | Tolerated faults |
|---|---|---|
| 4 | 3 | 1 |
| 7 | 5 | 2 |
| 10 | 7 | 3 |
At most 64 members are possible. An empty committee disables voting.
Keep¶
Back up node.db, vrf.key and member.db of every member. member.db contains the votes and prevents voting twice. Never run two copies of one member.