12792
« on: February 17, 2014, 10:10:36 am »
Lots of warning due to a single line:
main.h:1346:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 8 has type ‘uint32_t {aka unsigned int}’ [-Wformat]
main.h:1346:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 9 has type ‘uint32_t {aka unsigned int}’ [-Wformat]
main.h:1346:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 11 has type ‘const char*’ [-Wformat]
main.h:1346:16: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 13 has type ‘unsigned int’ [-Wformat]
main.h:1346:16: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 14 has type ‘const char*’ [-Wformat]
main.h:1346:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 15 has type ‘uint64 {aka long long unsigned int}’ [-Wformat]
main.h:1346:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 16 has type ‘unsigned int’ [-Wformat]
main.h:1346:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 17 has type ‘const char*’ [-Wformat]
main.h:1346:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 19 has type ‘unsigned int’ [-Wformat]
main.h:1346:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 20 has type ‘const char*’ [-Wformat]
main.h:1346:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 21 has type ‘const char*’ [-Wformat]
testing import when compile is finished
//EDIT: hmm .. run time error:
NoirSharesd: kernel.cpp:368: unsigned int GetStakeModifierChecksum(const CBlockIndex*): Assertion `pindex->pprev || pindex->GetBlockHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.
//EDIT:
moved the original .NoirShare folder and started over. Daemon running.
exported Privkey from protoshare daemon
./NoirSharesd importprivkey UMKZPy*****************************
error: {"code":-5,"message":"Invalid private key"}
sorry :-(