Show Posts
|
Pages: [1] 2 »
|
4
|
Bitcoin / Development & Technical Discussion / Re: Building headless Bitcoin and Bitcoin-qt on Windows
|
on: May 30, 2015, 08:06:20 AM
|
I have download bitcoin-0.10.2.tar.gz, then I have compiled client 0.10.2 succee. But I double-click bitcoin-qt.exe , It automatic quit without warning or error message. I need your help ,thank you in advance . My development environment Windows 7.1 32bit and mingw4.9, boost1.58 db-4.8.30.NC openssl-1.0.1i protobuf-2.5.0 qrencode-3.4.4 gmp-6.0.0 QT5.3.1 my bitcoin-qt.exe size is 179MB. CPPFLAGS="-I/D/BTC/Dev/miniupnpc \ -I/D/BTC/Dev/boost_1_58_0 \ -I/D/FTC/dev/db-4.8.30.NC/build_unix \ -I/D/BTC/Dev/openssl-1.0.1i/include \ -I/D/BTC/Dev \ -I/D/BTC/Dev/protobuf-2.5.0/src \ -I/D/BTC/Dev/libpng-1.6.12 \ -I/D/BTC/Dev/qrencode-3.4.4 \ -I/D/FTC/dev/ZebraCrossing-master/src/libsrc \ -I/D/BTC/Dev/gmp-6.0.0 \ -DSTATICLIB " \ LDFLAGS="-L/D/BTC/Dev/boost_1_58_0/stage/lib \ -L/D/FTC/dev/db-4.8.30.NC/build_unix \ -L/D/BTC/Dev/openssl-1.0.1i \ -L/D/BTC/Dev/miniupnpc \ -L/D/BTC/Dev/protobuf-2.5.0/src/.libs \ -L/D/BTC/Dev/libpng-1.6.12/.libs \ -L/D/BTC/Dev/qrencode-3.4.4/.libs \ -L/D/BTC/Dev/gmp-6.0.0/.libs \ -L/D/FTC/dev/ZebraCrossing-master/build32/Release " \ BOOST_ROOT=/D/BTC/Dev/boost_1_58_0 \ ./configure \ --disable-upnp-default \ --disable-tests \ --with-qt-incdir=/D/BTC/Dev/QT/5.3.1/include \ --with-qt-libdir=/D/BTC/Dev/QT/5.3.1/lib \ --with-qt-bindir=/D/BTC/Dev/QT/5.3.1/bin \ --with-qt-plugindir=/D/BTC/Dev/QT/5.3.1/plugins \ --with-boost-system=mgw49-mt-s-1_58 \ --with-boost-filesystem=mgw49-mt-s-1_58 \ --with-boost-program-options=mgw49-mt-s-1_58 \ --with-boost-thread=mgw49-mt-s-1_58 \ --with-boost-chrono=mgw49-mt-s-1_58 \ --with-protoc-bindir=/D/BTC/Dev/protobuf-2.5.0/src \ --with-boost=/D/BTC/Dev/boost_1_58_0/stage \ --with-boost-libdir=/D/BTC/Dev/boost_1_58_0/stage/lib
|
|
|
5
|
Bitcoin / Bitcoin Technical Support / Run failure client 0.10.2 , after I compile it succeed
|
on: May 30, 2015, 05:53:39 AM
|
I have download bitcoin-0.10.2.tar.gz, then I have compiled client 0.10.2 succee. But I double-click bitcoin-qt.exe , It automatic quit without warning or error message. I need your help ,thank you in advance . My development environment Windows 7.1 32bit and mingw4.9, boost1.58 db-4.8.30.NC openssl-1.0.1i protobuf-2.5.0 qrencode-3.4.4 gmp-6.0.0 QT5.3.1 CPPFLAGS="-I/D/BTC/Dev/miniupnpc \ -I/D/BTC/Dev/boost_1_58_0 \ -I/D/FTC/dev/db-4.8.30.NC/build_unix \ -I/D/BTC/Dev/openssl-1.0.1i/include \ -I/D/BTC/Dev \ -I/D/BTC/Dev/protobuf-2.5.0/src \ -I/D/BTC/Dev/libpng-1.6.12 \ -I/D/BTC/Dev/qrencode-3.4.4 \ -I/D/FTC/dev/ZebraCrossing-master/src/libsrc \ -I/D/BTC/Dev/gmp-6.0.0 \ -DSTATICLIB " \ LDFLAGS="-L/D/BTC/Dev/boost_1_58_0/stage/lib \ -L/D/FTC/dev/db-4.8.30.NC/build_unix \ -L/D/BTC/Dev/openssl-1.0.1i \ -L/D/BTC/Dev/miniupnpc \ -L/D/BTC/Dev/protobuf-2.5.0/src/.libs \ -L/D/BTC/Dev/libpng-1.6.12/.libs \ -L/D/BTC/Dev/qrencode-3.4.4/.libs \ -L/D/BTC/Dev/gmp-6.0.0/.libs \ -L/D/FTC/dev/ZebraCrossing-master/build32/Release " \ BOOST_ROOT=/D/BTC/Dev/boost_1_58_0 \ ./configure \ --disable-upnp-default \ --disable-tests \ --with-qt-incdir=/D/BTC/Dev/QT/5.3.1/include \ --with-qt-libdir=/D/BTC/Dev/QT/5.3.1/lib \ --with-qt-bindir=/D/BTC/Dev/QT/5.3.1/bin \ --with-qt-plugindir=/D/BTC/Dev/QT/5.3.1/plugins \ --with-boost-system=mgw49-mt-s-1_58 \ --with-boost-filesystem=mgw49-mt-s-1_58 \ --with-boost-program-options=mgw49-mt-s-1_58 \ --with-boost-thread=mgw49-mt-s-1_58 \ --with-boost-chrono=mgw49-mt-s-1_58 \ --with-protoc-bindir=/D/BTC/Dev/protobuf-2.5.0/src \ --with-boost=/D/BTC/Dev/boost_1_58_0/stage \ --with-boost-libdir=/D/BTC/Dev/boost_1_58_0/stage/lib
my bitcoin-qt.exe size is 179MB.
|
|
|
15
|
Bitcoin / Development & Technical Discussion / Re: Building headless Bitcoin and Bitcoin-qt on Windows
|
on: September 12, 2014, 04:01:44 PM
|
I am compiling bitcoin-0.9.3, I have some undefined reference about UPNP. But I had made miniupnpc-1.9.
make[3]: Entering directory `/D/BTC/Dev/bitcoin-0.9.3/src' CXXLD bitcoind.exe libbitcoin_server.a(net.o): In function `Z13ThreadMapPortv': d:\BTC\Dev\bitcoin-0.9.3\src/net.cpp:1066: undefined reference to `_imp__upnpDiscover' d:\BTC\Dev\bitcoin-0.9.3\src/net.cpp:1073: undefined reference to `_imp__UPNP_GetValidIGD'
|
|
|
18
|
Bitcoin / Development & Technical Discussion / Re: Building headless Bitcoin and Bitcoin-qt on Windows
|
on: August 12, 2014, 06:48:18 AM
|
CXXLD qt/bitcoin-qt.exe d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(qrspec.o): In function `QRspec_new Frame': d:\BTC\Dev\qrencode-3.4.3/qrspec.c:530: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/qrspec.c:536: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(qrspec.o): In function `QRspec_cle arCache': d:\BTC\Dev\qrencode-3.4.3/qrspec.c:553: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/qrspec.c:560: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(rscode.o): In function `init_rs': d:\BTC\Dev\qrencode-3.4.3/rscode.c:217: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/rscode.c:237: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(rscode.o): In function `free_rs_ca che': d:\BTC\Dev\qrencode-3.4.3/rscode.c:256: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/rscode.c:266: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(mqrspec.o): In function `MQRspec_n ewFrame': d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:248: undefined reference to `_imp__pthread_m utex_lock' d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:254: undefined reference to `_imp__pthread_m utex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(mqrspec.o): In function `MQRspec_c learCache': d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:271: undefined reference to `_imp__pthread_m utex_lock' d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:278: undefined reference to `_imp__pthread_m utex_unlock' collect2.exe: error: ld returned 1 exit status make[1]: *** [qt/bitcoin-qt.exe] Error 1 make[1]: Leaving directory `/d/btc/dev/bitcoin-master/src' make: *** [all-recursive] Error 1
how to fix ?
|
|
|
19
|
Alternate cryptocurrencies / Mining (Altcoins) / Re: NeoScrypt: The Future of CPU and GPU Mining
|
on: July 28, 2014, 03:34:51 PM
|
Neoscrypt, a Strong Memory Intensive Key Derivation Function Neoscrypt,一种超强的强化内存型加密算法
ABSTRACT. Hereby presented a new password based memory intensive cryptographic solution designed for general purpose computer hardware. A particular 32-bit implementation is described and evaluated. 摘要——特此呈现一款新的专为普通计算机硬件设计的内存密集型加密解决方案,它属于一个特殊的32位描述和评价。
NEOSCRYPT SPECIFICATIONS Although a very innovative design back in time, Scrypt has developed certain vulnerabilities. The first announced differential cryptanalysis of Salsa20/8 by Tsunoo et al.in 2007 did not deliver any advantage over 256-bit brute force attack, but the following research by Aumasson et al. [6] reduced time complexity to break it from 2255 to 2251 with 50% success probability. It was improved by Shi et. al in 2012 to 2250. Although this is not critical yet, better attacks on Salsa20/8 may be developed in the future.
PBKDF2 is a very popular KDF and may be configured to require considerably large amounts of processor time, but it does not require complex logic or significant amounts of memory to operate. Therefore brute force attacks can be carried out on general purpose hardware such as GPUs or custom designs (ASICs) with reasonably low costs.
SHA-256 also allows numerous performance optimisations in this context. It is also worth to mention that Scrypt relies very little on PBKDF2-HMAC-SHA256 strength as it is configured to run in the fastest 1-iteration mode even though 1000-iteration minimum advised in general.NeoScrypt addresses these issues. The core engine is configured to employ non-reduced Salsa20 of 20 rounds (Salsa20/20) as well as non-reduced ChaCha20 of 20 rounds (ChaCha20/20). Both of them are used to produce the final salt as their outputs are XOR’ed into it.
They may be configured to run either in series or parallel depending on application objectives. The default NeoScrypt configuration is (128,2,1). A single instance of NeoScrypt utilises (N + 3) * r * 128 bytes of memory space, i.e. 32.75Kb, in series mode or (2 * N + 3) * r * 128 bytes, i.e. 64.75Kb, in parallel mode. Every run of the NeoScrypt core engine executes Salsa20/20 and ChaCha20/20 1024 times each which might seem inferior to 4096 times of Salsa20/8 of the Scrypt core engine. However NeoScrypt operates with double the memory segment size requiring larger temporal buffers, also with higher round count of each stream cipher iteration as explained above. If approximated to abstract load/store units, NeoScrypt is 1.25 times more memory intensive than Scrypt. There are no known successful attacks on non-reduced Salsa20 and ChaCha20 other than exhaustive brute force search.NeoScrypt replaces SHA-256 with BLAKE2s which is a further development of BLAKE-256 [10], one of 5 NIST SHA-3 contest finalists. Based upon ChaCha20 , operates with a lower round count of 10, supports keyed hashing, is native little endian and faster significantly than SHA-256 and even BLAKE-256. It could be interfaced directly to PBKDF2 with no need of HMAC. However PBKDF2 constructs derived keys using blocks. It means a minor change in an input datum, such as nonce increment, may not result in an entirely different derived key. A replacement KDF has been developed to address this issue.
FastKDF is a buffered password based KDF which also supports salting. It operates with 2 primary buffers for password and salt each.They must be a power of 2 in size and not less than any input (password, salt) or output (derived key) data. The default configuration works with 256-byte buffers. Password and salt are loaded initially into these buffers in a repetitive manner until the end of buffer is reached. The salt buffer is modified through operations while the password buffer remains constant. The buffer pointers are set to zero (start) on the first run. When a PRF chosen delivers a digest, a sum of all its bytes modulo buffer size defines the next buffer pointer. The digest is XOR’ed into the salt buffer at the new buffer pointer and the next iteration starts. If a read or write operation goes past a buffer end, it is continued from the buffer start. BLAKE2s is configured to operate with 64-byte input (password), 32-byte key (salt) and 32-byte output (digest). When the final FastKDF iteration is completed, the password buffer using zero buffer pointer is XOR’ed into the salt buffer using the last buffer pointer to produce the derived key of length required which is copied into the output buffer. FastKDF-BLAKE2s is configured to run through 32 iterations by default. It is little endian for easier deployment and additional minor performance advantage on popular general purpose computer hardware.
|
|
|
|