Git Product home page Git Product logo

electra-archive's Issues

Suggestion: Can we add the linux build instructions somewhere?

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update

sudo apt-get upgrade

sudo apt-get install git build-essential libssl-dev libdb4.8-dev libdb4.8++-dev libboost-all-dev libminiupnpc-dev qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools

mkdir ~/src
cd ~/src
git clone https://github.com/Electra-project/electra.git
cd ~/src/electra

qmake
make

./Electra-qt

Runtime Error

As it says in the description, there is a corruption, it normally happens during system crashes and sudden ending processes, anytime where the wallet can't close cleanly, current workaround is to delete everything in Electra folder except wallet.dat

CentOS 7 build instructions

I've managed to build electra on CentOS 7. The way is:

yum install -y git which wget gcc-c++ libtool make autoconf automake boost-devel epel-release centos-release-scl openssl-devel libevent-devel libseccomp-devel && yum groupinstall -y 'Development Tools'
yum install -qy gcc-c++ libtool make autoconf automake openssl-devel libevent-devel boost-devel epel-release;
# These two libraries have to be installed after `epel-relase`
yum install -qy libdb4-cxx libdb4-cxx-devel miniupnpc-devel

#Fix the build
export BDB_LIB_PATH="/usr/lib64/libdb4"
export BDB_INCLUDE_PATH="/usr/include/libdb4"
export BDB_LIB_SUFFIX="-4.8"
sed -e 's@DEFS=-DBOOST_SPIRIT_THREADSAFE@DEFS=-DBOOST_SPIRIT_THREADSAFE -DBOOST_NO_CXX11_SCOPED_ENUMS@g' \
    -i makefile.unix
make -f makefile.unix -j$(nproc --all)

Staking time calculation

It appears the staking time is currently based on your weight in the network, what are your views on the same across the board?

Error: Compiling Electrad on macosx 10.12 Sierra

Steps

  1. make libmemenv.a inside leveldb/
  2. make -f makefile.osx Electrad inside source folder

The following is the error I get:

Undefined symbols for architecture x86_64:
  "_sph_blake512_init", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_groestl512_init", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_blake512", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_keccak512_close", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_keccak512_init", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_groestl512", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_jh512", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_blake512_close", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_groestl512_close", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_jh512_close", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_skein512_close", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_jh512_init", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_keccak512", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_skein512", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
  "_sph_skein512_init", referenced from:
      uint256 Nist5<char*>(char*, char*) in init.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Electrad] Error 1

Any insight would be helpful.

Assertion Failed

image
image

This issue normally happens upon opening the wallet, current work around is to open the Electra folder and delete everything in the Electra folder except wallet.dat

Repeatable builds

Hi, by using makefile.unix I've got fully dynamic linked binary, by using qmake I end with a graphical client.
There's lack of documentation how to get release builds, just like on GitHub Releases, where more stuff is statically linked into binary.

Switch to standard naming/capitalization

The capitalization of everything (Electra instead of electra) is kinda unconventional and also confusing. I'd recommend either to check for both eg. Electra.conf as well as electra.conf or completely move to electra

OS X 10.11 (El Capitan): __clock_gettime error

Electra binary can't get started under OS X 10.11:

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Users/ivan/Workspace/electra-cli/node_modules/electra-js/bin/electrad-macos (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 
dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/ivan/Workspace/electra-cli/node_modules/electra-js/bin/electrad-macos (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

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.