[Solved] Bitcoin-abe - How to run Abe against LiteCoin / Feathercoin
-
I don’t know exactly what this means and I’d be interested to find out. But it should help anyone who might want to set up Feathercoin against Abe.
python Abe/abe.py --config=abe.conf --no-load to start http service, python -m Abe.abe --config=bg-abe.conf --commit-bytes 100000 to start store daemon.
and modify abe.conf as
# Specify port and/or host to serve HTTP instead of FastCGI:
port=8080
# 192.168.1.149 is the ip of this visual machine
host=192.168.1.149bg-abe.conf as
# Specify port and/or host to serve HTTP instead of FastCGI:
#port=8080
#host=192.168.1.149 -
It means you’re going to run two copies of Abe. One to read from the block chain and to store into a data base, the other to serve the HTTP front-end and to read from the data base. You can run one Abe for both purposes though.
-
What did you change in Abe/DataStore.py to get it to work with FeatherCoin ?
I’d like to run a local version of Abe/blockchain explorer on FTC -
Hey Prensel, I got diverted from this, thanks for the BUMP.
Any examples or direct questions? Someone was asking about this and I need to learn it, as it is a key part of the technology…
-
Okay so i managed to get it running :-)
I didnt change the DataStore file (although i could remove the unwanted currencies) but added this to the config file[code]datadir += [{
“dirname” : “/root/.feathercoin”,
“chain” : “FeatherCoin”,
“code3” : “FTC”,
“address_version” : “u000e”,
“magic” : “u00fbu00c0u00b6u00db”
}]
[/code]I’m not sure of the magic is correct but it works like it is now :-)
-
[quote name=“prensel” post=“51930” timestamp=“1389655785”]
Okay so i managed to get it running :-)
I didnt change the DataStore file (although i could remove the unwanted currencies) but added this to the config file[code]datadir += [{
“dirname” : “/root/.feathercoin”,
“chain” : “FeatherCoin”,
“code3” : “FTC”,
“address_version” : “u000e”,
“magic” : “u00fbu00c0u00b6u00db”
}]
[/code]I’m not sure of the magic is correct but it works like it is now :-)
[/quote]The magic number is the same to Litecoin.
-
Sorry to drag up this old thread but I’m trying to get a block explorer going too and I’m failing terribly.
I’ve modified my Conf file as above, so in abe.conf I have uncommented
dbtype MySQLdb
connect-args {“user”:“root”,“db”:“abe”}port 2750
host=192.168.1.11datadir += [{
“dirname” : “/home/pi/.feathercoin”,
“chain” : “FeatherCoin”,
“code3” : “FTC”,
“address_version” : “u000e”,
“magic” : “u00fbu00c0u00b6u00db”
}]On trying to start up the http service with
python Abe/abe.py --config=abe.conf --no-load
I get
$ python abe.py --config=abe.conf --no-load Traceback (most recent call last):
File “abe.py”, line 32, in
import DataStore
File “/home/pi/bitcoin-abe/Abe/DataStore.py”, line 31, in
import Chain
File “/home/pi/bitcoin-abe/Abe/Chain/__init__.py”, line 17, in
from … import deserialize, BCDataStream, util
ValueError: Attempted relative import beyond toplevel packageI’m in way over my head, can I get some help.
I got the source from
https://github.com/bitcoin-abe/bitcoin-abe
Is it simply because the Raspberry Pi can’t handle it, am I still missing something, or am I just doing something stupid?