Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won

  • Feedback


Everything posted by manosv

  1. Thanks for this.Yeah this is more elegant way to do it.
  2. get the latest chaindata https://github.com/carsenk/denarius/releases/download/v3.3.7/chaindata1799510.zip
  3. So to automate all this i made the following script service electrumx stop export DB_DIRECTORY='/db' export COIN=Denarius export DB_ENGINE=leveldb electrumx_compact_history chown -R electrumx:electrumx /db service electrumx start name it whatever you want i went with compact_electrum_database.sh make it executable chmod +x compact_electrum_database.sh So then all we have to do is to make an entry to crontab to run automatically every lets say 12 days issue the command as root crontab -e and insert the following to run it automatically At 00 minutes past 1:00 on every 12 days of every month 0 1 */12 * * /root/compact_electrum_database.sh >/dev/null 2>&1 save it and you are good to go
  4. I found my electrumx server crashed this morning.Apparently its a problem that happens with coin that have a short block intervals the flush_count would overflow after 65536 which is about 455 days in Bitcoin if we were indexing a fully synced node. However this is not the case if the node is not fully synced and ElectrumX manages to catch up the full node. In that scenario ElectrumX will quickly exhaust the 16bit space of the flush_countvariable as it flushes to disk after each block. according to this thread : https://github.com/kyuupichan/electrumx/issues/185 to fix it you have to do the following: service electrumx stop su electrumx #This is critical for not messing with the permissions export DB_DIRECTORY='/db' export COIN=Denarius export DB_ENGINE=leveldb then issue the command: electrumx_compact_history after compacting happens then start it again with: exit #to become root again service electrumx start Apparently this has to happen every 65536 blocks for bitcoin this is every 455 days for Denarius though is way shorter than that 65536 * 20seconds =15 days !!!! Thats why you had a problem Carsen to keep them up and running
  5. manosv

    FPGAs or GPUs?

    no big impact ? look at the fall of the pric during last year LMAO
  6. I am trying to compile the wallet on Ubuntu 16.04.4 LTS .I followed all the steps as above but i am getting an error. [email protected]:~/denarius$ make cd /home/manosv/denarius/src/leveldb && CC=gcc CXX=g++ make OPT="-fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2" libleveldb.a libmemenv.a make[1]: Entering directory '/home/manosv/denarius/src/leveldb' make[1]: 'libleveldb.a' is up to date. make[1]: 'libmemenv.a' is up to date. make[1]: Leaving directory '/home/manosv/denarius/src/leveldb' cd /home/manosv/denarius; /bin/sh share/genbuild.sh /home/manosv/denarius/build/build.h g++ -c -fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DUSE_LEVELDB -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/qt/plugins/mrichtexteditor -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/masternodemanager.o src/qt/masternodemanager.cpp src/qt/masternodemanager.cpp:27:21: fatal error: QScroller: No such file or directory compilation terminated. Makefile:4299: recipe for target 'build/masternodemanager.o' failed make: *** [build/masternodemanager.o] Error 1 How to solve this.Or i do wrong.
  • Create New...