emarkproject / emark Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://deutsche-emark.org
License: MIT License
Home Page: https://deutsche-emark.org
License: MIT License
Cannot Update eMark Wallet on Server.
i removed all, only the wallet.dat is in the folder.
eMark server starting
eMark: Error initializing database environment /var/eMark! To recover, BACKUP THAT DIRECTORY, then remove everything from it except for wallet.dat.
The same comes, when i start a complete new wallet.... what is that for a crap!?
Hardfork : and kill all another wallets before?!
Hi Devs,
I saw you have a fix for Yiimp pools.
How can I fix rejected blocks issue for Nomp?
Ty
It appears there is a bug with eMark, I receive the below error when compiling eMark.
Will there be a fix in the near future?
rpcserver.cpp:301:
undefined reference to getnetworkhashps(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >,
std::allocator<json_spirit::Value_impl<json_spirit::Config_vectorstd::string> > > const&, bool)'
collect2:error: ld returned 1 exit status
makefile.unix:178:recipe for target 'eMarkd' failed
make:` *** [eMarkd] Error 1
In der QT-Wallet wird in der Übersicht als Hover-Effekt folgende Texte falsch ausgegeben.
Alter Text -> Neuer Text
Ihr aktuell verfügbarer Kontostand -> Aktuell verfügbarer Gesamtbetrag
Stakecoins die noch nicht zum Gesamtbetrag hinzugefügt wurden -> Verzinste eMark die noch nicht zum Gesamtbetrag hinzugefügt wurden
Unbestätigte Coins die noch nicht zum Gesamtbetrag hinzugefügt wurden -> Unbestätigt erhaltene eMark die noch nicht zum Gesamtbetrag hinzugefügt wurden
Daemon dumps core for several reasons inclding a simple listtransactions.
I create the latest version from git and become always the error that the version is obsolete.
"version" : "v1.6.0.0",
"protocolversion" : 60011,
"walletversion" : 60000,
"balance" : 7960.61904600,
"newmint" : 0.00000000,
"stake" : 0.00000000,
"blocks" : 3077040,
"timeoffset" : 0,
"moneysupply" : 80905922.38053501,
"connections" : 1,
"proxy" : "",
"ip" : "0.0.0.0",
"difficulty" : {
"proof-of-work" : 8055202.39246859,
"proof-of-stake" : 6.23559894
},
"testnet" : false,
"keypoololdest" : 1387903113,
"keypoolsize" : 101,
"paytxfee" : 0.00100000,
"mininput" : 0.00000000,
"unlocked_until" : 0,
"errors" : "Warning: This version is obsolete, upgrade required!"
When im execut make in src/ an error appear.
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOS
g++ -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_S
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o: нераспознанное перемещение (0x2a) в
/usr/bin/ld: final link failed: Некорректное значение
collect2: error: ld returned 1 exit status
make: *** [eMarkd] Ошибка 1
`
When im execute qmake eMark-qt.pro then make an other error appear:
/usr/bin/ld: cannot find -lboost_system-mgw49-mt-s-1_57
/usr/bin/ld: cannot find -lboost_filesystem-mgw49-mt-s-1_57
/usr/bin/ld: cannot find -lboost_program_options-mgw49-mt-s-1_57
/usr/bin/ld: cannot find -lboost_thread-mgw49-mt-s-1_57
collect2: error: ld returned 1 exit status
make: *** [eMark-qt] Ошибка 1
I`ve try sudo apt-get install git nano build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev
download source from https://github.com/emarkproject/eMark/releases/tag/1.4 and then:
cd eMark/src make -f makefile.unix But an error appear again:
~/eMark-1.4/src$ make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
fatal: Not a git repository (or any of the parent directories): .git
g++ -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/root2pool/eMark-1.4/src -I/home/root2pool/eMark-1.4/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/root2pool/eMark-1.4/src/leveldb/include -I/home/root2pool/eMark-1.4/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -o eMarkd obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/init.o obj/bitcoind.o obj/keystore.o obj/core.o obj/main.o obj/net.o obj/protocol.o obj/rpcclient.o obj/rpcprotocol.o obj/rpcserver.o obj/rpcmisc.o obj/rpcnet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/timedata.o obj/script.o obj/sync.o obj/txmempool.o obj/util.o obj/hash.o obj/bloom.o obj/noui.o obj/kernel.o obj/pbkdf2.o obj/chainparams.o obj/db.o obj/miner.o obj/rpcdump.o obj/rpcmining.o obj/rpcwallet.o obj/wallet.o obj/walletdb.o obj/txdb-leveldb.o -Wl,-z,relro -Wl,-z,now -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread /home/root2pool/eMark-1.4/src/leveldb/libleveldb.a /home/root2pool/eMark-1.4/src/leveldb/libmemenv.a
obj/util.o: In function boost::program_options::detail::basic_config_file_iterator<char>::getline(std::string&)': /usr/include/boost/program_options/detail/config_file.hpp:161: undefined reference to
boost::program_options::to_internal(std::string const&)'
obj/util.o: In function boost::program_options::detail::basic_config_file_iterator<char>::basic_config_file_iterator(std::istream&, std::set<std::string, std::less<std::string>, std::allocator<std::string> > const&, bool)': /usr/include/boost/program_options/detail/config_file.hpp:145: undefined reference to
boost::program_options::detail::common_config_file_iterator::common_config_file_iterator(std::set<std::string, std::lessstd::string, std::allocatorstd::string > const&, bool)'
collect2: error: ld returned 1 exit status
make: *** [eMarkd] Ошибка 1
`
In my system loaded libboost-1.58 etc.
Ubuntu server 16.04LTS with actually updates.
Please help me.
Thanks you.
Trying to compile on a new installed Ubuntu 18.04 Server fails with lots of errors in bignum.h "error: cannot convert const CBigNum to const BIGNUM".
It looks like it is because of deprecated BIGNUM functions in openssl 1.1
Any idea how to solve this?
(NOT with OpensSSL downgrade!)
Hey eMark Devs @Rumhocker @Broatcast
I'm getting DEM blocks rejected, what RPC encoding is needed for a successful block, POS or POW?
Every time I attempt to call "listtransactions" eMarkd crashes without fail.
Debug.log states:
CWalletTx::GetAmounts: Unknown transaction type found, txid 1ceb2c5f7bc0c4a864afbfcb52dcb707765aea95c03912b92380eb5ace13819a
Hello,
After a update and upgrade of Raspberry pi 4, my eMarkd restart correctly but no connexion and no update.
Someone knows how to solve it please ?
All the time says: Out of Sync
I would like to build wallet on ubuntu. Seems like there is no directions and normal building wont work.
Ich würde mich gerne am Projekt beteiligen, aber die englische Sprache im Quellcode bereitet mir Schwierigkeiten. Es wäre einfacher, wenn so viel wie möglich ins Deutsche übersetzt wird.
Ich bin mir sicher, auch in der Politik würde das Projekt besser ankommen, wenn die Politiker den Quellcode problemlos lesen könnten.
Has anyone tried building this on ubuntu 17.04?
src/chainparams.cpp:96:52: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[SCRIPT_ADDRESS] = list_of(30);
^
Many more of those other places.
For example?
both headless, and QT fails.. And yes I checked the documentation. I would be a lot more behind this coin if the wallet was available, or even compiled, for Linux. There should be .deb packages for Ubuntu and Debian but there's not. Step your game up.
Makefile:1484: recipe for target 'build/chainparams.o' failed
make: *** [build/chainparams.o] Error 1
Cant compile the latest version of this wallet, it fails to compile.
ERROR: CheckBlock() : block timestamp too far in the future
ERROR: ProcessBlock() : CheckBlock FAILED
I tried to compile the wallet today, with PIE enabled. That failed when building libmemenv.a from leveldb:
relocation R_X86_64_32S against `_ZTVN7leveldb2DBE' can not be used when making a shared object; recompile with -fPIC
I worked around that issue with hacking the -fPIC
into build_config.mk
and commenting out the platform detection in leveldb's Makefile.
There's a bug filed at Gentoo's bugtracker about this problem, which has a patch attached. I didn't test this patch, since I hacked the -fPIC
earlier. But maybe you could have a look at it?
I compiled the walled on a fresh box with Debian 8.5 amd64 installed.
Hallo,
die Werte wenn man z.b. getmininginfo abfragt heißen alle anders, als im Standard.
Siehe z.b. : https://github.com/katzhipos/katz/blob/master/src/rpcmining.cpp
oder: https://github.com/sassafrasstubby/BioBar/blob/master/src/rpcmining.cpp
diff.push_back(Pair("proof-of-work", GetDifficulty())); sollte :
diff.push_back(Pair("Proof of Work", GetDifficulty())); sein.
Desweiteren scheint der Reward falsch berechnet zu sein, wenn man diesen mit getblocktemplate abfragt. Dieser muss noch mal 100 genommen werden, damit dieser stimmt.
GGf. ist das der Grund, warum man bei einem yiimp Pool immer die Fehler bekommt:
ERROR: CheckBlock() : first tx is not coinbase
ERROR: ProcessBlock() : CheckBlock FAILED
"coinbasevalue": 50000000,
That is to low... thats only 0.5 DEM
Wenn die Wallet nicht auf dem aktuellen Stand ist, wird unter Debug-Fenster/Information die Anzahl der Verbindungen mit 0 angezeigt, obwohl ein Update stattfindet. Auch das Icon auf der Walletseite zeigt 0 Verbindungen.
Same roblem as other user. Backed up, compiled latest code, implemented, copied old wallet. All coinage missing.
There seems to be no option to edit or create a config file
rpcclient.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’:
rpcclient.cpp:44:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
rpcclient.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’:
rpcclient.cpp:44:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
ssl::context context(io_service, ssl::context::sslv23);
^
In file included from /usr/include/boost/asio/ssl/context.hpp:757:0,
from /usr/include/boost/asio/ssl.hpp:18,
from rpcprotocol.h:17,
from rpcclient.cpp:9:
/usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&)
context::context(context&& other)
^~~~~~~
/usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided
/usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)
context::context(context::method m)
^~~~~~~
/usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided
In file included from util.h:16:0,
from rpcclient.cpp:10:
tinyformat.h: In static member function ‘static const char* tinyformat::detail::FormatIterator::streamStateFromFormat(std::ostream&, unsigned int&, const char*, int, int)’:
tinyformat.h:785:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:786:9: note: here
case 'x': case 'p':
^~~~
tinyformat.h:791:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:792:9: note: here
case 'e':
^~~~
tinyformat.h:797:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:798:9: note: here
case 'f':
^~~~
tinyformat.h:802:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:803:9: note: here
case 'g':
^~~~
make: *** [makefile.unix:178: obj/rpcclient.o] Error 1
Information about rasp version (lsb_release -a):
Someone give this but it's not working:
`ich habe eine alte Anleitung gefunden von aphex.
Hier eine kurze Anleitung zum Bau der Binaries und deren Verwendung:
Raspbian auf der SD Karte des Raspberry Pi installieren
Den Pi booten und die üblichen Einstellungen vornehmen (Passwort, Locale, Zeitzone, SSH, etc.)
Ich betreibe den PI nur im Textmodus, aber das kann ja jeder für sich entscheiden
Auf dem Pi mit SSH (Windows user können dazu PuTTy verwenden) als user "pi" einloggen und das OS updaten:
sudo apt-get update
sudo apt-get upgrade
sudo shutdown -r now
(Der Pi rebootet nach dem letzten Befehl und beendet die SSH Session)
Auf dem Pi mit SSH (Windows user können dazu PuTTy verwenden) als user "pi" einloggen und die nötigen Pakete für eMarkd und cgminer installieren:
sudo apt-get install git autoconf libcurl4-openssl-dev libncurses5-dev libtool libjansson-dev libudev-dev libusb-1.0-0-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev
sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev git
apt-get install build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev
Immernoch auf dem Raspberry als user "pi" angemeldet den eMark Source Code herunterladen:
git clone https://github.com/emarkproject/eMark
In das Verzeichnis eMark/src wechseln
cd eMark/src
Das Makefile anpassen. Dazu mit einem Text Editor (vi, nano, ...) die Datei makefile.unix öffnen und nach "-msse2" suchen. Dieses Flag steht in den CXXFLAGS - wird vom Raspberry aber nicht unterstützt. Also einfach nur diesen einen Parameter "-msse2" (aktuell in Zeile 96) löschen und die Datei speichern.
eMarkd bauen:
make -f makefile.unix
(Dieser Schritt dauert ca. 1 Stunde!)
strip eMarkd
Das eMarkd executable nach /usr/bin kopieren (optional)
sudo cp eMarkd /usr/bin
eMarkd zum ersten Mal starten:
eMarkd
und wieder beenden:
eMarkd stop
Konfiguration anlegen
Im Home-Verzeichnis der Benutzers "pi" gibt es jetzt ein verstecktes Verzeichnis ".eMark". Ihr könnt es sichtbar machen, wenn ihr im Homeverzeichnis "ls -la" eingebt. Wechselt in dieses Verzeichnis und legt die Konfigurationsdatei an:
cd ~/.eMark
vi eMark.conf
(alternativ könnt ihr auch nano oder einen anderen Editor verwenden)
In die Konfigurationsdatei kommt nun folgender Inhalt:
daemon=1
server=1
rpcuser=<username>
rpcpassword=<password>
rpcallowip=127.0.0.1
rpcport=8925
# addnode=84.200.38.169 eMark Live
Wählt einen Benutzernamen und ein Passwort! Der rpcport ist frei wählbar - falls ihr mehrere *coin-daemons auf dem Raspi laufen lasst, braucht jeder seinen eigenen Port. Danach die Datei speichern.
eMarkd mit der Konfiguration neu starten
eMarkd
Der eMarkd Daemon läuft nun im Hintergrund und synchronisiert die Blockchain. Ihr könnt das im Befehl "top" sehen - eMarkd wird einer der aktivsten Prozesse sein, bis die komplette Blockchain lokal gespeichert ist. Falls ihr mehr über die Aktivität von eMarkd wissen möchtet, könnt ihr mit
tail -f ~/.eMark/debug.log
verfolgen was grade passiert (mit <ctrl-c> beendet man den tail Befehl und kehrt zum command prompt zurück).
`
I have an issue on make "-f makefile.unix":
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/eMark-wallet/src -I/home/pi/eMark-wallet/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/pi/eMark-wallet/src/leveldb/include -I/home/pi/eMark-wallet/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
In file included from chainparams.h:9:0,
from alert.cpp:7:
bignum.h:57:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
class CBigNum : public BIGNUM
^~~~~~
In file included from /usr/include/openssl/crypto.h:31:0,
from allocators.h:12,
from serialize.h:22,
from alert.h:9,
from alert.cpp:5:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
typedef struct bignum_st BIGNUM;
^~~~~~~~~
...
...
...
^
makefile.unix:171 : la recette pour la cible « obj/alert.o » a échouée
make: *** [obj/alert.o] Erreur 1
"sendtoaddress" has the following definition according to the help:
sendtoaddress <eMarkAddress> <amount> [comment] [comment-to] [tx-comment]
Actual behavior:
However, it will only accept 4 parameters, making it impossible to set a tx-comment.
Expected behavior:
Accepting 5 parameters and being able to set a tx-comment.
I updated the eMarkd to latest version (v1.3.2.0), I reloaded the blockchain and started with a new wallet.
The pool (http://coinz.at) mined 9 blocks since yesterday, (adress is NR371ocUpN3D44JzweHZAD89RiqP61ofde) the blocks are correct (see blockexplorer), but the wallet does NOT "SEE" the 450 eMark, it has a balance of only ca. 2 eMark (which I transfered for testing).
(Remark: The blocks where also saved to the MPOS-DB correctly)
Anyone any idea?
Thanks
i run a yiimp based pool and every block is being rejected at stratum.
Hello.
When emarkd sendtoaddress
returns error:
error: {"code":-4,"message":"Error: This transaction requires a transaction fee of at least 0.00002 because of its amount, complexity, or use of recently received funds!"}
it actually needs 0.002, decimal places more. Especially since default fee is 0.001.
Hallo leute!
My program can't connect. Can you suggest nodes I can add (with "addnode"), please?
Danke!
When running eMarkd in netstat it only shows that it is listening on the tpc6 protocol. There are no listening RPC ports opened on IPv4.
I have set the onlynet=IPv4 in the config file and still it only uses IPv6
I was wondering if you would fix the new daemon and wallets. TY sir dev.
eMarkd debug.log is filled with connection refused...
net thread start
dnsseed thread start
Loading addresses from DNS seeds (could take a while)
init message: Done loading
4 addresses found from DNS seeds
dnsseed thread exit
connect() to 193.141.3.75:4555 failed after select(): Connection refused
connect() to [2a01:238:20a:202:1075::]:4555 failed: 101
connect() to 193.141.3.75:4555 failed after select(): Connection refused
....
are there any other nodes i can add to my .conf?
Thanks
If the port is closed, you won't get any new connections, no matter how long the wallet is running (even if you have previously established an active connection with "addnode").
Actually, IPs should be added that in turn have the port open, which allows outgoing connections.
Only incoming connections are added, which is of course only possible when the port is open.
When you close the wallet and restart it, you have more outgoing connections than before, because some of the (previously) incoming connections become outgoing connections if the IPs do not block the port
Another bug is that only the IPs of the incoming connections are stored in the peers.dat and thus reused. If you have closed your port 4555, an eMark.conf with addnode commands is required, otherwise you would have to do a console command after every restart.
[GERMAN]
Ist der Port geschlossen, bekommt man keine neuen Verbindungen, egal wie lange das Wallet läuft (auch dann nicht, wenn man vorher mit "addnode" eine aktive Verbindung hergestellt hat).
Es müssten eigentlich IPs hinzukommen, die ihrerseits den Port offen haben, was ausgehende Verbindungen ermöglichen würde.
Es werden ausschließlich eingehende Verbindungen hinzugefügt, was natürlich nur bei offenem Port möglich ist.
Erst man das Wallet schließt und neustartet, hat man mehr ausgehende Verbindungen als vorher, da einige der (vorher) eingehenden Verbindungen zu ausgehenden Verbindungen werden, wenn die betreffenden IPs den Port nicht blocken.
Ein weiterer Bug ist, dass nur die IPs der eingehenden Verbindungen in der peers.dat gespeichert werden und somit wiederverwendet werden. Hat man seinen Port 4555 geschlossen, ist eine eMark.conf mit addnode-Angaben erforderlich, sonst müsste man nach jedem Neustart einen Konsolenbefehl machen.
I tried compiling eMark on ARM, however the leveldb version eMark uses does not support that architecture. ARM support would be great to run a node on a raspberry pi.
Hello,
Could you help us to install it on Raspberry pi4 Buster ?
because part:
apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools \ build-essential libboost-dev libboost-system-dev \ libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \ libssl-dev libdb++-dev
libminiupnpc-dev``
didn't work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.