openbsd-ports/net/bitcoin/pkg
2021-01-30 06:17:16 +00:00
..
bitcoind.rc
DESCR Update bitcoin to 0.19.0.1 2020-01-13 19:59:26 +00:00
PFRAG.no-no_x11
PLIST Update bitcoin to 0.21.0 2021-01-30 06:17:16 +00:00
README

$OpenBSD: README,v 1.2 2018/09/04 12:46:16 espie Exp $

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

RPC user and password
=====================

Change rpcuser/rpcpassword in ${SYSCONFDIR}/bitcoin.conf before starting
bitcoind via rc.d(8).

Run the following command to create a RPC password:

${LOCALBASE}/share/bitcoin/rpcauth.py USERNAME

Storage requirements
====================

You may wish to reduce storage requirements by pruning (deleting) old blocks.
Enable prune in ${SYSCONFDIR}/bitcoin.conf brefore you start bitcoind first
time or enable block pruning on the command line:

    -prune=N: where N is the number of MB to allot for raw block & undo data.

The minimum allowed size is 550MB. See bitcoind(1).