Code Monkey home page Code Monkey logo

eloncoin's People

Contributors

alonewolf-123 avatar lightlord1233 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gimogo

eloncoin's Issues

Cannot make

Hello! today I tried to install Eloncoin again from source code. I cloned the most recent sources. And passed these commands and got this

./autogen.sh
export BDB_PREFIX='/usr/local/db4'; ./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --with-boost-libdir=/usr/lib/x86_64-linux-gnu --with-gui

make
...
  CXX      libbitcoin_server_a-httprpc.o
  CXX      libbitcoin_server_a-httpserver.o
httpserver.cpp:75:10: error: ‘deque’ in namespace ‘std’ does not name a template type
   75 |     std::deque<WorkItem*> queue;
      |          ^~~~~
httpserver.cpp:33:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
   32 | #include <event2/keyvalq_struct.h>
  +++ |+#include <deque>
   33 | 
httpserver.cpp: In destructor ‘WorkQueue<WorkItem>::~WorkQueue()’:
httpserver.cpp:88:17: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
   88 |         while (!queue.empty()) {
      |                 ^~~~~
      |                 Enqueue
httpserver.cpp: In member function ‘bool WorkQueue<WorkItem>::Enqueue(WorkItem*)’:
httpserver.cpp:97:13: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
   97 |         if (queue.size() >= maxDepth) {
      |             ^~~~~
      |             Enqueue
httpserver.cpp:100:9: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
  100 |         queue.push_back(item);
      |         ^~~~~
      |         Enqueue
httpserver.cpp: In member function ‘void WorkQueue<WorkItem>::Run()’:
httpserver.cpp:111:35: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
  111 |                 while (running && queue.empty())
      |                                   ^~~~~
      |                                   Enqueue
httpserver.cpp:115:21: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
  115 |                 i = queue.front();
      |                     ^~~~~
      |                     Enqueue
httpserver.cpp: In member function ‘size_t WorkQueue<WorkItem>::Depth()’:
httpserver.cpp:134:16: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
  134 |         return queue.size();
      |                ^~~~~
      |                Enqueue
make[2]: *** [Makefile:7972: libbitcoin_server_a-httpserver.o] Error 1
make[2]: Leaving directory '~/emc/Eloncoin/src'
make[1]: *** [Makefile:13829: all-recursive] Error 1
make[1]: Leaving directory '~/emc/Eloncoin/src'
make: *** [Makefile:783: all-recursive] Error 1


$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ g++ --version
g++ (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ lsb_release -a
No LSB modules are available.
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera)
Release:	4
Codename:	chimaera

$ uname -r
5.10.0-14-amd64

what should i do here?

Autogen.sh fails due to CPPFLAGS_FOR_BUILD, CFLAGS_FOR_BUILD

I use source code of ElonCoin Core for Linux from this repository. But it does not build.

# ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:45: installing 'build-aux/compile'
configure.ac:28: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/missing'
Makefile.am:153: error: CPPFLAGS_FOR_BUILD must be set with '=' before using '+='
Makefile.am:154: error: CFLAGS_FOR_BUILD must be set with '=' before using '+='
Makefile.am: installing 'build-aux/depcomp'
autoreconf: automake failed with exit status: 1

Machine specs:

  • OS: Devuan beowulf, Linux devuan 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
  • CPU: Intel(R) Pentium(R) CPU N3530 @ 2.16GHz
  • RAM: 8 Gb
  • Disk size: 50Gb
  • Disk Type (HD/SDD): SSD

autoconf --version
autoconf (GNU Autoconf) 2.69
gcc --version
gcc (Debian 8.3.0-6) 8.3.0
make --version
GNU Make 4.2.1

This will not finish compiling.

This issue tracker is only for technical issues related to ELONCOIN Core.
General ELONCOIN questions and/or support requests and are best directed to the ELONCOIN Discord.

Describe the issue

It will not finish compiling. It halts due to a bad makefile.

Can you reliably reproduce the issue?

Yes, multiple machines and OS's (Ubuntu 18.04, and 20.04)

If so, please list the steps to reproduce below:

  1. Start the compile
  2. Wait for it to start linking
  3. Get the error

Expected behavior

It should compile

Actual behavior

Here is the output of the error:

make[3]: Leaving directory '/home/user/git/Eloncoin'
RUSTC="" TERM=dumb  build --release   --manifest-path ../Cargo.toml
/bin/bash: build: command not found
Makefile:13830: recipe for target 'cargo-build' failed
make[2]: *** [cargo-build] Error 127
make[2]: Leaving directory '/home/user/git/Eloncoin/src'
Makefile:13300: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/git/Eloncoin/src'
Makefile:781: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Screenshots.

None

What version of ELONCOIN Core are you using?

Latest on github

Machine specs:

  • OS: Ubuntu 18.04 and Ubuntu 20.04
  • CPU: (both VM and hardware CPU types)
  • RAM: over 4Gb on each machine tested
  • Disk size: Over 300Gb
  • Disk Type (HD/SDD): Irrelevent

Any extra information that might be useful in the debugging process.

Wallet Header Numbers Not Updating

Numbers in wallet header don't change when new coins arrive

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Receive stake reward

Expected behavior

I expect the numbers to change as coins arrive and mature.

Actual behavior

  1. New Coins arrive
  • Available does not reflect new coins
  • Pending does not reflect new coins
  • Immature does not reflect new coins
  1. New coins have 6 confirms
  • Available does not reflect new coins
  • Pending does not reflect new coins
  • Immature does not reflect new coins
  1. New coins have 177 confirms
  • Available does not reflect new coins
  • Pending does not reflect new coins
  • Immature does not reflect new coins

Screenshots.

If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
emcreport

What version of ELONCOIN Core are you using?

List the version number/commit ID, and if it is an official binary, self compiled or a distribution package.
V1.0.0 'official binary'

Machine specs:

  • OS: Win 10 Pro with more than sufficient capability

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.