lazi
|
|
June 05, 2015, 10:12:18 PM |
|
What is your target? Why should i invest in Paycon, can anybody explain?
|
|
|
|
s0nix
|
|
June 05, 2015, 10:31:07 PM Last edit: June 05, 2015, 11:15:22 PM by s0nix |
|
Try adding
#include "uint256_t.h"
to transactiontablemodel.h
try either changing uint256.h or adding the include, it's on line 4
let me know how you go
I built the wallet from source in Ubuntu 32 bit, Staked a few Blocks as well. Try adding that in and see if you can compile it and if so, let me know and I'll add it to the source. transactiontablemodel.h : #ifndef TRANSACTIONTABLEMODEL_H #define TRANSACTIONTABLEMODEL_H
#include <QAbstractTableModel> #include <QStringList>
#include "uint256_t.h"
class CWallet; class TransactionTablePriv; class TransactionRecord; class WalletModel; hmm... does not work, can't compile The last version I was able to compile without problems. EDIT: It may also be it's up to my Ubuntu version. I'll check it on my other GNU/Linux.
|
|
|
|
Crestington (OP)
Legendary
Offline
Activity: 882
Merit: 1024
|
|
June 05, 2015, 10:46:51 PM |
|
What is your target? Why should i invest in Paycon, can anybody explain?
Hmm, good question. It's POS only with moderately high inflation so the rewards are high but you are not getting the same sell pressure as you would with POW which gives a much more stable market. There is continued advancement of the wallet, active people that can help with problems and can connect easily to the network. The question shouldn't be "why should I invest" but "how can I help advance the network?" as everyone has a "Stake" so investing is good, but building on the network is better. Think of it as your Coin and your the developer, how would you make it worth more and how can you contribute beyond just investing.
|
|
|
|
Crestington (OP)
Legendary
Offline
Activity: 882
Merit: 1024
|
|
June 05, 2015, 11:19:03 PM |
|
Try adding
#include "uint256_t.h"
to transactiontablemodel.h
try either changing uint256.h or adding the include, it's on line 4
let me know how you go
I built the wallet from source in Ubuntu 32 bit, Staked a few Blocks as well. Try adding that in and see if you can compile it and if so, let me know and I'll add it to the source. transactiontablemodel.h : #ifndef TRANSACTIONTABLEMODEL_H #define TRANSACTIONTABLEMODEL_H
#include <QAbstractTableModel> #include <QStringList>
#include "uint256_t.h"
class CWallet; class TransactionTablePriv; class TransactionRecord; class WalletModel; hmm... does not work, can't compile The last version I was able to compile without problems. EDIT: It may also be it's up to my Ubuntu version. I'll check it on my other GNU/Linux. Hey I found this from Hobonickels on a similar issue for Ubuntu 64 bit Try this and see how you go, it's a little hackish but could do you to sort it out. http://pastebin.com/Jh0GA75L
|
|
|
|
Crestington (OP)
Legendary
Offline
Activity: 882
Merit: 1024
|
|
June 06, 2015, 12:21:27 AM |
|
Awesome, I finished up my testing and added all my changes into the master branch of Github 47 changed files with 1,115 additions and 448 deletions. Wallet Work -Added Time estimate to Coin Control -Improved Minting information for Minting Icon (time estimation, multisend notification, weights) -Fix of wallet lock/unlock bug -Improved orphan removal -Improved connection to nodes -Date range for Minting -Added number of transactions to overview -Clearer information for rewards in Statistics -"getstaketx" RPC call (incomplete) -"getweight" RPC call -"deleteaddress" RPC call -"getconfs" RPC call getstaketx needs a little fine tuning, other than that all the rest are quite nice additions to the wallet information. Enjoy! Hello Dev My last wallet worked well. But after this recent changes I can't compile the new Qt-wallet. src/qt/transactiontablemodel.cpp:552:23: error: conversion from ‘int64_t {aka long int}’ to ‘QVariant’ is ambiguous return rec->status.depth; ^ src/qt/transactiontablemodel.cpp:552:23: note: candidates are: In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:45:0, from /usr/include/qt5/QtCore/QAbstractTableModel:1, from src/qt/transactiontablemodel.h:4, from src/qt/transactiontablemodel.cpp:1: /usr/include/qt5/QtCore/qvariant.h:483:5: note: QVariant::QVariant(Qt::CursorShape) <near match> QVariant(Qt::CursorShape) Q_DECL_EQ_DELETE; ^ /usr/include/qt5/QtCore/qvariant.h:483:5: note: no known conversion for argument 1 from ‘int64_t {aka long int}’ to ‘Qt::CursorShape’ /usr/include/qt5/QtCore/qvariant.h:482:5: note: QVariant::QVariant(Qt::PenStyle) <near match> QVariant(Qt::PenStyle) Q_DECL_EQ_DELETE; ^ /usr/include/qt5/QtCore/qvariant.h:482:5: note: no known conversion for argument 1 from ‘int64_t {aka long int}’ to ‘Qt::PenStyle’ /usr/include/qt5/QtCore/qvariant.h:481:5: note: QVariant::QVariant(Qt::BrushStyle) <near match> QVariant(Qt::BrushStyle) Q_DECL_EQ_DELETE; ^ /usr/include/qt5/QtCore/qvariant.h:481:5: note: no known conversion for argument 1 from ‘int64_t {aka long int}’ to ‘Qt::BrushStyle’ /usr/include/qt5/QtCore/qvariant.h:480:5: note: QVariant::QVariant(Qt::GlobalColor) <near match> QVariant(Qt::GlobalColor) Q_DECL_EQ_DELETE; ^ /usr/include/qt5/QtCore/qvariant.h:480:5: note: no known conversion for argument 1 from ‘int64_t {aka long int}’ to ‘Qt::GlobalColor’ /usr/include/qt5/QtCore/qvariant.h:473:5: note: QVariant::QVariant(QMetaType::Type) <near match> QVariant(QMetaType::Type) Q_DECL_EQ_DELETE; ^ /usr/include/qt5/QtCore/qvariant.h:473:5: note: no known conversion for argument 1 from ‘int64_t {aka long int}’ to ‘QMetaType::Type’ /usr/include/qt5/QtCore/qvariant.h:466:12: note: QVariant::QVariant(void*) <near match> inline QVariant(void *) Q_DECL_EQ_DELETE; ^ /usr/include/qt5/QtCore/qvariant.h:466:12: note: no known conversion for argument 1 from ‘int64_t {aka long int}’ to ‘void*’ /usr/include/qt5/QtCore/qvariant.h:216:24: note: QVariant::QVariant(const char*) <near match> QT_ASCII_CAST_WARN QVariant(const char *str); ^ /usr/include/qt5/QtCore/qvariant.h:216:24: note: no known conversion for argument 1 from ‘int64_t {aka long int}’ to ‘const char*’ /usr/include/qt5/QtCore/qvariant.h:214:5: note: QVariant::QVariant(float) QVariant(float f); ^ /usr/include/qt5/QtCore/qvariant.h:213:5: note: QVariant::QVariant(double) QVariant(double d); ^ /usr/include/qt5/QtCore/qvariant.h:212:5: note: QVariant::QVariant(bool) QVariant(bool b); ^ /usr/include/qt5/QtCore/qvariant.h:211:5: note: QVariant::QVariant(qulonglong) QVariant(qulonglong ull); ^ /usr/include/qt5/QtCore/qvariant.h:210:5: note: QVariant::QVariant(qlonglong) QVariant(qlonglong ll); ^ /usr/include/qt5/QtCore/qvariant.h:209:5: note: QVariant::QVariant(uint) QVariant(uint ui); ^ /usr/include/qt5/QtCore/qvariant.h:208:5: note: QVariant::QVariant(int) QVariant(int i); ^ /usr/include/qt5/QtCore/qvariant.h:199:5: note: QVariant::QVariant(QVariant::Type) <near match> QVariant(Type type); ^ /usr/include/qt5/QtCore/qvariant.h:199:5: note: no known conversion for argument 1 from ‘int64_t {aka long int}’ to ‘QVariant::Type’ make: *** [build/transactiontablemodel.o] error 1 mysonix1@homebase:~/PayCon$
Is it necessary to install certain packages or dependencies for Qt5? Or what mistake I made? I work with Ubuntu. src/qt/transactiontablemodel.cpp:552:23: error: conversion from ‘int64_t {aka long int}’ to ‘QVariant’ is ambiguous return rec->status.depth; try changing it to return (qlonglong)rec->status.depth; Presstab told me once that he never changed HYP to int64_t from int64 because it tends to be a pain in the ass when it comes to compatibility.
|
|
|
|
AngelLox
|
|
June 06, 2015, 05:17:55 AM Last edit: June 06, 2015, 06:43:36 AM by AngelLox |
|
Getting this. Suspecting is not related to qt4 but seems similar to the other guy's problem Scr/qt/walletmodel.h:103:74: error Unit64_t has not been declared. When i get home i'll update with full code.
|
|
|
|
Crestington (OP)
Legendary
Offline
Activity: 882
Merit: 1024
|
|
June 06, 2015, 06:56:46 AM |
|
Getting this. Suspecting is not related to qt4 but seems similar to the other problem Scr/qt/walletmodel.h:103:74: error Unit64_t has not been declared.
I'll take a look, I also have Lindows with 64 bit Ubuntu as well I can build with, I just never use it because it takes up more ram and harder to build on. Check out the pastebin a couple page ago or so and see what you can find, muddafudda's repository is on 1.05 as well so you can also build from that if you need to.
|
|
|
|
AngelLox
|
|
June 06, 2015, 07:05:14 AM Last edit: June 06, 2015, 11:33:11 AM by AngelLox |
|
Getting this. Suspecting is not related to qt4 but seems similar to the other problem Scr/qt/walletmodel.h:103:74: error Unit64_t has not been declared.
I'll take a look, I also have Lindows with 64 bit Ubuntu as well I can build with, I just never use it because it takes up more ram and harder to build on. Check out the pastebin a couple page ago or so and see what you can find, muddafudda's repository is on 1.05 as well so you can also build from that if you need to. EDIT: I checked the log, thing was called uint_64 not unit. I got my qt5.3.2 working i'll let you know how it goes.
|
|
|
|
Poly#Crypto
|
|
June 06, 2015, 09:51:23 AM Last edit: June 06, 2015, 10:06:15 AM by Poly#Crypto |
|
@sOnix If it does not work with compiling, check out the following file: /home/yourUser/PayCon/src/qt/transactiontablemodel.cpp. 552 /* return rec->status.depth; */ 553 return (qlonglong)rec->status.depth;
So it should work.
|
|
|
|
hendra147
|
|
June 06, 2015, 09:55:13 AM |
|
Price is undervalued now iam not see big buy wall >_<
|
|
|
|
Crestington (OP)
Legendary
Offline
Activity: 882
Merit: 1024
|
|
June 06, 2015, 11:14:55 AM |
|
@sOnix If it does not work with compiling, check out the following file: /home/yourUser/PayCon/src/qt/transactiontablemodel.cpp. 552 /* return rec->status.depth; */ 553 return (qlonglong)rec->status.depth;
So it should work. I'll check it out tomorrow, I have been doing some interesting stuff with seeing how to create faster syncing of fresh wallets. I made up this full copy of the Blockchain from scratch in Windows https://www.dropbox.com/s/76mxqd0tp2fi1v2/PayCon.zip?dl=0I'm curious if a new node could use it to sync right to the highest chain without having to painstakingly wait to sync. The sync times are actually really good, I just want super-fast sync times and wondering about how torrents might be used and Blockchain trimming. If you could have a Coin in which you can always sync quickly and always have a small Blockchain then you've already won half the battle.
|
|
|
|
Crestington (OP)
Legendary
Offline
Activity: 882
Merit: 1024
|
|
June 06, 2015, 11:45:12 AM |
|
@sOnix If it does not work with compiling, check out the following file: /home/yourUser/PayCon/src/qt/transactiontablemodel.cpp. 552 /* return rec->status.depth; */ 553 return (qlonglong)rec->status.depth;
So it should work. I'll check it out tomorrow, I have been doing some interesting stuff with seeing how to create faster syncing of fresh wallets. I made up this full copy of the Blockchain from scratch in Windows https://www.dropbox.com/s/i7eshtfqn5ok9e2/PayCon2.zip?dl=0I'm curious if a new node could use it to sync right to the highest chain without having to painstakingly wait to sync. The sync times are actually really good, I just want super-fast sync times and wondering about how torrents might be used and Blockchain trimming. If you could have a Coin in which you can always sync quickly and always have a small Blockchain then you've already won half the battle. Perfect, it works! For a fresh install: So in Windows you would go to the appdata/roaming directory and create a PayCon folder, and download the PayCon2.zip to that directory, unzip it and start PayCon-QT I Linux it would be just as easy, mkdir .PayCon cd .PayCon wget https://www.dropbox.com/s/i7eshtfqn5ok9e2/PayCon2.zipunzip PayCon2.zip Start PayCond I think I synced to the highest chain from fresh in about 5 minutes, lol
|
|
|
|
s0nix
|
|
June 06, 2015, 11:45:54 AM |
|
PayCon has a great Community. Thanks @ALL for your help. This -> http://pastebin.com/Jh0GA75L was a bit too much for me on the last night I've just made the changes in transactiontablemodel.cpp, line 552, 553 [ return (qlonglong)rec->status.depth; ] And now I have compiled the qt-wallet and let it sync.
|
|
|
|
s0nix
|
|
June 06, 2015, 12:06:42 PM |
|
Great!! Unpack, start wallet, fully synchronized within one minute.
|
|
|
|
Poly#Crypto
|
|
June 06, 2015, 12:17:31 PM |
|
Test: Fresh install wallet - Duration of the synchronization: 47.61 seconds
|
|
|
|
AngelLox
|
|
June 06, 2015, 12:24:08 PM Last edit: June 06, 2015, 01:29:23 PM by AngelLox |
|
g++ -c -fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/qt5/mkspecs/linux-g++ -Isrc -Isrc/json -Isrc/qt -isystem /usr/local/include -Isrc/leveldb/include -Isrc/leveldb/helpers -I/usr/local/qt5/include -I/usr/local/qt5/include/QtWidgets -I/usr/local/qt5/include/QtNetwork -I/usr/local/qt5/include/QtGui -I/usr/local/qt5/include/QtCore -Ibuild -Ibuild -o build/addresstablemodel.o src/qt/addresstablemodel.cpp In file included from src/qt/addresstablemodel.cpp:3:0: src/qt/walletmodel.h:103:74: error: ‘uint64_t’ has not been declared Makefile:7465: recipe for target 'build/addresstablemodel.o' failed
This was with qt5.3.2, so it-s definetly not the compiler. PayCon has a great Community. Thanks @ALL for your help. This -> http://pastebin.com/Jh0GA75L was a bit too much for me on the last night I've just made the changes in transactiontablemodel.cpp, line 552, 553 [ return (qlonglong)rec->status.depth; ] And now I have compiled the qt-wallet and let it sync. I'll try it too. This happens now: g++ -c -fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/qt5/mkspecs/linux-g++ -Isrc -Isrc/json -Isrc/qt -isystem /usr/local/include -Isrc/leveldb/include -Isrc/leveldb/helpers -I/usr/local/qt5/include -I/usr/local/qt5/include/QtWidgets -I/usr/local/qt5/include/QtNetwork -I/usr/local/qt5/include/QtGui -I/usr/local/qt5/include/QtCore -Ibuild -Ibuild -o build/addresstablemodel.o src/qt/addresstablemodel.cpp In file included from src/qt/addresstablemodel.cpp:3:0: src/qt/walletmodel.h:103:74: error: ‘uint64_t’ has not been declared Makefile:7465: recipe for target 'build/addresstablemodel.o' failed make: *** [build/addresstablemodel.o] Error 1
Fix? I tried to search walletmodel.cpp for analogies with the other error but didn't find anything. Edit: My bad didn't realize you missed some files. Re-cloning and recompiling. Sorry for trouble
|
|
|
|
Crestington (OP)
Legendary
Offline
Activity: 882
Merit: 1024
|
|
June 06, 2015, 01:27:31 PM |
|
g++ -c -fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/qt5/mkspecs/linux-g++ -Isrc -Isrc/json -Isrc/qt -isystem /usr/local/include -Isrc/leveldb/include -Isrc/leveldb/helpers -I/usr/local/qt5/include -I/usr/local/qt5/include/QtWidgets -I/usr/local/qt5/include/QtNetwork -I/usr/local/qt5/include/QtGui -I/usr/local/qt5/include/QtCore -Ibuild -Ibuild -o build/addresstablemodel.o src/qt/addresstablemodel.cpp In file included from src/qt/addresstablemodel.cpp:3:0: src/qt/walletmodel.h:103:74: error: ‘uint64_t’ has not been declared Makefile:7465: recipe for target 'build/addresstablemodel.o' failed
This was with qt5.3.2, so it-s definetly not the compiler. PayCon has a great Community. Thanks @ALL for your help. This -> http://pastebin.com/Jh0GA75L was a bit too much for me on the last night I've just made the changes in transactiontablemodel.cpp, line 552, 553 [ return (qlonglong)rec->status.depth; ] And now I have compiled the qt-wallet and let it sync. I'll try it too. This happens now: g++ -c -fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/qt5/mkspecs/linux-g++ -Isrc -Isrc/json -Isrc/qt -isystem /usr/local/include -Isrc/leveldb/include -Isrc/leveldb/helpers -I/usr/local/qt5/include -I/usr/local/qt5/include/QtWidgets -I/usr/local/qt5/include/QtNetwork -I/usr/local/qt5/include/QtGui -I/usr/local/qt5/include/QtCore -Ibuild -Ibuild -o build/addresstablemodel.o src/qt/addresstablemodel.cpp In file included from src/qt/addresstablemodel.cpp:3:0: src/qt/walletmodel.h:103:74: error: ‘uint64_t’ has not been declared Makefile:7465: recipe for target 'build/addresstablemodel.o' failed make: *** [build/addresstablemodel.o] Error 1
So i went into walletmodel.h and changed that uint64_t to int64_t. Didn't fail yet so.. lol, I hate integer types. I'll check it out soon, rested eyes makes the world much clearer.
|
|
|
|
AngelLox
|
|
June 06, 2015, 01:30:57 PM Last edit: June 06, 2015, 01:42:00 PM by AngelLox |
|
lol, I hate integer types. I'll check it out soon, rested eyes makes the world much clearer.
Crest i didn't realize you missed some files, i'm re cloning from github, should work fine this time. Sorry for trouble lol When my blocks split i'll send you a tip
|
|
|
|
5ick3uffalo
Legendary
Offline
Activity: 994
Merit: 1000
|
|
June 06, 2015, 01:52:52 PM |
|
Price is undervalued now iam not see big buy wall >_<
That´s great! Good time to buy me into the Top5 CON richlist soon ™ 50 Bucks or so and i´m there
|
BTC: 1Dw9feZAGSeHvaiQ55T7C92VAAXB2nVKKk
|
|
|
clipman77
Legendary
Offline
Activity: 1610
Merit: 1008
|
|
June 06, 2015, 02:00:33 PM |
|
How can I begin to earn coins POS ?
|
|
|
|
|