BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
June 26, 2018, 02:00:52 PM Last edit: June 26, 2018, 02:16:40 PM by BitcoinFX |
|
One coin which I know of which had this feature built-in to the miner is coin Magi (XMG).
Unfortunately, that codebase is authored in Javascript and would likely prove a challenging integration (I confess I've spared myself the chore of actually checking). OTOH, Dropcoin ( https://bitbucket.org/nscrypto/dropcoin.git), (using a Core 0.10 base vs Gapcoin's Core 0.9 base, i.e. close but still non-trivial) has a "percentage of available hashpower" slider in a GUI "mining" tab which might suffice but the feature is incomplete because there is no corresponding parameter for the RPC-API setgenerate call. Rectifying this might be feasible/practicable. Cheers Graham OK thanks for that. Does that also apply to the standalone linux miner I recall ? EDIT : source code for the miner seems to have been removed from github ?
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
June 26, 2018, 03:18:11 PM |
|
OK thanks for that. Does that also apply to the standalone linux miner I recall ?
EDIT : source code for the miner seems to have been removed from github ?
No, that only offers -t <n> threads, too crude to use as a CPU usage control lever. I looked at: https://github.com/gapcoin/GapMinerCheers Graham
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
June 28, 2018, 11:37:24 AM |
|
...
I understand your point but the real answer is that as long as people are scratching for 'money', rather than commodities, it is hard to redefine 'currency' as a commodity and distinguish between nonproductive currencies like fiat, bitcoin etc and productive currencies like math coins, for most people. ...
Totally. Don't panic! Now that the Gapcoin network infrastructure is more stable, I'm going to start website promotion for gapcoin.club , across multiple traffic exchange platforms. This will hopefully grow interest in the project organically. Various traffic exchanges also accept web banners 468x60 , so in regards to your response above I've been working on a simple tag line which tries to be more new user friendly than "... The largest decentralized prime gap search ..." , which definitely makes most people glaze over when you mention it to them! So, ... Get Gapcoin | Real Crypto | Real Math | Real Commodity Money- https://en.wikipedia.org/wiki/Commodity_moneyI did start with ... Get Gapcoin | Real Crypto | Real Math | Real CurrencyAny thoughts ? I'll post when advertising is in full flow (probably starting this week). Already sending 5k - 10k+ unique hits per day via auto exchanges to help build web rank. This advertising is 'free' as I have a good number of TE credits built-up over the last years. Trying to finalize more concise blurb for an FAQ etc., Not a Token | Not an ICO | No Pre-sale | No Pre-mine | Unique blockchain Useful PoW | Functional Mathematics | Logarithmic Coin Issuance ... What does Gapcoin's PoW do that Bitcoin's PoW doesn't do? ... Functional Mathematical Optimization (of Prime Number Gaps) on a Blockchain? ... - https://en.wikipedia.org/wiki/Functional_(mathematics) - https://en.wikipedia.org/wiki/Mathematical_optimizationMathematicians. Is this statement correct? Cheers!
|
|
|
|
Yujin Tan
Newbie
Offline
Activity: 25
Merit: 0
|
|
June 29, 2018, 04:18:03 AM |
|
This is one of the best project of the year based on decent concept. Thisproject have great future.
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
June 30, 2018, 09:38:14 AM |
|
This is one of the best project of the year based on decent concept. This project have great future.
Realize that this blockchain has been live and fully functional since 2014. As with Primecoin, the on-chain math solutions are produced with every block. This is a crypto-currency, just like Bitcoin, it's still mine-able and you can trade with it if you want to ...
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
June 30, 2018, 10:57:55 AM |
|
What does Gapcoin's PoW do that Bitcoin's PoW doesn't do?
... Functional Mathematical Optimization (of Prime Number Gaps) on a Blockchain? ...
I'll bite: Uses Functional Mathematical Optimization of Prime Number Gaps to secure the Public Ledger. Cheers Graham
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
Considering Gapcoin fails to build on every single operating system except Trisquel I would assume the value is appropriate. I don't mind but even Trisquel will upgrade past Boost 1.58 and OpenSSL 1.0.2.
There is not a single distribution with updated software in which Gapcoin will build now. You can update outdated OpenSSL using a different repository until OpenSSL no longer maintains 1.0.2, but it is extremely difficult to downgrade Boost 1.62 to Boost 1.58 to get it to build.
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 01, 2018, 10:00:01 AM |
|
Considering Gapcoin fails to build on every single operating system except Trisquel I would assume the value is appropriate. I don't mind but even Trisquel will upgrade past Boost 1.58 and OpenSSL 1.0.2.
There is not a single distribution with updated software in which Gapcoin will build now. You can update outdated OpenSSL using a different repository until OpenSSL no longer maintains 1.0.2, but it is extremely difficult to downgrade Boost 1.62 to Boost 1.58 to get it to build.
I seem to be inordinately lucky then because (coincidentally) just last night I successfully compiled the git repos checkout on Mint 18.2 (after correcting for the known problems in rpcrawtransaction.cpp and PoWUils.h). Changes to the Linux distro packages means I need to add CPPFLAGS=-fPIC CXXFLAGS=-fPIC to the make command but other than that, it seemed to be a standard autotools build. Am I missing something? Cheers Graham
PoWCore/src/PoWUtils.h:299:5: warning: identifier ‘constexpr’ is a keyword in C++11 [-Wc++0x-compat] static constexpr double accuracy = 7.105427357601002e-15; ^
--- a/src/PoWUtils.h +++ b/src/PoWUtils.h @@ -296,6 +296,7 @@ class PoWUtils { static const uint64_t log_150_48 = 0x502b8fea053a6LL; /* 1.0 / 2^47 (for debugging) (not 48 bytes because rounding errors could count as failure) */ - static constexpr double accuracy = 7.105427357601002e-15; + static const double accuracy = 7.105427357601002e-15; /**
rpcrawtransaction.cpp:299:77: required from here /usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’
--- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -296,7 +296,7 @@ Value listunspent(const Array& params, bool fHelp) CTxDestination address; if (ExtractDestination(pk, address)) { - const CScriptID& hash = boost::get<const CScriptID&>(address); + const CScriptID& hash = boost::get<CScriptID>(address); CScript redeemScript; if (pwalletMain->GetCScript(hash, redeemScript)) entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
July 03, 2018, 06:01:31 AM |
|
Hi, Mr. Higgins
I was trying to build for the first time using Debian.
I was not aware of the PoWUtils.h error until now but you have it backwards I figured it out, but not sure as the real problem I was having was Debian updated OpenSSL to 1.1.0-dev after I switched to 1.0.2-dev. That fixed most of it.
But many many errors, I never see using Trisquel, so I guess it could be any program I just assumed it was more boost errors (not my specialty) (forced conscription).
But I thought it would build up until this error it fails on Debian. Hope you can figure it out.
CXX net.o net.cpp: In function ‘void ThreadMapPort()’: net.cpp:1087:68: error: invalid conversion from ‘int*’ to ‘unsigned char’ [-fpermissive] devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); ^~~~~~ net.cpp:1087:74: error: too few arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)’ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); ^ In file included from net.cpp:24:0: /usr/include/miniupnpc/miniupnpc.h:63:1: note: declared here upnpDiscover(int delay, const char * multicastif, ^~~~~~~~~~~~ In file included from util.h:15:0, from net.h:18, from net.cpp:10: tinyformat.h: In static member function ‘static const char* tinyformat::detail::FormatIterator::streamStateFromFormat(std::ostream&, unsigned int&, const char*, int, int)’: tinyformat.h:784:21: warning: this statement may fall through [-Wimplicit-fallthrough=] out.setf(std::ios::uppercase); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tinyformat.h:785:9: note: here case 'x': case 'p': ^~~~ tinyformat.h:790:21: warning: this statement may fall through [-Wimplicit-fallthrough=] out.setf(std::ios::uppercase); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tinyformat.h:791:9: note: here case 'e': ^~~~ tinyformat.h:796:21: warning: this statement may fall through [-Wimplicit-fallthrough=] out.setf(std::ios::uppercase); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tinyformat.h:797:9: note: here case 'f': ^~~~ tinyformat.h:801:21: warning: this statement may fall through [-Wimplicit-fallthrough=] out.setf(std::ios::uppercase); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tinyformat.h:802:9: note: here case 'g': ^~~~ Makefile:869: recipe for target 'net.o' failed make[3]: *** [net.o] Error 1
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 03, 2018, 10:03:29 AM |
|
I was trying to build for the first time using Debian.
The Gapcoin codebase remains unchanged from its Jan 2015 state ( https://github.com/gapcoin/gapcoin/commits/v0.9.2-gap). Whilst the (then-contemporary) OS X and Windows binaries continue to function on today's modern distros, that isn't true of the Linux world, you will run into errors if you try to build using a modern Linux distro because, as you have discovered, some Linux libraries often introduce backwards-incompatibility. I was not aware of the PoWUtils.h error until now but you have it backwards I figured it out, but not sure as the real problem I was having was Debian updated OpenSSL to 1.1.0-dev after I switched to 1.0.2-dev. That fixed most of it.
fwiw, I wouldn't expect to be able to build a Linux codebase that's been unmaintained for years without first addressing the backwards-incompatibilities, especially if the dependencies include boost, Qt and openssl. But I thought it would build up until this error it fails on Debian. Hope you can figure it out. devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
The miniupnpc library is repeatedly not backwards-compatible, see https://github.com/slimcoin-project/Slimcoin/blob/master/src/net.cpp#L873 for the version switches I added to Slimcoin, it should be just a copynpasta solution. In other circumstances, I'd create a helpful Pull Request but in this instance it'd be a waste of my effort/time as it seems fairly clear that the dev has made a deliberate choice not to actively maintain the Gapcoin github repos. HTH, Cheers Graham
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
July 03, 2018, 10:26:56 AM |
|
Hi, Mr. Higgins I got around that little error by ./configure --without-miniupnpc But got this error chainparams.cpp https://github.com/bitcoin/bitcoin/commit/a2b04ddfe6452e7d6274f4096bf3f2aee695a6d9I applied this patch to get around the Chainparams.cpp error which worked but has created issues with database errors ect. and wallet.dat incompatibility. I am currently downloading the blockchain with a auto-generated wallet.dat file however, so I got it "working" on Debian. Will keep testing it......
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 03, 2018, 11:34:26 AM |
|
Hi, Mr. Higgins
I'm not as old-school as my writing style might lead one to believe Happy to be addressed as "Graham" but also perfectly happy to acknowlege societal differences. I got around that little error by ./configure --without-miniupnpc
Makes sense for a coin daemon on the open subnet but many Linux users are safely NATted away on a local network and I've found that modern routers handle UPNPC quite nicely (although my asynch internet connection suffers a bit from the incoming calls taking up bandwidth but that's the penalty for running a full node on a local network, aiui). It'll depend on your Linux distro and its C++ version, for my Mint 18.X distro, the correct syntax is, apparently: base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,66); base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,5); base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,194); base58Prefixes[EXT_PUBLIC_KEY] = {0x04, 0x88, 0xB2, 0x1E}; // xpub base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x88, 0xAD, 0xE4}; // xprv
But, YMMV depending on your distro and version of C++. For altcoin archeology/forensics, I've started to use VMs of LInux distros contemporary to the launch date of the coin. I am currently downloading the blockchain with a auto-generated wallet.dat file however, so I got it "working" on Debian.
Will keep testing it......
Just to satisfy my curiosity, which Debian version? Cheers Graham
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 03, 2018, 12:04:55 PM |
|
Good day, devs! The idea will be fortunate! Sober results, impeccable website, engaging design!
Oh dear, little better than a Markov chain. And clickbait headlines are saying that GAI is imminent (which I'll read as: "no more imminent than it was 30 years ago"). Honestly, just semi-random shuffling of a text corpus will get you quite a long way, as I trivially demonstrate in Minki's "Hodlerscope": https://minkiz.co/hodlerscopeCheers Graham
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
July 04, 2018, 12:09:37 AM Last edit: July 04, 2018, 01:12:50 AM by BitcoinFX |
|
What does Gapcoin's PoW do that Bitcoin's PoW doesn't do?
... Functional Mathematical Optimization (of Prime Number Gaps) on a Blockchain? ...
I'll bite: Uses Functional Mathematical Optimization of Prime Number Gaps to secure the Public Ledger. Cheers Graham Coolio! One wonders if we might someday use a Public Ledger to 'optimize' - https://en.wikipedia.org/wiki/An_Exceptionally_Simple_Theory_of_EverythingAlthough, they do say that no two Go games are the same ? - https://www.deos.org/ - lolz Perhaps we just need to know how to make it spin, you know, like a spiral, in nature ? - https://en.wikipedia.org/wiki/SpiralWell, does anyone have a good reason for not using the improbability drive ? - https://youtu.be/RXMnDG3QzxE - 216 everywhere ?
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
July 04, 2018, 11:48:09 AM |
|
Debian Testing I reccommend the Mate desktop
|
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
July 14, 2018, 11:47:05 PM |
|
Probably a 'private' pool or testing one ...
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
July 15, 2018, 12:01:44 AM Last edit: July 15, 2018, 01:34:46 AM by BitcoinFX |
|
Two great tweets that present both Gapcoin's lineage and position as an alt coin with useful PoW. (Note: tweets not directly about Gapcoin though!); @BryceWeiner https://twitter.com/BryceWeiner/status/1016822767520395264" Bitcoin spawned Peercoin.
Peercoin spawned proof of stake.
The creator of Peercoin is also the creator of Primecoin, the only truly ASIC resistant proof of work blockchain to ever be created.
No proof of stake blockchain has ever been more successful than peercoin. "@BryceWeiner https://twitter.com/BryceWeiner/status/1016955033647120384" Beneath the hype.
Long past the pumps.
Cryptocurrency is a brutal, predatory space where unprotected and unsecured networks are destroyed for the slightest bit of value.
If you think any coin that survived four years is a sh1tcoin, think again.
#cryptodarwinism "
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 15, 2018, 09:21:56 AM Last edit: July 15, 2018, 10:37:38 AM by gjhiggins Merited by PeterTheGrape (3) |
|
Interesting. Whilst that may be an apparently plausible/popular opinion, it's a long way from the ( far more prosaic) reality. Cheers Graham Edit: clarified origin
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
This is a great project and it has great potential for development. I Believe in this project and to the team, they are seriously taking every steps to make it a successful ICO. ICO which will blow up the market according to experts and I also agree with them. So get your money and join a reliable project, do not lose time! Great project
Much read. Robots wow ... Get Gapcoin | Real Crypto | Real Math | Real Commodity Money
Useful PoW | Functional Mathematics | Logarithmic Coin Issuance | Unique Blockchain
Not a Token | Not an ICO | No Pre-sale | No Pre-mineEDIT: + No Forks (yet!).
|
|
|
|
|