Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 816 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 816 Bytes

Witness

A witness is a component designated by the controller of an identifier. Its role is to verify, sign and keep events associated with identifier.

Usage

To start witness, execute the following command: cargo witness run -- -c witness.yaml

The witness.yaml file allows customization of the following elements:

  • db_path: specifies the path to the directory where the database will be created.
  • public_url and http_port: determine the address and port on which the witness will listen.
  • seed: seed in the CESR format, that will be used for witness keypair generation.
  • escrow_config: specifies the time in seconds after which unconfirmed events will be automatically removed from the database.