I was working on a litecoin source where i modified it to generate a new genesis block. It went all good. I started the client. Now I have a problem that since its a new coin, the wallet keeps saying 1 hour behind from network, and no block source available, because its new genesis block, and has nothing to do with litecoin's blocks.
the question is how do I setup a node? Since this is the pc where I created the genesis block. I thought it would keep itself connected and sync new blocks. (Even though there are no miners on network, it should still sync).
I even added daemon=1 and then run the wallet on 2 different PCs. And I still couldn't sync.
I might be wrong here. How exactly do you people sync a new coin or setup a node? I appreciate your help. Keep in mind all of the process done here by me is to understand how the cryptocurrency works.
|
|
|
i just run coin-qt --debug and i got the debug log.
|
|
|
First of all, i was working on making the new genesis block for educational purpose.
I changed the ntime to current epoch time, and changed nnonce to 0.
Now i compiled and run the qt. it says assertion failed src\main.cpp line 2870
expression: hash == hashgenesisblock.
Okay, so i went to appdata folder, and then there is qt folder. but there is an empty db.log file, and there is no debug.log file. I run the wallet even through testnet and noirc, still no debug.log file appears. can anyone help?
|
|
|
this is quite an old thread, but I think it would be best place to post for help.
I changed the ntime to current epoch time, and changed nnonce to 0.
Now i compiled and run the qt. it says assertion failed src\main.cpp line 2870
expression: hash == hashgenesisblock.
Okay, so i went to appdata folder, and then there is qt folder. but there is an empty db.log file, and there is no debug.log file. I run the wallet even through testnet and noirc, still no debug.log file appears. can anyone help?
|
|
|
In file included from src\net.cpp:21:0: ../miniupnpc/upnpcommands.h:117:1: note: declared here UPNP_AddPortMapping(const char * controlURL, const char * servicetype, ^ In file included from ..\boost-1.50.0-mgw/boost/thread/shared_mutex.hpp:18:0, from ..\boost-1.50.0-mgw/boost/thread/detail/thread_group.hpp:9 , from ..\boost-1.50.0-mgw/boost/thread/thread.hpp:24, from ..\boost-1.50.0-mgw/boost/thread.hpp:13, from src\util.h:25, from src\bignum.h:13, from src\main.h:9, from src\db.h:9, from src\net.cpp:7: ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp: In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::sha red_mutex::state_data]': ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:124:103: required from here ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast <long*>(&comparand));
^ ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast<T const*>(&res); ^ ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from ..\boost-1.50.0-mgw/boost/system/system_error.hpp:14:0, from ..\boost-1.50.0-mgw/boost/thread/exceptions.hpp:22, from ..\boost-1.50.0-mgw/boost/thread/win32/thread_primitives.h pp:16, from ..\boost-1.50.0-mgw/boost/thread/win32/thread_data.hpp:12,
from ..\boost-1.50.0-mgw/boost/thread/thread.hpp:15, from ..\boost-1.50.0-mgw/boost/thread.hpp:13, from src\util.h:25, from src\bignum.h:13, from src\main.h:9, from src\db.h:9, from src\net.cpp:7: ..\boost-1.50.0-mgw/boost/system/error_code.hpp: At global scope: ..\boost-1.50.0-mgw/boost/system/error_code.hpp:214:36: warning: 'boost::system: :posix_category' defined but not used [-Wunused-variable] static const error_category & posix_category = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:215:36: warning: 'boost::system: :errno_ecat' defined but not used [-Wunused-variable] static const error_category & errno_ecat = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:216:36: warning: 'boost::system: :native_ecat' defined but not used [-Wunused-variable] static const error_category & native_ecat = system_category(); ^ Makefile.Release:33990: recipe for target 'build/net.o' failed mingw32-make: *** [build/net.o] Error 1
C:\dogecoin> can anybody shed some light on this error? I seem to be getting close to making the qt client. already did dogecoind.exe which works fine, stuck on this last thingy okay, i got this fixed
|
|
|
okay, added -Wl,--allow-multiple-definition makefile.release as well. lol, i forgot that works fine now
|
|
|
C:\dogecoin>mingw32-make -f Makefile.Release g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads -Wl,-subsystem,windows -o release\dogecoin-qt.exe object_script.dogecoin-qt.Rele ase -lmingwthrd -lmingw32 -lqtmain C:/dogecoin/src/leveldb/libleveldb.a C:/doge coin/src/leveldb/libmemenv.a -LC:/boost-1.50.0-mgw/stage/lib -LC:/db-4.8.30.NC-m gw/build_unix -LC:/openssl-1.0.1c-mgw -lssl -lcrypto -lboost_system-mgw48-mt-s-1 _50 -lboost_filesystem-mgw48-mt-s-1_50 -lboost_program_options-mgw48-mt-s-1_50 - lboost_thread-mgw48-mt-s-1_50 -lboost_chrono-mgw48-mt-s-1_50 -ldb_cxx -lmswsock -LC:/Qt/5.2.0/lib -lQt5Widgets -lQt5Network -ldnsapi -LC:/Qt/5.2.0/plugins/platf orms -lqwindows -lwinspool -lshlwapi -lQt5PlatformSupport -lQt5Gui -lgdi32 -lcom dlg32 -loleaut32 -limm32 -lwinmm -lQt5Core -lole32 -luuid -lws2_32 -ladvapi32 -l shell32 -luser32 -lkernel32 build\bitcoin-qt_res.o C:/boost-1.50.0-mgw/stage/lib/libboost_thread-mgw48-mt-s-1_50.a(tss_pe.o):tss_pe .cpp:(.rdata$T+0x0): multiple definition of `_tls_used' c:/mingw/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-ming w32/lib/../lib/libmingw32.a(lib32_libmingw32_a-tlssup.o):tlssup.c:(.tls+0x0): fi rst defined here collect2.exe: error: ld returned 1 exit status Makefile.Release:292: recipe for target 'release\dogecoin-qt.exe' failed mingw32-make: *** [release\dogecoin-qt.exe] Error 1
C:\dogecoin> I do not understand it at all i added multiple definition to LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static -Wl,--allow-multiple-definition still same error.
|
|
|
Update: I used qmake dogecoin-qt.pro USE_UPNP=- and removed upnp support. I think now its compiling fine. but can anyone tell me what does upnp do and what is it used for? I am kinda a noob
|
|
|
In file included from src\net.cpp:21:0: ../miniupnpc/upnpcommands.h:117:1: note: declared here UPNP_AddPortMapping(const char * controlURL, const char * servicetype, ^ In file included from ..\boost-1.50.0-mgw/boost/thread/shared_mutex.hpp:18:0, from ..\boost-1.50.0-mgw/boost/thread/detail/thread_group.hpp:9 , from ..\boost-1.50.0-mgw/boost/thread/thread.hpp:24, from ..\boost-1.50.0-mgw/boost/thread.hpp:13, from src\util.h:25, from src\bignum.h:13, from src\main.h:9, from src\db.h:9, from src\net.cpp:7: ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp: In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::sha red_mutex::state_data]': ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:124:103: required from here ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast <long*>(&comparand));
^ ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast<T const*>(&res); ^ ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from ..\boost-1.50.0-mgw/boost/system/system_error.hpp:14:0, from ..\boost-1.50.0-mgw/boost/thread/exceptions.hpp:22, from ..\boost-1.50.0-mgw/boost/thread/win32/thread_primitives.h pp:16, from ..\boost-1.50.0-mgw/boost/thread/win32/thread_data.hpp:12,
from ..\boost-1.50.0-mgw/boost/thread/thread.hpp:15, from ..\boost-1.50.0-mgw/boost/thread.hpp:13, from src\util.h:25, from src\bignum.h:13, from src\main.h:9, from src\db.h:9, from src\net.cpp:7: ..\boost-1.50.0-mgw/boost/system/error_code.hpp: At global scope: ..\boost-1.50.0-mgw/boost/system/error_code.hpp:214:36: warning: 'boost::system: :posix_category' defined but not used [-Wunused-variable] static const error_category & posix_category = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:215:36: warning: 'boost::system: :errno_ecat' defined but not used [-Wunused-variable] static const error_category & errno_ecat = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:216:36: warning: 'boost::system: :native_ecat' defined but not used [-Wunused-variable] static const error_category & native_ecat = system_category(); ^ Makefile.Release:33990: recipe for target 'build/net.o' failed mingw32-make: *** [build/net.o] Error 1
C:\dogecoin> Is it a problem with miniupnpc that i build? I have already compiled dogecoind.exe from this source. And it works fine, now making qt client. And stuck. Please help me out
|
|
|
In file included from src\net.cpp:21:0: ../miniupnpc/upnpcommands.h:117:1: note: declared here UPNP_AddPortMapping(const char * controlURL, const char * servicetype, ^ In file included from ..\boost-1.50.0-mgw/boost/thread/shared_mutex.hpp:18:0, from ..\boost-1.50.0-mgw/boost/thread/detail/thread_group.hpp:9 , from ..\boost-1.50.0-mgw/boost/thread/thread.hpp:24, from ..\boost-1.50.0-mgw/boost/thread.hpp:13, from src\util.h:25, from src\bignum.h:13, from src\main.h:9, from src\db.h:9, from src\net.cpp:7: ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp: In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::sha red_mutex::state_data]': ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:124:103: required from here ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast <long*>(&comparand));
^ ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast<T const*>(&res); ^ ..\boost-1.50.0-mgw/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefere ncing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from ..\boost-1.50.0-mgw/boost/system/system_error.hpp:14:0, from ..\boost-1.50.0-mgw/boost/thread/exceptions.hpp:22, from ..\boost-1.50.0-mgw/boost/thread/win32/thread_primitives.h pp:16, from ..\boost-1.50.0-mgw/boost/thread/win32/thread_data.hpp:12,
from ..\boost-1.50.0-mgw/boost/thread/thread.hpp:15, from ..\boost-1.50.0-mgw/boost/thread.hpp:13, from src\util.h:25, from src\bignum.h:13, from src\main.h:9, from src\db.h:9, from src\net.cpp:7: ..\boost-1.50.0-mgw/boost/system/error_code.hpp: At global scope: ..\boost-1.50.0-mgw/boost/system/error_code.hpp:214:36: warning: 'boost::system: :posix_category' defined but not used [-Wunused-variable] static const error_category & posix_category = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:215:36: warning: 'boost::system: :errno_ecat' defined but not used [-Wunused-variable] static const error_category & errno_ecat = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:216:36: warning: 'boost::system: :native_ecat' defined but not used [-Wunused-variable] static const error_category & native_ecat = system_category(); ^ Makefile.Release:33990: recipe for target 'build/net.o' failed mingw32-make: *** [build/net.o] Error 1
C:\dogecoin> can anybody shed some light on this error? I seem to be getting close to making the qt client. already did dogecoind.exe which works fine, stuck on this last thingy
|
|
|
doing the giveaway, someone gave me 10k of frycoins. Nice. I hope giveaway keeps going
|
|
|
no one knows what's up?
|
|
|
also i noticed release folder had only catcoin-qt.exe. And no dll files, is qt supposed to generate dll files to release folder or not? Am I doing something wrong here?
|
|
|
I was compilling this catcoin source from kr105 on github. He has also provided a nice tutorial. And I used this https://bitcointalk.org/index.php?topic=149479.0 tutorial and as well some other tutorials on here. I was able to build all libs, and compile catcoind.exe without any error. but when I run it, it just says catcoind.exe has stopped working. So I ignored it and went ahead and compiled a catcoin-qt. Which also starts up, says "loading wallet" wit wallet loading picture, then pops an error saying catcoin-qt.exe has stopped working, and close the program. I am using windows 8 x86. activeperl 32bit, python33 32bit, openssl 1.0.e, berkley dbmingw, db-6.0.20.NC mysys base,boost_1_54, tried 1_53, and 1_55 as well. I have seen no error in compliation, I had errors, which I trouble shoot and successfuly compile, but end up with broken exe. I added to data execution prevention as well, which provided no luck, then I tried on windows server, exe starts, and closes without an error ,and doesnt appear in taskmgr. Need help. thank you
|
|
|
Update: so i just checked bitcoind.exe and it also opens and closes the cmd with error close the program. I have no idea what could be wrong. It showed me no error at all. just warnings. And i was able to strip bitcoind without any error.
|
|
|
ok, i was compiling on windows 8 32bit. So i was able to compile, strip bitcoind. and makefile release. And after that. Then I try to run bitcoin-qt.exe it says loading wallet. Just like normal. Then suddenly windows error pops up "app has stopped working", then "close the program" it shows me no error. So no idea what's wrong? Also there are no dll files in the folder like it should have, right?
|
|
|
Update, i did a clean install of everything and i was able to strip bitcoind without any errors. I am compiling qt 5.2 libs
|
|
|
new error c:\mingw\include\winsock.h:315:8: error: previous definition of 'struct ip_mreq'
struct ip_mreq { ^ In file included from compat.h:17:0, from netbase.h:11, from net.h:19, from rpcnet.cpp:5: c:\mingw\include\ws2tcpip.h:390:13: error: expected initializer before 'freeaddr info' void WSAAPI freeaddrinfo (struct addrinfo*); ^ c:\mingw\include\ws2tcpip.h:391:12: error: expected initializer before 'getaddri nfo' int WSAAPI getaddrinfo (const char*,const char*,const struct addrinfo*, ^ c:\mingw\include\ws2tcpip.h:393:12: error: expected initializer before 'getnamei nfo' int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD, ^ makefile.mingw:124: recipe for target 'obj/rpcnet.o' failed mingw32-make: *** [obj/rpcnet.o] Error 1 if someone is willing to help? I am about to compile the source, and this error occurs.
|
|
|
The longer I have my money in BTC instead of ETH, the more I piss away by gambling online. Can this thing start already? Never gamble your money, gambling sites are like a black hole, even if you doubled your money in those websites, you never take out, untill your bitcoin is converted to 0. And then you regret yourself, remind yourself that even if you gamble and win, you will keep gambling to the point where you will lose all. been there, done that, recovered from gambling. never gambled again.
|
|
|
|