forked from bitcoin-abe/bitcoin-abe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME-SQLITE.txt
More file actions
33 lines (21 loc) · 757 Bytes
/
README-SQLITE.txt
File metadata and controls
33 lines (21 loc) · 757 Bytes
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
SQLite is not appropriate for a busy public service, since it does not
support concurrent access.
Ubuntu supplies the sqlite3 module in the python-pysqlite2 [sic]
package.
Create abe-sqlite.conf with contents:
dbtype sqlite3
connect-args abe.sqlite
upgrade
port 2750
Perform the initial data load:
python -m Abe.abe --config abe-sqlite.conf --commit-bytes 100000 --no-serve
Look for output such as:
block_tx 1 1
block_tx 2 2
...
This step may take several days depending on chain size and hardware.
Then run the web server as:
python -m Abe.abe --config abe-sqlite.conf
You should see:
Listening on http://localhost:2750
Verify the installation by browsing the URL shown.