forked from libbitcoin/libbitcoin.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobelisk-setup.src.html
More file actions
30 lines (28 loc) · 1.04 KB
/
obelisk-setup.src.html
File metadata and controls
30 lines (28 loc) · 1.04 KB
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
<div class="box">
<h2>Quick setup guide</h2>
<p>Create a blockchain database:</p>
<pre>
$ mkdir worker/
$ cd worker/
$ mkdir blockchain/
$ sx initchain blockchain/
</pre>
<p>If you have a bitcoind bootstrap.dat (can also be downloaded off the
PirateBay), then you can bootstrap a blockchain. See libbitcoin/tools/ (run
'make' and see the bootstrap tool).</p>
<p>Now start the Bitcoin node which will begin the blockchain download.</p>
<pre>
$ screen -S worker
$ obworker
</pre>
<p>Press CTRL-C and wait if you want to stop the worker.</p>
<p>You can see the output using 'tail -f debug.log'.</p>
<p>Config files are in /install-prefix/etc/obelisk/</p>
<p>
Important: each worker needs a separate copy of the blockchain
database. Multiple workers cannot both use a blockchain database at the same time. Stop the
worker, copy the blockchain directory to your other worker and restart
obworker.</p>
<p>Running multiple workers is good for redundancy in case one crashes or
has problems.</p>
</div>