Coder Social home page Coder Social logo

Error installing electrumx about electrumx HOT 4 CLOSED

spesmilo avatar spesmilo commented on June 23, 2024
Error installing electrumx

from electrumx.

Comments (4)

SomberNight avatar SomberNight commented on June 23, 2024

But I got this error:
https://pastebin.com/M7PyQyMC

Then I tried issuing:
pip3 install plyvel
but got this error:
https://pastebin.com/6tgRxAGc

plyvel only provides prebuilt wheels for amd64 architechture (see https://pypi.org/project/plyvel/#files), maybe you are on a different arch; in any case, pip decided to grab the source distributable instead and is now failing to build from that

from https://plyvel.readthedocs.io/en/latest/installation.html#build-and-install-plyvel

To build from source, make sure you have a shared LevelDB library and the development headers installed where the compiler and linker can find them. For Debian or Ubuntu something like apt-get install libleveldb1v5 libleveldb-dev should suffice.


But I still can't install RocksDB with theabove command. Error is the same:
pip3 install .[rocksdb,ujson]

The plyvel package contains python bindings for LevelDB.
The rocksdb package is python bindings for RocksDB.
Which do you intend to use?

If you want RocksDB, try something like this:
apt-get install librocksdb-dev libsnappy-dev libbz2-dev libz-dev liblz4-dev

from electrumx.

PsySc0rpi0n avatar PsySc0rpi0n commented on June 23, 2024

I'll stick to the default. I think I don't need to install RocksDB.
So, I think it is all well now. But I have a few questions that I couldn't get answer from the readthedocs.io site.

1 - Is this server going to download and verify another entire copy of the bitcoin blockchain? I already have it on the bitcoin full node I'm running.

2 - The docs says we need to point out a DB path. This path is a new path or is it the bitcoin core blockchain path? It is not very clear. Or better, it is clear it wants a new folder for a database, but then it says that it will download and reindex the blockchain.But does this electrumx needs a second copy of the entire blockchain when we already have the one from our bitcoin core node?

from electrumx.

SomberNight avatar SomberNight commented on June 23, 2024

It will not duplicate data that bitcoind already has, except in trivial amounts.
It will build its own database consisting of indices that bitcoind does NOT have, to be able to efficiently serve client.

from electrumx.

PsySc0rpi0n avatar PsySc0rpi0n commented on June 23, 2024

It will not duplicate data that bitcoind already has, except in trivial amounts.
It will build its own database consisting of indices that bitcoind does NOT have, to be able to efficiently serve client.

So, how big will the database be?

from electrumx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.