aboutsummaryrefslogtreecommitdiff
path: root/bitcoin/README
blob: 0f3819006b69a19391ca8a1fbb0e249b4d85b87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
bitcoin (P2P electronic cash system)

Bitcoin is a free open source peer-to-peer electronic cash system
that is completely decentralized, without the need for a central
server or trusted parties.  Users hold the crypto keys to their
own money and transact directly with each other, with the help
of a P2P network to check for double-spending.

Bitcoin Core connects to the Bitcoin peer-to-peer network to
download and fully validate blocks and transactions.

Please make sure to read the release notes first before upgrading:
https://bitcoincore.org/en/releases/29.0/

zeromq is an optional dependency (autodetected).  To disable building the graphical components, set GUI=off when building.

To run bitcoin as a system, add to /etc/rc.d/rc.local:

  if [ -x /etc/rc.d/rc.bitcoind ]; then
    /etc/rc.d/rc.bitcoind start
  fi

and to /etc/rc.d/rc.local_shutdown (creating it if needed):

  if [ -x /etc/rc.d/rc.bitcoind ]; then
    /etc/rc.d/rc.bitcoind stop
  fi

The script requires a 'bitcoin' user/group before running.

  useradd bitcoin \
    --system \
    --comment 'bitcoin daemon' \
    --shell /bin/false \
    --user-group \
    --home-dir /var/lib/bitcoin