Skip to content

Configuring recorderd

Linzy Hu edited this page Nov 15, 2018 · 2 revisions

Config file format

The configuration language is Lua. See more details.

Sample

See the config example.

Base Section

M.data_directory, M.pidfile and M.chain are similar settings to bitmarkd.

M.threads (optional, default = number of CPUs): Number of background hashing threads.

M.peering Section

public_key and private_key: Required keys to construct secure connections with bitmarkd.

connect: The bitmarkd nodes to connect to. The settings should correspond to the proof section of bitmarkd.

M.logging Section

The configuration is similar to bitmarkd logging.

The configurable modules are main, proofer-N, submitter-N, subscriber-N (N is in the range [1..m] if there are m hashing threads).