Bitcoin Forum
September 23, 2017, 08:21:27 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 [117] 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 »
  Print  
Author Topic: [ANN][XCN] Cryptonite - NEW Thread | 1st mini-blockchain coin | SECURITY UPDATE!  (Read 130986 times)
Sayman_nsk
Member
**
Offline Offline

Activity: 70


View Profile
August 17, 2017, 02:58:28 AM
 #2321

Sources of m7 miner in first post. palginpav have some optimized miner, you can see at GitHub. just I think, this optimize is not finish and can get more hashes. but need to work with it. sp_ have optimized miner (sp-mod #3), but for donation. my 1070 can have 17-18mh/s and I think it`s not all.
The miner in the first post and on pallas' signature is not as fast as you think it is. sp_'s miner is faster, but not as fast as the one you're thinking about. You're not going to find a miner as fast as what you're looking for.
I think, 30mh/s for 1070 is a fake ATM. because someone, like sp_, long ago would have made a donators miner with 30mh/s. but no one make this extreme optimized miner.
1506198087
Hero Member
*
Offline Offline

Posts: 1506198087

View Profile Personal Message (Offline)

Ignore
1506198087
Reply with quote  #2

1506198087
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1506198087
Hero Member
*
Offline Offline

Posts: 1506198087

View Profile Personal Message (Offline)

Ignore
1506198087
Reply with quote  #2

1506198087
Report to moderator
teosanru
Sr. Member
****
Offline Offline

Activity: 294



View Profile
August 17, 2017, 04:57:20 AM
 #2322

Sources of m7 miner in first post. palginpav have some optimized miner, you can see at GitHub. just I think, this optimize is not finish and can get more hashes. but need to work with it. sp_ have optimized miner (sp-mod #3), but for donation. my 1070 can have 17-18mh/s and I think it`s not all.
The miner in the first post and on pallas' signature is not as fast as you think it is. sp_'s miner is faster, but not as fast as the one you're thinking about. You're not going to find a miner as fast as what you're looking for.
I think, 30mh/s for 1070 is a fake ATM. because someone, like sp_, long ago would have made a donators miner with 30mh/s. but no one make this extreme optimized miner.

Pallas has a private miner optimized by that produces in gtx 1070 up to 36 mh / s but I remember wrong, I do not think pallas lie about this, I wrote him privately, to buy it and he told me, he did not sell it because it is Your reward for having revived XCN, that when you get the profit it deserves, then it will even make it public, because you think he mine alone, although there are two pools?

palgin
Full Member
***
Offline Offline

Activity: 134


View Profile WWW
August 17, 2017, 05:41:31 AM
 #2323

cryptonite-qt dont like me
they say
Code:
MinGW Runtime Assertion
Assertion failed!
Program: C:\YandexDisk\_farm1\cryptonite-qt.exe File: main.cpp, Line 1464
Expression: 0
Abort
Retry
Ignore
https://yadi.sk/i/aPeLDsZL3M5Xyv

win10 64

Code:
if (!blockCache.ReadBlockFromDisk(block, pindexDelete)){
        printf("Failed to read block1\n");
assert(0);
return state.Abort(_("Failed to read block1"));
}

Assertion failed during assert(0) execution, it's not related to exactly my qt-build, try syncing from scratch. It's known bitcoin-qt problem, and as far as cryptonite-qt is based on bitcoin-qt, this thing successfully migrated  Grin

P.S: start with -reindex on the command line, once, that should fix your existing DB and prevent this kind of errors in future.

BTC tips welcome: 15rc7ZpVXvSiDhKkpWf4agV65Cfw3uCk
gawlea
Sr. Member
****
Offline Offline

Activity: 308



View Profile WWW
August 17, 2017, 06:19:00 AM
 #2324

Sources of m7 miner in first post. palginpav have some optimized miner, you can see at GitHub. just I think, this optimize is not finish and can get more hashes. but need to work with it. sp_ have optimized miner (sp-mod #3), but for donation. my 1070 can have 17-18mh/s and I think it`s not all.
The miner in the first post and on pallas' signature is not as fast as you think it is. sp_'s miner is faster, but not as fast as the one you're thinking about. You're not going to find a miner as fast as what you're looking for.
I think, 30mh/s for 1070 is a fake ATM. because someone, like sp_, long ago would have made a donators miner with 30mh/s. but no one make this extreme optimized miner.

Pallas has a private miner optimized by that produces in gtx 1070 up to 36 mh / s but I remember wrong, I do not think pallas lie about this, I wrote him privately, to buy it and he told me, he did not sell it because it is Your reward for having revived XCN, that when you get the profit it deserves, then it will even make it public, because you think he mine alone, although there are two pools?

Hmm well indeed he deservi it! Pallas is a good working guy. We must wait till pallas miner is out for te rest of us!

In a truly free world, there are no limits.
palgin
Full Member
***
Offline Offline

Activity: 134


View Profile WWW
August 17, 2017, 07:34:54 AM
 #2325

Windows Build Guide

PART I - Build environment

!!WARNING!! Remove all Qt and MSYS/MinGW installations from your host (if you have any, of course) before proceeding !!WARNING!!

1. Download MSYS Shell and run it, when MinGW Installation Manager shows up, go to "All packages -> MSYS" and select following:
Code:
msys-base-bin
msys-autoconf-bin
msys-automake-bin
msys-libtool-bin

Don't uncheck packages that will be marked automatically as you check ones mentioned above. Also, make sure that none packages from MinGW section selected. When completed, click on "Installation -> Apply changes"

Done!

2. Download MinGW32 and extract mingw32 folder to the root of your drive (let's count it's drive C:\). Now we need to add it to PATH variable.

Open command prompt (cmd.exe) with administrative privileges and execute following:
Code:
setx path "%path%;C:\mingw32\bin"

Assuming you have Win version 7+, Win XP users should check how to add for their system

Close your cmd and reopen it, then execute:
Code:
mingw32-make -v

It should state:
Code:
GNU Make 4.1
and any other stuff

If nothing shows up, check your PATH variable.

Keep your cmd window open.

Done with this part.






PART II - Dependencies

Here we have 2 options, I've uploaded precompiled libs and Qt to Mega.nz, or you can build it from scratch to prevent any errors, choose what you want.

PRECOMPILED:

1. Precompiled Libs , Precompiled Qt5

Unpack deps.zip contents to C:\deps folder keeping hierarchy , unpack Qt5.zip to C:\Qt keeping hierarchy.

Done with this section.

BUILD FROM SCRATCH:

!!NOTE!! You can speedup process by running make and mingw32-make with -jx flag, where "x" represents the number of your physical processor cores, so it would be like, for example, "make -j4" !!NOTE!!

1. Create folder named "deps" on your drive.
2. Download OpenSSL and unpack it to your newly created "deps" folder.

Open MSYS shell (C:\MinGW\msys\1.0\msys.bat) and execute following, line-by-line:

Code:
cd /c/deps/openssl-1.0.1l
./Configure no-zlib no-shared no-dso no-krb5 no-camellia no-capieng no-cast no-cms no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2 no-mdc2 no-rc5 no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool no-rc2 no-rc4 no-ssl2 no-ssl3 mingw
make

Don't close your MSYS shell.

3. Download Berkley DB 4.8 and unpack it to "deps" folder.

In MSYS shell, line-by-line:

Code:
cd /c/deps/db-4.8.30.NC/build_unix
../dist/configure --enable-mingw --enable-cxx --disable-shared --disable-replication
make

4. Download Boost 1.57 and unpack it to "deps" folder.

In CMD, line-by-line:

Code:
cd C:\deps\boost_1_57_0\
bootstrap.bat mingw
b2 --build-type=minimal --with-chrono --with-filesystem --with-program_options --with-system --with-thread --layout=versioned -sNO_BZIP2=1 -sNO_ZLIB=1 toolset=gcc variant=release link=static threading=multi target-os=windows threadapi=win32 runtime-link=static stage

5. Download MiniuPnP 1.9 and unpack it to "deps" folder.

In CMD, line-by-line:

Code:
cd C:\deps\miniupnpc-1.9
mingw32-make -f Makefile.mingw init upnpc-static

Note that miniupnp is erroring during qt build, so it will be disabled by default, keeping it just for future releases and fixes.

6. Download LibProtobuf and unpack it to "deps" folder.

In MSYS shell, line-by-line:

Code:
cd /c/deps/protobuf-2.6.1
configure --disable-shared
make

7. Download LibPNG and unpack it to "deps" folder.

In MSYS shell, line-by-line:

Code:
cd /c/deps/libpng-1.6.16
configure --disable-shared
make
cp .libs/libpng16.a .libs/libpng.a

8. Download QRencode and unpack it to "deps" folder.

In MSYS shell, line-by-line:

Code:
cd /c/deps/qrencode-3.4.4

LIBS="../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a" \
png_CFLAGS="-I../libpng-1.6.16" \
png_LIBS="-L../libpng-1.6.16/.libs" \
configure --enable-static --disable-shared --without-tools

make

9. Download QT5Base and QT5Tools, Unpack qtbase-opensource-src-5.3.2 folder (in archive qtbase-opensource-src-5.3.2.7z) contents to C:\Qt\5.3.2 and qttools-opensource-src-5.3.2 folder (in archive qttools-opensource-src-5.3.2.7z) contents to C:\Qt\qttools-opensource-src-5.3.2.

In CMD, line-by-line:

Code:
set INCLUDE=C:\deps\libpng-1.6.16;C:\deps\openssl-1.0.1l\include
set LIB=C:\deps\libpng-1.6.16\.libs;C:\deps\openssl-1.0.1l

cd C:\Qt\5.3.2
configure.bat -release -opensource -confirm-license -static -make libs -no-sql-sqlite -no-opengl -system-zlib -qt-pcre -no-icu -no-gif -system-libpng -no-libjpeg -no-freetype -no-angle -no-vcproj -openssl -no-dbus -no-audio-backend -no-wmf-backend -no-qml-debug

mingw32-make

set PATH=%PATH%;C:\Qt\5.3.2\bin

cd C:\Qt\qttools-opensource-src-5.3.2
qmake qttools.pro
mingw32-make

Last mingw32-make will throw out an error, it's OK, do following:

In CMD, line-by-line:

Code:
cd C:\Qt\qttools-opensource-src-5.3.2\src\linguist\lrelease
qmake lrelease.pro
mingw32-make

After execution, In CMD, line-by-line:

Code:
cd C:\Qt\qttools-opensource-src-5.3.2\src\linguist\lupdate
qmake lupdate.pro
mingw32-make

10. Download GMP and unpack it to "deps" folder.

In MSYS shell, line-by-line:

Code:
cd /c/deps/gmp-6.0.0
MPN_PATH=" i686 generic" CFLAGS="-O3 -march=native -mtune=generic" CXXFLAGS="-O3 -march=native -mtune=generic" ./configure --disable-shared --enable-cxx --host=i686-w64-mingw32
make

Done with this section.

Done with this part.






PART III - Compilation

1. Download Cryptonite source zip from any fork (pallas, krnlx or mine, they're nearly exactly the same) and unpack it to C:\

2. In MSYS shell, code block-by-block:

Code:
cd /c/Cryptonite-master

./autogen.sh

CPPFLAGS="-I/c/deps/db-4.8.30.NC/build_unix \
-I/c/deps/openssl-1.0.1l/include \
-I/c/deps \
-I/c/deps/protobuf-2.6.1/src \
-I/c/deps/libpng-1.6.16 \
-I/c/deps/qrencode-3.4.4 \
-I/c/deps/gmp-6.0.0" \
LDFLAGS="-L/c/deps/db-4.8.30.NC/build_unix \
-L/c/deps/openssl-1.0.1l \
-L/c/deps/miniupnpc-1.9 \
-L/c/deps/protobuf-2.6.1/src/.libs \
-L/c/deps/libpng-1.6.16/.libs \
-L/c/deps/qrencode-3.4.4/.libs \
-L/c/deps/gmp-6.0.0/.libs" \
BOOST_ROOT=/c/deps/boost_1_57_0 \
./configure \
--with-gui \
--disable-upnp-default \
--disable-tests \
--with-qt-incdir=/c/Qt/5.3.2/include \
--with-qt-libdir=/c/Qt/5.3.2/lib \
--with-qt-plugindir=/c/Qt/5.3.2/plugins \
--with-qt-bindir=/c/Qt/5.3.2/bin \
--with-protoc-bindir=/c/deps/protobuf-2.6.1/src

make

strip src/cryptonite-cli.exe
strip src/cryptonited.exe
strip src/qt/cryptonite-qt.exe

!!! Congratulations, you've just built you own Qt-wallet !!!

BTC tips welcome: 15rc7ZpVXvSiDhKkpWf4agV65Cfw3uCk
nu1mlock
Sr. Member
****
Online Online

Activity: 266


View Profile
August 17, 2017, 07:42:52 AM
 #2326

I haven't tested the guide yet (obviously, you just posted it) but it seems simple enough. Great work, palgin!

Edit: As promised, I'd update regarding the latest compiled wallets by palgin.

The qt wallet has been working fine on my PC and the cryptonited wallets on my six rigs as well. So about 12h testing for the qt wallet and a combined total of 72h of cryptonited. So far so good.

Looking forward to more reports so pallas can contact btc38 so they hopefully can get their wallet up and running quickly.
log1k
Jr. Member
*
Offline Offline

Activity: 48


View Profile
August 17, 2017, 09:29:46 AM
 #2327

Hi all,

Announced this a few days back but removed the post, so I could test and implement krnlx's brilliant patch.

I've got the Cryptonite Webwallet up and running, and it runs very smoothly (http://xcn.nosmokes.org/).
Anyone is invited to test it and use as they wish; but standard disclaimer being test with a small amount before sending any significant amount (I haven't had a single issue mind you).

This costs me very little to run, so there is no reason why this would not still be functioning in 3-6 months time.

log1k
pallas
Legendary
*
Offline Offline

Activity: 1414


Black Belt Developer


View Profile
August 17, 2017, 09:36:12 AM
 #2328

Hi all,

Announced this a few days back but removed the post, so I could test and implement krnlx's brilliant patch.

I've got the Cryptonite Webwallet up and running, and it runs very smoothly (http://xcn.nosmokes.org/).
Anyone is invited to test it and use as they wish; but standard disclaimer being test with a small amount before sending any significant amount (I haven't had a single issue mind you).

This costs me very little to run, so there is no reason why this would not still be functioning in 3-6 months time.

log1k


Guys please test this. There is a bounty for it, so please also give your OK if it's allright to pay that to log1k.

Sayman_nsk
Member
**
Offline Offline

Activity: 70


View Profile
August 17, 2017, 09:59:50 AM
 #2329

Hi all,

Announced this a few days back but removed the post, so I could test and implement krnlx's brilliant patch.

I've got the Cryptonite Webwallet up and running, and it runs very smoothly (http://xcn.nosmokes.org/).
Anyone is invited to test it and use as they wish; but standard disclaimer being test with a small amount before sending any significant amount (I haven't had a single issue mind you).

This costs me very little to run, so there is no reason why this would not still be functioning in 3-6 months time.

log1k


Guys please test this. There is a bounty for it, so please also give your OK if it's allright to pay that to log1k.
web wallet addr:CVaGfQT3PZkp2Z73A2vsirDN4Y1VAhrrWd
nu1mlock
Sr. Member
****
Online Online

Activity: 266


View Profile
August 17, 2017, 10:04:05 AM
 #2330

I'm on my way to the airport right now, but I'll give the web wallet a go when I get back home tonight. I'm glad XCN is getting some extra traction and support!
Sayman_nsk
Member
**
Offline Offline

Activity: 70


View Profile
August 17, 2017, 10:30:06 AM
 #2331

I transfer my 17xcn from Nova to web.
TxID: a39f869d797752f08c84857ffeccf7be2f5e23ee20c1bd150664375c9418a21a
works fine)))))
krnlx
Full Member
***
Offline Offline

Activity: 204


View Profile
August 17, 2017, 10:54:14 AM
 #2332

I have doubts about default node, hardcoded into cryptonite(src/chainparams.cpp, line 109)... it provides not "the best" list of nodes and can go down any time... Does btc38 will modify cryptonite.conf to add nodes? Or we must add some other default nodes in production version? They can be added easy by adding line         
Code:
vSeeds.push_back(CDNSSeedData("xcn.suprnova.cc", "xcn.suprnova.cc"));

When I tested cryptonite-qt, I wrote command "getpeerinfo" debug window and saw some not full synced nodes.
pallas
Legendary
*
Offline Offline

Activity: 1414


Black Belt Developer


View Profile
August 17, 2017, 12:24:25 PM
 #2333

I have doubts about default node, hardcoded into cryptonite(src/chainparams.cpp, line 109)... it provides not "the best" list of nodes and can go down any time... Does btc38 will modify cryptonite.conf to add nodes? Or we must add some other default nodes in production version? They can be added easy by adding line         
Code:
vSeeds.push_back(CDNSSeedData("xcn.suprnova.cc", "xcn.suprnova.cc"));

When I tested cryptonite-qt, I wrote command "getpeerinfo" debug window and saw some not full synced nodes.

Yes it's in my todo list: add seednodes and checkpoints.
We could start by adding the pools and the block explorers.

pallas
Legendary
*
Offline Offline

Activity: 1414


Black Belt Developer


View Profile
August 17, 2017, 12:27:07 PM
 #2334

@krnlx: please PM me your xcn address to claim the two bounties.

log1k
Jr. Member
*
Offline Offline

Activity: 48


View Profile
August 17, 2017, 12:30:21 PM
 #2335

@krnlx: please PM me your xcn address to claim the two bounties.

congrats krnlx, well deserved!
palgin
Full Member
***
Offline Offline

Activity: 134


View Profile WWW
August 17, 2017, 12:50:58 PM
 #2336

@pallas , add windows build guide to the first page, or it will be lost between messages  Smiley

BTC tips welcome: 15rc7ZpVXvSiDhKkpWf4agV65Cfw3uCk
pallas
Legendary
*
Offline Offline

Activity: 1414


Black Belt Developer


View Profile
August 17, 2017, 12:52:10 PM
 #2337

@pallas , add windows build guide to the first page, or it will be lost between messages  Smiley

it's already there ;-)

pallas
Legendary
*
Offline Offline

Activity: 1414


Black Belt Developer


View Profile
August 17, 2017, 01:40:18 PM
 #2338

@krnlx: please PM me your xcn address to claim the two bounties.

bounties sent.

palgin
Full Member
***
Offline Offline

Activity: 134


View Profile WWW
August 17, 2017, 03:38:27 PM
 #2339

Windows binaries set with reducted sizes and bad node fix (adviced by krnlx):

Windows Binaries with badnode fix/smaller size

P.S.: Anyone interested in migrating to newer version of bitcoin-qt wallet base? Any ETR for btc38?

BTC tips welcome: 15rc7ZpVXvSiDhKkpWf4agV65Cfw3uCk
nu1mlock
Sr. Member
****
Online Online

Activity: 266


View Profile
August 17, 2017, 04:11:27 PM
 #2340

Windows binaries set with reducted sizes and bad node fix (adviced by krnlx):

Windows Binaries with badnode fix/smaller size

P.S.: Anyone interested in migrating to newer version of bitcoin-qt wallet base? Any ETR for btc38?
I'm guessing I don't need to use these if I have added my own nodes?
Pages: « 1 ... 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 [117] 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!