does it compile ?
buchner@Rennsemmel:~/huitongbi_src_r2$ qmake huitongbi-qt.pro
Project MESSAGE: Building with UPNP support
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
...
buchner@Rennsemmel:~/huitongbi_src_r2$ make
cd /home/buchner/huitongbi_src_r2/src/leveldb && CC=gcc CXX=g++ make OPT="-m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a
/bin/sh: 1: ./build_detect_platform: Permission denied
make[1]: Betrete Verzeichnis '/home/buchner/huitongbi_src_r2/src/leveldb'
Makefile:18: build_config.mk: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um »build_config.mk« zu erstellen. Schluss.
make[1]: Verlasse Verzeichnis '/home/buchner/huitongbi_src_r2/src/leveldb'
make: *** [/home/buchner/huitongbi_src_r2/src/leveldb/libleveldb.a] Fehler 2
the same computer compiled the Blakecoin wallet just fine minutes ago.
but hey, copying in build_config.mk from the same folder in the Blakecoin wallet worked. Now I get this:
g++ -c -m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_WEBKIT -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -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/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/bitcoin.o src/qt/bitcoin.cpp
In file included from src/bignum.h:12:0,
from src/chainparams.h:9,
from src/base58.h:21,
from src/walletdb.h:9,
from src/wallet.h:8,
from src/qt/walletmodel.h:7,
from src/qt/bitcoin.cpp:7:
src/util.h:125:2: Fehler: #error missing boost sleep implementation
make: *** [build/bitcoin.o] Fehler 1
It's a Chinese obstacle course!
the code snippet it barfs on is this:
#if defined(HAVE_WORKING_BOOST_SLEEP_FOR)
boost::this_thread::sleep_for(boost::chrono::milliseconds(n));
#elif defined(HAVE_WORKING_BOOST_SLEEP)
boost::this_thread::sleep(boost::posix_time::milliseconds(n));
#else
//should never get here
#error missing boost sleep implementation
#endif
I will simply keep patching bits and pieces with code I find in the Blakecoin wallet
NOW we're getting somewhere. The wallet contains some scrypt-jane code, and apparently we're lacking a global #define that sets which hash function we need.
This is kind of bad, because it keeps me guessing.
In file included from src/scrypt-jane/scrypt-jane.c:11:0:
src/scrypt-jane/code/scrypt-jane-hash.h: In Funktion »scrypt_hash_init«:
src/scrypt-jane/code/scrypt-jane-hash.h:19:50: Warnung: unbenutzter Parameter »S« [-Wunused-parameter]
src/scrypt-jane/code/scrypt-jane-hash.h: In Funktion »scrypt_hash_update«:
src/scrypt-jane/code/scrypt-jane-hash.h:20:52: Warnung: unbenutzter Parameter »S« [-Wunused-parameter]
src/scrypt-jane/code/scrypt-jane-hash.h:20:70: Warnung: unbenutzter Parameter »in« [-Wunused-parameter]
src/scrypt-jane/code/scrypt-jane-hash.h:20:81: Warnung: unbenutzter Parameter »inlen« [-Wunused-parameter]
src/scrypt-jane/code/scrypt-jane-hash.h: In Funktion »scrypt_hash_finish«:
src/scrypt-jane/code/scrypt-jane-hash.h:21:52: Warnung: unbenutzter Parameter »S« [-Wunused-parameter]
src/scrypt-jane/code/scrypt-jane-hash.h:21:64: Warnung: unbenutzter Parameter »hash« [-Wunused-parameter]
src/scrypt-jane/code/scrypt-jane-hash.h: Auf höchster Ebene:
src/scrypt-jane/code/scrypt-jane-hash.h:23:3: Fehler: #error must define a hash function!
In file included from src/scrypt-jane/scrypt-jane.c:12:0:
src/scrypt-jane/code/scrypt-jane-romix.h: Auf höchster Ebene:
src/scrypt-jane/code/scrypt-jane-romix.h:16:3: Fehler: unbekannter Typname: »scrypt_ROMixfn«
src/scrypt-jane/code/scrypt-jane-romix.h: In Funktion »scrypt_getROMix«:
src/scrypt-jane/code/scrypt-jane-romix.h:16:45: Warnung: return erzeugt Ganzzahl von Zeiger ohne Typkonvertierung [standardmäßig aktiviert]
src/scrypt-jane/code/scrypt-jane-romix.h: Auf höchster Ebene:
src/scrypt-jane/code/scrypt-jane-romix.h:21:3: Fehler: #error must define a mix function!
from what I gather looking at the strings in the windows wallet's EXE file, it seems to use
keccak hash and chacha mix function. So maybe it's a scrypt-jane coin... what isn't clear to me yet is whether it uses keccak256 or keccak512....
From the web page (through Google Translate)
"Remittance currency using the original Scrypt-HTC workload proved algorithm, its enormous amount of computation".
They call it Scrypt-HTC and original. hmm....
I am joining the opinion here:
https://bitcointalksearch.org/topic/m.3329194scrypt-htc is reminscent of scrypt-pgc (Pangu) and scrypt-new (Kingcoin) - just another scrypt-jane that is disguised as a CPU-mining algo while the creators mine on their GPUs
Another interesting quote
https://bitcointalksearch.org/topic/m.3347456From sources - there is scrypt-jane, forked from yacoin, so it must be scrypt-chacha + pbkdf with keccak 512.
Nfactor is 9, rfactor is 5, so for one thread must be used:
for V array
2^(9+1) * 2^5 * 128 / LOOKUP_GAP = 4194304 bytes (for lookup_gap = 1)
+ for X array = 4096 bytes
+ for Y array = 4096 bytes
The ybc-miner will not work with it, as it hardcoded for rfactor = 0.
Theriotically hashing can be run on GPU, but there no gpu-miner available on the internet, maybe someone already has it.
Looking at the pool stats of the ONLY mining pool (which has 454 kHash/s) I would say the top miners are most likely GPU farms. The kHash rating per GPU would be in a similar area as for Yacoin, given that the total scratchpad size is about 4 MB.
http://pool.huitongbi.com:8088/index.php?page=statistics&action=poolChristian