Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Solved] Bitcoin-abe - How to run Abe against LiteCoin / Feathercoin

    Technical Development
    4
    7
    5350
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrapper
      wrapper Moderators last edited by wrapper

      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.149

      bg-abe.conf as

      # Specify port and/or host to serve HTTP instead of FastCGI:
      #port=8080
      #host=192.168.1.149

      1 Reply Last reply Reply Quote 0
      • ghostlander
        ghostlander Regular Member last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • P
          prensel Regular Member last edited by

          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

          1 Reply Last reply Reply Quote 0
          • wrapper
            wrapper Moderators last edited by

            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…

            1 Reply Last reply Reply Quote 0
            • P
              prensel Regular Member last edited by

              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 :-)

              1 Reply Last reply Reply Quote 0
              • ghostlander
                ghostlander Regular Member last edited by

                [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.

                1 Reply Last reply Reply Quote 0
                • T
                  tmuir12 Regular Member last edited by

                  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.11

                  datadir += [{
                  “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 package

                  I’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?

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post