dcrd/contrib
Josh Rickmar 83fd5109a4 contrib: Update OpenBSD rc script for 6.9 features.
OpenBSD 6.9 includes a new daemon_logger variable which may be set to
automatically set the syslog facility that the process will write to.
This lets us simplify our example service by avoiding the need to
redefine the rc_start function.

While here, update some of the default flags to more closely match
what I now recommend.  /var is too small for block data on many
installations, so it is better to write all of the application data to
the /home partition instead.  This also fixes the comment for how to
enable the service, since just defining the flags is not sufficient
for this.
2021-05-05 12:43:55 -05:00
..
services contrib: Update OpenBSD rc script for 6.9 features. 2021-05-05 12:43:55 -05:00
dcr_tmux_simnet_setup.sh multi: Add decentralized treasury support. 2020-09-21 12:15:31 -05:00
README.md contrib: Support env var in simnet setup script. 2020-08-12 12:42:08 -05:00

contrib

Overview

This consists of extra optional tools which may be useful when working with dcrd and related software.

Contents

Example Service Configurations

  • OpenBSD rc.d
    Provides an example rc.d script for configuring dcrd as a background service on OpenBSD. It also serves as a good starting point for other operating systems that use the rc.d system for service management.

  • Service Management Facility
    Provides an example XML file for configuring dcrd as a background service on illumos. It also serves as a good starting point for other operating systems that use use SMF for service management.

  • systemd
    Provides an example service file for configuring dcrd as a background service on operating systems that use systemd for service management.

Simulation Network (--simnet) Preconfigured Environment Setup Script

The dcr_tmux_simnet_setup.sh script provides a preconfigured simnet environment which facilitates testing with a private test network where the developer has full control since the difficulty levels are low enough to generate blocks on demand and the developer owns all of the tickets and votes on the private network.

The environment will be housed in the $HOME/dcrdsimnetnodes directory by default. This can be overridden with the DCR_SIMNET_ROOT environment variable if desired.

See the full Simulation Network Reference for more details.