teamswipp / swippcore Goto Github PK
View Code? Open in Web Editor NEWThe Swipp core includes the QT wallet and the console daemon for the currency.
License: Other
The Swipp core includes the QT wallet and the console daemon for the currency.
License: Other
Needs to be cleaned up. The reference to adrenaline nodes is everywhere... A number of class/QT files also need to be renamed.
Please remove the curl depended functions from the codebase.
curl makes basicly a static compile under ubuntu 16.04 not possible without build a fat static curl library
itself first.
for the daemon itself the curl function is basicly not nessassary - it makes only sense for the qt-wallet, but the usage of curl makes the binary with all needed extra dependencys very fat.
When I compile new version of wallet with command : make -j8 -f makefile.unix.
I got
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
makefile.unix:220: recipe for target 'obj/backtrace.o' failed
make: *** [obj/backtrace.o] Error 4
make: *** Waiting for unfinished jobs....
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
makefile.unix:220: recipe for target 'obj/checkpoints.o' failed
make: *** [obj/checkpoints.o] Error 4g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
makefile.unix:220: recipe for target 'obj/addrman.o' failed
make: *** [obj/addrman.o] Error 4
resulting error is
In file included from ../src/net.cpp:7: In file included from ../src/init.h:10: In file included from ../src/wallet.h:10: In file included from ../src/walletdb.h:11: In file included from ../src/db.h:10: In file included from ../src/serialize.h:11: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:439: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:702:71: error: invalid operands to binary expression ('const ComparableVersion' and 'const ComparableVersion') bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y;} ~~~ ^ ~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2210:13: note: in instantiation of member function 'std::__1::__less<ComparableVersion, ComparableVersion>::operator()' requested here if (__comp(*--__e2, *__f1)) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2196:5: note: in instantiation of function template specialization 'std::__1::list<ComparableVersion, std::__1::allocator<ComparableVersion> >::__sort<std::__1::__less<ComparableVersion, ComparableVersion> >' requested here __sort(begin(), end(), base::__sz(), __comp); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2187:5: note: in instantiation of function template specialization 'std::__1::list<ComparableVersion, std::__1::allocator<ComparableVersion> >::sort<std::__1::__less<ComparableVersion, ComparableVersion> >' requested here sort(__less<value_type>()); ^ ../src/net.cpp:2111:14: note: in instantiation of member function 'std::__1::list<ComparableVersion, std::__1::allocator<ComparableVersion> >::sort' requested here versions.sort(); ^ ../src/version.h:81:10: note: candidate function not viable: 'this' argument has type 'const ComparableVersion', but method is not marked const bool operator < (const ComparableVersion& other) ^ ../src/uint256.h:482:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const base_uint160' (aka 'const base_uint<160>') for 1st argument inline bool operator<(const base_uint160& a, const uint160& b) { return (base_uint160)a < (base_uint160)b; } ^ ../src/uint256.h:494:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const uint160' for 1st argument inline bool operator<(const uint160& a, const base_uint160& b) { return (base_uint160)a < (base_uint160)b; } ^ ../src/uint256.h:506:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const uint160' for 1st argument inline bool operator<(const uint160& a, const uint160& b) { return (base_uint160)a < (base_uint160)b; } ^ ../src/uint256.h:597:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const base_uint256' (aka 'const base_uint<256>') for 1st argument inline bool operator<(const base_uint256& a, const uint256& b) { return (base_uint256)a < (base_uint256)b; } ^ ../src/uint256.h:609:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const uint256' for 1st argument inline bool operator<(const uint256& a, const base_uint256& b) { return (base_uint256)a < (base_uint256)b; } ^ ../src/uint256.h:621:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const uint256' for 1st argument inline bool operator<(const uint256& a, const uint256& b) { return (base_uint256)a < (base_uint256)b; } ^ ../src/uint256.h:722:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const base_uint512' (aka 'const base_uint<512>') for 1st argument inline bool operator<(const base_uint512& a, const uint512& b) { return (base_uint512)a < (base_uint512)b; } ^ ../src/uint256.h:734:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const uint512' for 1st argument inline bool operator<(const uint512& a, const base_uint512& b) { return (base_uint512)a < (base_uint512)b; } ^ ../src/uint256.h:746:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const uint512' for 1st argument inline bool operator<(const uint512& a, const uint512& b) { return (base_uint512)a < (base_uint512)b; } ^ ../src/bignum.h:778:13: note: candidate function not viable: no known conversion from 'const ComparableVersion' to 'const CBigNum' for 1st argument inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); } ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:424:1: note: candidate template ignored: could not match 'pair<type-parameter-0-0, type-parameter-0-1>' against 'const ComparableVersion' operator< (const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:592:1: note: candidate template ignored: could not match 'reverse_iterator<type-parameter-0-0>' against 'const ComparableVersion' operator<(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:996:1: note: candidate template ignored: could not match 'move_iterator<type-parameter-0-0>' against 'const ComparableVersion' operator<(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1312:1: note: candidate template ignored: could not match '__wrap_iter<type-parameter-0-0>' against 'const ComparableVersion' operator<(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:953:1: note: candidate template ignored: could not match 'tuple<type-parameter-0-0...>' against 'const ComparableVersion' operator<(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2917:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const ComparableVersion' operator< (const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2975:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const ComparableVersion' operator<(const unique_ptr<_T1, _D1>& __x, nullptr_t) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2984:1: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'const ComparableVersion' operator<(nullptr_t, const unique_ptr<_T1, _D1>& __x) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4774:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const ComparableVersion' operator<(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4839:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const ComparableVersion' operator<(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4847:1: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'const ComparableVersion' operator<(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT ^ 1 error generated. make: *** [build/net.o] Error 1
So I was directed here from the bitcointalk user teamswipp.
I had a masternode running with 30K of collateral for a few days. Received a few days of payments. Suddenly the MN stopped complaining about collateral. Same thing happened to my PhantomX MNs at the same time. I think you guys are using very similar code.
The hash exists correctly in the block chain explorer. However, the wallet shows no masternode outputs.
When I look at coin control, instead of a 30K block, I see a representation that the 30K block has been broken into two 15K blocks (roughly, not exactly).
It was suggested that this could be a staking problem. (It indeed looks like the last block to that masternode was a staking block; The transaction hash is this: 08eb2bdb58451cf55c87a3d650ef5f8eb79bc30bfce660c8197d0588b779f733-000
http://explorer.swippcoin.com/address/SStcn28GSU5BvhxnCX45fTTWzndG9VNBEf)
I was told to try reservebalance=99999. But the wallet software ignores this option in the conf file, as well as the staking=0 option. When I manually set reservebalance true 99999 in the console, that works...
but doesn't fix my problem. My wallet represents my transactions in my wallet differently than the explorer, and when I try to start my MN... it says it cannot find the collateral.
Please help me get the MN working or tell me how to get it working another way. Thanks.
Unable to sync in china.
在**无法同步
We need to update the block template to include masternode payments.
In a typical coin which is capable of cold masternodes, the installation generates a masternode.conf file which the controller uses to identify the cold node. Swipp does not generate a masternode.conf file and if you do create one and use it in the way that you would to create a cold masternode, it does not work.
It appears that in order to create a masternode, it needs to be hot so that the required information can be input into the node's swipp.conf file instead.
Currently being tested in a private branch, we need to merge these changes. Before we do, some additional testing needs to be conducted on a small test network. Initial tests are looking good.
we really need masternode setup guide linux cli version.
and cold masternode setup guide .
good, how the genesis block is generated for the masternodes, pow / pos coins are made but these, when generating the genesis always gives me fault
Currently fails due to an openssl issue.
makefile.unix:224: recipe for target 'obj/alert.o' failed
IMO, coins will increasingly be at the mercy of exchanges. Making swipp tradable via atomic swaps will enable swipp to be traded even in the current situation when Coinsmarkets is down, and be able to be included on interesting new DEXs like Blocknet and AltcoinExchange.
Actualy there is an unsolved error when trying to crosscompile with mxe under ubuntu 16.04
and mingw32 with gcc 5.4.
The compiling stops with the usual PRId64 declaration error, which is used in masternode.h
For gcc 5.4 are some extra declarations missing. Please fix the code, so a self compile on ubuntu 14.04 and 16.04 with mxe suite is possible, as usual.
Would be nice to have
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.