Bitcoin Forum
April 16, 2024, 08:04:24 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
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 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 ... 226 »
  Print  
Author Topic: [ANN][XCN] Cryptonite - NEW Thread | 1st mini-blockchain coin | Bounties!  (Read 215260 times)
palgin
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
August 17, 2017, 07:34:54 AM
Last edit: August 17, 2017, 02:59:00 PM by palgin
 #2321

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: 16DHzyuqenEoHRA3w3YVGcYSDSHks7mor4
1713254664
Hero Member
*
Offline Offline

Posts: 1713254664

View Profile Personal Message (Offline)

Ignore
1713254664
Reply with quote  #2

1713254664
Report to moderator
1713254664
Hero Member
*
Offline Offline

Posts: 1713254664

View Profile Personal Message (Offline)

Ignore
1713254664
Reply with quote  #2

1713254664
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713254664
Hero Member
*
Offline Offline

Posts: 1713254664

View Profile Personal Message (Offline)

Ignore
1713254664
Reply with quote  #2

1713254664
Report to moderator
nu1mlock
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
August 17, 2017, 07:42:52 AM
Last edit: August 17, 2017, 09:11:52 AM by nu1mlock
 #2322

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
Member
**
Offline Offline

Activity: 64
Merit: 10


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

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 (OP)
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


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

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
Full Member
***
Offline Offline

Activity: 237
Merit: 100


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

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
****
Offline Offline

Activity: 378
Merit: 250


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

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
Full Member
***
Offline Offline

Activity: 237
Merit: 100


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

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

Activity: 243
Merit: 105


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

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 (OP)
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


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

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 (OP)
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


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

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

log1k
Member
**
Offline Offline

Activity: 64
Merit: 10


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

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

congrats krnlx, well deserved!
palgin
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


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

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

BTC tips welcome: 16DHzyuqenEoHRA3w3YVGcYSDSHks7mor4
pallas (OP)
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


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

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

it's already there ;-)

pallas (OP)
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


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

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

bounties sent.

palgin
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
August 17, 2017, 03:38:27 PM
Last edit: August 17, 2017, 03:55:49 PM by palgin
 #2335

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: 16DHzyuqenEoHRA3w3YVGcYSDSHks7mor4
nu1mlock
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


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

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?
palgin
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
August 17, 2017, 04:14:47 PM
 #2337

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?

If you have your own nodes added, the only difference is binary size.

BTC tips welcome: 16DHzyuqenEoHRA3w3YVGcYSDSHks7mor4
ManuBBXX
Full Member
***
Offline Offline

Activity: 839
Merit: 100


View Profile
August 17, 2017, 04:17:14 PM
 #2338

Nothing related to wallets, but any chances cryptonite value can go high again ?
It drops and drops, always..
kabi123
Full Member
***
Offline Offline

Activity: 247
Merit: 100


View Profile
August 17, 2017, 04:19:25 PM
 #2339

hm, i was probably ip baned on btc38, or i dontknow... cant load page, but can load google translate...
i never used that acount..just waited for xcn wallet fix..and now...cant use it..this is so arrrggghhh

maybe when u boys fix the wallet i can use some proxy to connect or i dontknow.....others way im fu..ed....
nu1mlock
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
August 17, 2017, 04:20:30 PM
 #2340

The web wallet seems to work fine as intended. Granted, I've only sent 200 coins to and from the wallet, but it works for that.

I would like to suggest to pallas that the bounty for a web wallet should be increased if the source code was provided to you (or open sourced). That way, in case this wallet would go down, it'd be much easier to get a new one up and running. Just a suggestion though, which I believe could help make sure that a proper web wallet is always available - or be used by anyone that wants to.
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 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 ... 226 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!