LiteBit
Legendary
Offline
Activity: 1133
Merit: 1050
|
|
August 05, 2015, 02:18:49 AM |
|
Compiling on a Raspberry. I see HYP QT uses QT4. If I upgrade to QT5 will it cause issues? Anyone know before I experiment?
|
|
|
|
Fuzzbawls
|
|
August 05, 2015, 02:30:26 AM |
|
Compiling on a Raspberry. I see HYP QT uses QT4. If I upgrade to QT5 will it cause issues? Anyone know before I experiment?
I (VERY) quickly looked at the source and didn't see anything that tossed up the red flag regarding Qt5. In fact the Mac wallet is compiled against Qt 5.4.1 so it should be fine.
|
|
|
|
presstab (OP)
Legendary
Offline
Activity: 1330
Merit: 1000
Blockchain Developer
|
|
August 05, 2015, 02:37:10 AM |
|
Compiling on a Raspberry. I see HYP QT uses QT4. If I upgrade to QT5 will it cause issues? Anyone know before I experiment?
I (VERY) quickly looked at the source and didn't see anything that tossed up the red flag regarding Qt5. In fact the Mac wallet is compiled against Qt 5.4.1 so it should be fine. Yes HYP was compatible with QT5 a long time ago https://github.com/hyperstake/HyperStake/commit/ac8fafa11df9a49769b4280ddcf1b43b1099bc25
|
|
|
|
billotronic
Legendary
Offline
Activity: 1610
Merit: 1000
Crackpot Idealist
|
|
August 05, 2015, 03:45:06 AM |
|
Compiling on a Raspberry. I see HYP QT uses QT4. If I upgrade to QT5 will it cause issues? Anyone know before I experiment?
Did they ever release a package for that or do you still have to cook from source?
|
|
|
|
LiteBit
Legendary
Offline
Activity: 1133
Merit: 1050
|
|
August 05, 2015, 01:09:52 PM |
|
Compiling on a Raspberry. I see HYP QT uses QT4. If I upgrade to QT5 will it cause issues? Anyone know before I experiment?
Did they ever release a package for that or do you still have to cook from source? QT5? I've found this http://loydcraft.com/2015/01/28/qt5-compiled-for-raspberry-pi/But couldn't get it to work on Jessie. I'm going to try Wheezy. I couldn't get the source to compile last night for HYP QT on my RPi. I followed the wikia instructions and kept coming up with an error and failed build. (Didn't write down error) I also tried skipping that and just downloading zeewolf's script. That too failed to give me usable applications. The desktop icon directs to nowhere, trying gives me false bash errors. Any thoughts?
|
|
|
|
presstab (OP)
Legendary
Offline
Activity: 1330
Merit: 1000
Blockchain Developer
|
|
August 05, 2015, 02:37:15 PM |
|
Compiling on a Raspberry. I see HYP QT uses QT4. If I upgrade to QT5 will it cause issues? Anyone know before I experiment?
Did they ever release a package for that or do you still have to cook from source? QT5? I've found this http://loydcraft.com/2015/01/28/qt5-compiled-for-raspberry-pi/But couldn't get it to work on Jessie. I'm going to try Wheezy. I couldn't get the source to compile last night for HYP QT on my RPi. I followed the wikia instructions and kept coming up with an error and failed build. (Didn't write down error) I also tried skipping that and just downloading zeewolf's script. That too failed to give me usable applications. The desktop icon directs to nowhere, trying gives me false bash errors. Any thoughts? So the daemon is not compiling for you either?
|
|
|
|
LiteBit
Legendary
Offline
Activity: 1133
Merit: 1050
|
|
August 05, 2015, 03:14:38 PM |
|
Compiling on a Raspberry. I see HYP QT uses QT4. If I upgrade to QT5 will it cause issues? Anyone know before I experiment?
Did they ever release a package for that or do you still have to cook from source? QT5? I've found this http://loydcraft.com/2015/01/28/qt5-compiled-for-raspberry-pi/But couldn't get it to work on Jessie. I'm going to try Wheezy. I couldn't get the source to compile last night for HYP QT on my RPi. I followed the wikia instructions and kept coming up with an error and failed build. (Didn't write down error) I also tried skipping that and just downloading zeewolf's script. That too failed to give me usable applications. The desktop icon directs to nowhere, trying gives me false bash errors. Any thoughts? So the daemon is not compiling for you either? I didn't try it with the wiki setup instructions (just the QT). But with zeewolf's script which says it will install daemon and qt it didn't do either.
|
|
|
|
billotronic
Legendary
Offline
Activity: 1610
Merit: 1000
Crackpot Idealist
|
|
August 05, 2015, 03:31:16 PM |
|
I would also recommend trying to cook it using autotools otherwise, I don't have any working pi's anymore to help ya out. Cooked fine on the odroid but thats a whole different critter. You can keep trying your luck with other folk's packages but I've not had a whole lot of luck with that in the past. What I can say is that if you want to just bite the bullet and have qt5 working, I would build it from source . . . a good weekend project.
|
|
|
|
presstab (OP)
Legendary
Offline
Activity: 1330
Merit: 1000
Blockchain Developer
|
|
August 05, 2015, 05:32:14 PM |
|
I don't know if ZeeWolf's script is up to date, but you will definitely want to use autotools as BilloTronic suggested. Here are instructions for odroid, raspi should be similar but handle the QT parts yourself. You should be able to install by using the following in terminal: sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev libdb5.1-dev libdb5.1++-dev libminiupnpc-dev libqrencode-dev sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
I think that is all the dependencies, someone let me know if I missed one. This bitcoin document is helpful https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.mdThen to build the daemon: git clone https://github.com/hyperstake/hyperstake cd hyperstake ./autogen.sh ./configure --with-incompatible-bdb --with-gui=no make
This will go through the build process, and leave you with hyperstaked in /hyperstake/src to run the daemon: To build the QT version, you would change it to --with-gui=qt5 and it should leave the hyperstake-qt app in /src/qt
|
|
|
|
LiteBit
Legendary
Offline
Activity: 1133
Merit: 1050
|
|
August 05, 2015, 05:45:34 PM |
|
I would also recommend trying to cook it using autotools otherwise, I don't have any working pi's anymore to help ya out. Cooked fine on the odroid but thats a whole different critter. You can keep trying your luck with other folk's packages but I've not had a whole lot of luck with that in the past. What I can say is that if you want to just bite the bullet and have qt5 working, I would build it from source . . . a good weekend project. Ouch! 38 hours to compile with overclock! That IS a weekend project, literally. Thanks for the link. Would much rather compile than rely on someone else's. I don't know if ZeeWolf's script is up to date, but you will definitely want to use autotools as BilloTronic suggested. Here are instructions for odroid, raspi should be similar but handle the QT parts yourself. You should be able to install by using the following in terminal: sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev libdb5.1-dev libdb5.1++-dev libminiupnpc-dev libqrencode-dev sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
I think that is all the dependencies, someone let me know if I missed one. This bitcoin document is helpful https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.mdThen to build the daemon: git clone https://github.com/hyperstake/hyperstake cd hyperstake ./autogen.sh ./configure --with-incompatible-bdb --with-gui=no make
This will go through the build process, and leave you with hyperstaked in /hyperstake/src to run the daemon: To build the QT version, you would change it to --with-gui=qt5 and it should leave the hyperstake-qt app in /src/qt Thanks for the crosslink. I'll give this a shot again over the next few days and let everyone know. I appreciate it.
|
|
|
|
Polarbear22
Newbie
Offline
Activity: 11
Merit: 0
|
|
August 06, 2015, 02:45:45 AM |
|
http://image.free.in.th/v/2013/it/150806094246.jpgI see Network weight 4112691758 and I have my weight 682332 I have 23000 Hyp in my wallet and split them to 4 Blocks (5750 hyp per Block and allover max age) I want to know How much my weight or my Hyp that optimize to stake in about max age? Thx for advice me
|
|
|
|
skunk
|
|
August 06, 2015, 03:45:49 PM |
|
hi! compiling the wallet on linux gives me the following error: cd /home/skunk/bitcoin/HyperStake; /bin/sh share/genbuild.sh /home/skunk/bitcoin/HyperStake/build/build.h g++ -c -pipe -fstack-protector-all --param ssp-buffer-size=1 -msse2 -O2 -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -D_REENTRANT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/include/db4.8 -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild -o build/blockbrowser.o src/qt/blockbrowser.cpp src/qt/blockbrowser.cpp: In member function ‘double BlockBrowser::getTxFees(std::string)’: src/qt/blockbrowser.cpp:196:15: error: variable ‘CTxDB txdb’ has initializer but incomplete type CTxDB txdb("r"); ^ Makefile:2549: recipe for target 'build/blockbrowser.o' failed make: *** [build/blockbrowser.o] Error 1
any hint please? thank you
|
|
|
|
billotronic
Legendary
Offline
Activity: 1610
Merit: 1000
Crackpot Idealist
|
|
August 06, 2015, 03:53:50 PM |
|
hi! compiling the wallet on linux gives me the following error: cd /home/skunk/bitcoin/HyperStake; /bin/sh share/genbuild.sh /home/skunk/bitcoin/HyperStake/build/build.h g++ -c -pipe -fstack-protector-all --param ssp-buffer-size=1 -msse2 -O2 -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -D_REENTRANT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/include/db4.8 -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild -o build/blockbrowser.o src/qt/blockbrowser.cpp src/qt/blockbrowser.cpp: In member function ‘double BlockBrowser::getTxFees(std::string)’: src/qt/blockbrowser.cpp:196:15: error: variable ‘CTxDB txdb’ has initializer but incomplete type CTxDB txdb("r"); ^ Makefile:2549: recipe for target 'build/blockbrowser.o' failed make: *** [build/blockbrowser.o] Error 1
any hint please? thank you are you using qmake or autotools? if qmake, try autotools.
|
|
|
|
skunk
|
|
August 06, 2015, 04:04:08 PM |
|
are you using qmake or autotools? if qmake, try autotools.
i've used qmake, indeed ./autogen.sh && ./configure && make did the job, thank you!
|
|
|
|
presstab (OP)
Legendary
Offline
Activity: 1330
Merit: 1000
Blockchain Developer
|
|
August 06, 2015, 04:45:42 PM |
|
I see Network weight 4112691758 and I have my weight 682332 I have 23000 Hyp in my wallet and split them to 4 Blocks (5750 hyp per Block and allover max age) I want to know How much my weight or my Hyp that optimize to stake in about max age? Thx for advice me Difficulty continues to skyrocket. I would let your current 5k blocks stake, but set your stakesplitthreshold to 10,000. See instructions here http://hyperstake.wikia.com/wiki/FAQ#What_is_setstakesplitthreshold_and_how_to_use_it.3F
|
|
|
|
iantunc
Sr. Member
Offline
Activity: 433
Merit: 250
We are the first to program your future (c)
|
|
August 06, 2015, 08:12:44 PM |
|
I see Network weight 4112691758 and I have my weight 682332 I have 23000 Hyp in my wallet and split them to 4 Blocks (5750 hyp per Block and allover max age) I want to know How much my weight or my Hyp that optimize to stake in about max age? Thx for advice me Difficulty continues to skyrocket. I would let your current 5k blocks stake, but set your stakesplitthreshold to 10,000. See instructions here http://hyperstake.wikia.com/wiki/FAQ#What_is_setstakesplitthreshold_and_how_to_use_it.3FDon't touch your blocks (if they are old enough) until they stake , but do what presstab has recommended
|
|
|
|
Polarbear22
Newbie
Offline
Activity: 11
Merit: 0
|
|
August 07, 2015, 05:25:35 AM |
|
|
|
|
|
Fuzzbawls
|
|
August 07, 2015, 05:41:24 AM |
|
I see Network weight 4112691758 and I have my weight 682332 I have 23000 Hyp in my wallet and split them to 4 Blocks (5750 hyp per Block and allover max age) I want to know How much my weight or my Hyp that optimize to stake in about max age? Thx for advice me Difficulty continues to skyrocket. I would let your current 5k blocks stake, but set your stakesplitthreshold to 10,000. See instructions here http://hyperstake.wikia.com/wiki/FAQ#What_is_setstakesplitthreshold_and_how_to_use_it.3FTo Presstab I open debug.log and write setstakesplitthreshold 2000 as in picture . that ok or not not in the debug.log file, but in the debug CONSOLE From the menu: Help > Debug Now, in the debug window, click the "Console" tab. Then enter setstakesplitthreshold x (where x is the number you want to be the minimum split ammt)
|
|
|
|
Polarbear22
Newbie
Offline
Activity: 11
Merit: 0
|
|
August 07, 2015, 06:25:54 AM |
|
not in the debug.log file, but in the debug CONSOLE From the menu: Help > Debug Now, in the debug window, click the "Console" tab. Then enter setstakesplitthreshold x (where x is the number you want to be the minimum split ammt) OK If I have 4 Block each 5750 per block I going to choose setstakesplitthreshold 2000 or 2500 or 4000 ?
|
|
|
|
Fuzzbawls
|
|
August 07, 2015, 06:37:12 AM |
|
OK If I have 4 Block each 5750 per block I going to choose setstakesplitthreshold 2000 or 2500 or 4000 ?
go for a higher value (presstab recommended 10,000). This setting is basically ensuring that your staked blocks aren't split into smaller blocks than what you choose. With the very high difficulty right now, even blocks of 5000 are taking a considerable amount of time to stake vs blocks of 10k+. With any luck, your current 4 blocks will all stake close to each other and THEN you can then combine them a bit to end up with fewer # blocks (but larger size per block). Again, though, DON'T TOUCH THE BLOCKS JUST YET!!! let them ride for now. setstakesplitthreshold won't modify the blocks right now, but will ensure that in the future blocks aren't split to an amount that is considered "too low"
|
|
|
|
|