Pages:
Author

Topic: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU / GPU - Zero Premine - page 24. (Read 287669 times)

legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
 Cheesy  Indeed. ... no luck mining with your s9 then ? [citation's needed]

Herewith, CRT solo mining (RPC) set examples for rev 5.0 and rev 5.1 ...

64
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 64 --crt crt/crt-22m-64s.txt --threads 2 --fermat-threads 1 --sieve-primes 150000
96
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 96 --crt crt/crt-22m-96s.txt --threads 2 --fermat-threads 1 --sieve-primes 150000
128
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 128 --crt crt/crt-22m-128s.txt --threads 2 --fermat-threads 1 --sieve-primes 140000
160
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 160 --crt crt/crt-22m-160s.txt --threads 2 --fermat-threads 1 --sieve-primes 140000
192
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 192 --crt crt/crt-22m-192s.txt --threads 2 --fermat-threads 1 --sieve-primes 130000
224
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 224 --crt crt/crt-22m-224s.txt --threads 2 --fermat-threads 1 --sieve-primes 130000
256
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 256 --crt crt/crt-22m-256s.txt --threads 2 --fermat-threads 1 --sieve-primes 130000
288
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 288 --crt crt/crt-22m-288s.txt --threads 2 --fermat-threads 1 --sieve-primes 130000
320
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 320 --crt crt/crt-22m-320s.txt --threads 2 --fermat-threads 1 --sieve-primes 120000
352
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 352 --crt crt/crt-22m-352s.txt --threads 2 --fermat-threads 1 --sieve-primes 120000
384
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 384 --crt crt/crt-22m-384s.txt --threads 2 --fermat-threads 1 --sieve-primes 120000
416
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 416 --crt crt/crt-22m-416s.txt --threads 2 --fermat-threads 1 --sieve-primes 120000
448
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 448 --crt crt/crt-22m-448s.txt --threads 2 --fermat-threads 1 --sieve-primes 120000
480
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 480 --crt crt/crt-22m-480s.txt --threads 2 --fermat-threads 1 --sieve-primes 120000
512
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 512 --crt crt/crt-22m-512s.txt --threads 2 --fermat-threads 1 --sieve-primes 110000
544
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 544 --crt crt/crt-22m-544s.txt --threads 2 --fermat-threads 1 --sieve-primes 110000
576
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 576 --crt crt/crt-22m-576s.txt --threads 2 --fermat-threads 1 --sieve-primes 110000
608
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 608 --crt crt/crt-22m-608s.txt --threads 2 --fermat-threads 1 --sieve-primes 110000
640
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 640 --crt crt/crt-22m-640s.txt --threads 2 --fermat-threads 1 --sieve-primes 110000
672
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 672 --crt crt/crt-22m-672s.txt --threads 2 --fermat-threads 1 --sieve-primes 110000
704
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 704 --crt crt/crt-22m-704s.txt --threads 2 --fermat-threads 1 --sieve-primes 100000
736
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 736 --crt crt/crt-22m-736s.txt --threads 2 --fermat-threads 1 --sieve-primes 100000
768
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 768 --crt crt/crt-22m-768s.txt --threads 2 --fermat-threads 1 --sieve-primes 100000
800
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 800 --crt crt/crt-22m-800s.txt --threads 2 --fermat-threads 1 --sieve-primes 100000
832
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 832 --crt crt/crt-22m-832s.txt --threads 2 --fermat-threads 1 --sieve-primes 100000
864
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 864 --crt crt/crt-22m-864s.txt --threads 2 --fermat-threads 1 --sieve-primes 100000
896
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 896 --crt crt/crt-22m-896s.txt --threads 2 --fermat-threads 1 --sieve-primes 100000
928
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 928 --crt crt/crt-22m-928s.txt --threads 2 --fermat-threads 1 --sieve-primes 90000
992
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 992 --crt crt/crt-22m-992s.txt --threads 2 --fermat-threads 1 --sieve-primes 90000
1024
Code:
 -o http://127.0.0.1 -p 31397 -u YOURgapcoinRPC -x YOURgapcoinRPCpass --shift 1024 --crt crt/crt-22m-1024s.txt --threads 2 --fermat-threads 1 --sieve-primes 90000

N.B. sieve-primes values are unlikely to be optimal, although should increase performance above the 'default'.

Stratum's also a bit of a 'fixer upper'.

...

I've commenced mining in the 160, 256, 384 and 768 shifts.

...

gapcoin.conf RPC solo mining example ...

Code:
listen=1
daemon=1
server=1
port=31469
rpcallowip=127.0.0.1
rpcport=31397
rpcuser=YOURgapcoinRPCchangethis
rpcpassword=YOURgapcoinRPCpasschangethis
addnode=seed-jp.gapcoin.club:31469
addnode=seed-ca.gapcoin.club:31469

gapcoin.conf RPC solo mining TESTNET example ...

Code:
testnet=1
listen=1
daemon=1
server=1
port=19661
rpcallowip=127.0.0.1
rpcport=19609
rpcuser=YOURgapcoinRPCchangethis
rpcpassword=YOURgapcoinRPCpasschangethis
addnode=testnet-seed.gapcoin.network:19661
addnode=testnet.gapcoin.network:19661

...

Lena - Satellite ...
- https://youtu.be/7pL9vdpSvnY
legendary
Activity: 2254
Merit: 1290
I think I would hook an asic to it. ... I know that no one dared to put an asic on it heretofore. I will be the first humming internet guy to end this coins life cycle.
Utter nonsense. You've simply revealed your profound ignorance and exposed yourself as an offensive troll. ASIC is an acronym of "Application-specific integrated circuit", in this instance the specific application is not generating hashes but of testing for primality, an application for which no ASIC implementation exists.

Cheers

Graham

full member
Activity: 398
Merit: 110
I think I would hook an asic to it. With it, I will put bitcoinfx punk on his knees. He swanks being a solo guy, well good for him. Maybe your a soloist in every other aspect of your life, namely self-stimulation of ur genitals and fulfillment of other needs, but Im not that guy. I know that no one dared to put an asic on it heretofore. I will be the first humming internet guy to end this coins life cycle.
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
It's a beautiful thing!

...snip...

It's of interest because the consequence of using the default parameters unchanged is that gaps are tested for a limited range over and over again, with new records usually making only incremental improvements to existing records rather than establishing entirely new record gaps (fwiw, the record merit used a shift of 32). Changing the mining parameters changes the locus of the gap search to ranges which haven't been so intensively already mined. The chart shows the gaps in the gaps, so to speak.

...snip...

I've solo mined in the 896 shift range and found it to be quite optimal, but this chart really does help to show the true mathematical potential here.

Pooled mining enabled across the shift ranges, combined with a new solid GPU / CRT miner is easily going to fill the gaps in the gaps and produce lots of new MERIT record prime gaps, protocol and PoW 'as-is'.

Certainly both the cryptocurrency community and mathematics community should begin to take notice when we actually break gapcoins own record?

...

4hero - Star Chasers
- https://www.youtube.com/watch?v=COoQF2ne7C0&list=OLAK5uy_k7a9yo2dm3WC7GNK2VYPuonReJGb5uNfo&index=11
legendary
Activity: 2254
Merit: 1290
In an attempt to shed some light on the effects of using different values for the "shift" parameter, I did some data processing of Gapcoin record merits and the Gapcoin blockchain, relating merits to shifts and other data. The results are available in an OpenOffice spreadsheet (249Kb): https://mega.nz/file/OEsyVAxb#xdodexNJ9ZbyH5gTM370GCuCrzE2crZZ90lBhNulv3I if you wish to create charts similar to the following - in which merit is plotted against shift:



and raw csv format (152Kb) if preferred: https://mega.nz/file/3FsyBI6Q#F6r59XEZmhURBZ_du_8QcnFYmKNm3Sh-VsHEo_wKE4s in which the columns are: block, date, difficulty, shift, adder, gap size, merit, number of digits in the prime and the prime itself.

It's of interest because the consequence of using the default parameters unchanged is that gaps are tested for a limited range over and over again, with new records usually making only incremental improvements to existing records rather than establishing entirely new record gaps (fwiw, the record merit used a shift of 32). Changing the mining parameters changes the locus of the gap search to ranges which haven't been so intensively already mined. The chart shows the gaps in the gaps, so to speak.

The raw data for the analysis was extracted from the blockchain and formatted as SQL inserts for reading into SQLite3. The (77Mb) zipped file of SQL inserts is available at https://mega.nz/file/CI0XVaKa#AqtWAdhmTaVrOW1DSPjHWxMt6T4V0j6ETTqsfN792d0 and there is a zipped SQLite3 database file (1446Mb) ready for loading directly into the SQLite3 DB Browser available at https://mega.nz/file/XZ0zUKxZ#dPz3OBpyulEcWAkeKwMd78lDqv278jncfUubSgp2ddw

The raw data for the record gaps is available in CSV format (8.1Mb) from the Prime Gap List project's web site git repo on github - https://github.com/primegap-list-project/primegap-list-project.github.io/blob/master/_data/allgaps.csv and in SQL insert format (12.6Mb) from the project's main repos: https://github.com/primegap-list-project/prime-gap-list/blob/master/allgaps.sql

Cheers

Goggins

legendary
Activity: 2254
Merit: 1290
gpu miner support only amd cards ?

That does seem to be the case according to a comment in the source:

https://github.com/gapcoin-project/GapMiner/blob/gpu-miner/gpu/procs.cl#L18

// Generated for AMD OpenCL compiler, do not edit!

Cheers

Graham
copper member
Activity: 40
Merit: 0
gpu miner support only amd cards ?
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
All stable on my side

Herewith, current information for pool mining Gapcoin ...

The original and 'final' CPU/GPU miner release(s) for Gapcoin by j0nn9 (i.e. crt-rev5 and crt-rev5.1) were somewhat experimental, they are perhaps unstable for more modern graphics cards and require continued development.

Those binary releases are perhaps best suited for RPC / solo mining (and testing), before a new GPU miner and separate (or combined) CRT miner can be developed and released. Compiling these releases on linux from the original sources is also rather 'tricky' at present and the binaries need testing on => Ubuntu 18.04 LTS etc.,

Judging by pool difficulty and network difficulty I'm guessing all users are currently CPU mining only, this of course may change quite quickly !

...

CPU Pool mining set-up guide:

Pool: https://gap.suprnova.cc

Linux:

The optimal 'working' binary release for CPU mining in the pool is currently gapminer-rev4. I've tested this release on Ubuntu 18.04 LTS and the dependencies are met and it's very stable.

- https://github.com/gapcoin-project/GapMiner/releases

At present, I will suggest set-up as follows:

Code:
wget github.com/gapcoin/GapMiner/releases/download/gapminer-rev4/linux.zip

Code:
sudo apt-get install p7zip-full

Code:
7z x linux.zip

Running gapminer-cpu (requires pool registration and worker set-up):

Code:
linux/64/cpu/gapminer-cpu -o gap.suprnova.cc -p 2433 -u YOURusername.YOURworker -x YOURpassword --retries -1 -t 1 --stratum

N.B. Where -t is the number of CPU cores (threads) to mine with.

DONE !

IMPORTANT : Please read how to action a CPU limit of upto 75% max. before you start Mining on a cloud server! (also useful for desktop mining upto say 97-99% max. to help preserve your hardware and/or productivity!) ...

- https://bitcointalksearch.org/topic/m.40934201

N.B. No requirement to run gapcoind for pool mining here of course ... however the PID your looking for instead in top is: gapminer-cpu

...

Windows Desktop:

See: https://github.com/gapcoin/GapMiner/releases/

Download: https://github.com/gapcoin/GapMiner/releases/download/gapminer-rev4/windows.zip

"GapMiner revision 4: supports CPU / GPU mining.
Changes: rewrote stratum network stuff to remove boost dependencies and to fix windows support."


Currently untested. If someone would like to confim that cpu mining on windows is still working in the pool with gapminer-rev4 that would be great!

TBH I see absolutely no reason why it wouldn't ...

Simply unpack the windows.zip , then navigate to locate gapminer-cpu.exe , move it to an appropriate folder on your drive, second mouse button click > Send to (create shortcut) to create a shortcut on your desktop (or drop and drag). Now second mouse button click the shortcut link > Properties and append to the Target: line ...

Code:
 -o gap.suprnova.cc -p 2433 -u YOURusername.YOURworker -x YOURpassword --retries -1 -t 1 --stratum

Apply and run gapminer-cpu.exe via the Shortcut.

N.B. Again, where -t is the number of CPU cores (threads) to mine with.

DONE !

N.B. or alternatively the .bat method should work just fine!

Good luck!

 Cool
legendary
Activity: 2254
Merit: 1290
Zip archive of Gapcoin datadir (blocks/*, chainstate/* and peers.dat) as of midnight 30th May 2021: https://minkiz.co/noodlings/gap/gapchain-snapshot.zip (4.9Gb).

~ midnight 30th May 2020

The years reel by so quickly they've become a bit of a blur, sigh. As some wag on Facebook commented: the way 2020's going ... what's next, Godzilla?

Cheers

Graham
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Zip archive of Gapcoin datadir (blocks/*, chainstate/* and peers.dat) as of midnight 30th May 2021: https://minkiz.co/noodlings/gap/gapchain-snapshot.zip (4.9Gb).

Cheers

Graham


~ midnight 30th May 2020

Proof that Graham is from the future ... 2024 here we come !

SG-1

N+1

...

I will add the snapshot to https://gapcoin.club asap.

Cheers!

 Cool
legendary
Activity: 2254
Merit: 1290
Zip archive of Gapcoin datadir (blocks/*, chainstate/* and peers.dat) as of midnight 30th May 2021: https://minkiz.co/noodlings/gap/gapchain-snapshot.zip (4.9Gb).

Cheers

Graham
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Naturally, of course it's working ...  Wink

For the non math experts, what is the advantage of solving these? This advances mathematics, and therefore technology, theories, and a general understanding of reality? How does this compare to the technology in XPM Primecoin?



The are many relations between prime numbers and our nature:
http://www.bbc.co.uk/news/magazine-14305667

In fact prime numbers are fascinating in many ways:

Quote from: Paul Erdos
God may not play dice with the universe, but something strange is going on with the prime numbers.

Prime numbers are important to every day cryptography (see RSA).

Researches about prime gaps could not only lead to new breakthroughs in the bounded gap,
it may also help proving the Twin Prime Conjecture and maybe even the millennium problem,
the Riemann hypothesis. Who knows?

While Gapcoin searches for rare prime gaps,
Primecoin on the other hand searches for long prime chains:
http://en.wikipedia.org/wiki/Cunningham_chain
http://en.wikipedia.org/wiki/Primecoin


"Nature's hidden prime number code" ...
- https://www.bbc.co.uk/news/magazine-14305667

Quote
Prime numbers are found hidden in nature, but humans have made spectacular use of them, writes mathematician Marcus du Sautoy.

Ever since humans evolved on this planet we have been trying to make sense of the world around us.

We have attempted to explain why the world looks and behaves the way it does, to predict what the future holds. And in our search for answers we have uncovered a code that makes sense of the huge complexity that confronts us - mathematics.

By translating nature into the code of numbers we have revealed hidden structures and patterns that control our environment.

But not only that. By tapping into nature's code we have been able to change our surroundings, have built extraordinary cities, and developed amazing technology that has resulted in the modern world.

Buzzing quietly beneath the planet we inhabit is an unseen world of numbers, patterns and geometry. Mathematics is the code that makes sense of our universe.

In the forests of Tennessee this summer, part of this code literally bursts from the ground. Nashville is usually home to the sound of blue grass and honky tonk.

But every 13 years, the banjos and basses get drowned out for six weeks by the chorus of an insect that has fascinated me ever since I became a mathematician. Only found in the eastern areas of North America, this cicadas survival depends on exploiting the strange properties of some of the most fundamental numbers in mathematics - the primes, numbers that are only divisible by themselves and one.

The cicadas appear periodically but only emerge after a prime number of years. In the case of the brood appearing around Nashville this year, 13 years. The forests have been quiet for 12 years since the last invasion of these mathematical bugs in 1998 and the locals won't be disturbed by them again until 2024.

This choice of a 13-year cycle doesn't seem too arbitrary. There are another two broods across north America that also have this 13-year life cycle, appearing in different regions and different years. In addition there are another 12 broods that appear every 17 years.

You could just dismiss these numbers as random. But it's very curious that there are no cicadas with 12, 14, 15, 16 or 18-year life cycles. However look at these cicadas through the mathematician's eyes and a pattern begins to emerge.

Because 13 and 17 are both indivisible this gives the cicadas an evolutionary advantage as primes are helpful in avoiding other animals with periodic behaviour. Suppose for example that a predator appears every six years in the forest. Then a cicada with an eight or nine-year life cycle will coincide with the predator much more often than a cicada with a seven-year prime life cycle.

These insects are tapping into the code of mathematics for their survival. The cicadas unwittingly discovered the primes using evolutionary tactics but humans have understood that these numbers not just the key to survival but are the very building blocks of the code of mathematics.

Every number is built by multiplying primes together and from numbers you get mathematics and from mathematics you get the whole of science.

But humans haven't been content simply with observing the importance of these numbers to nature. By understanding the fundamental character of these numbers and exploring their properties humans have literally put them at the heart of the codes that currently protect the world's cyber-secrets.

The cryptography that keeps our credit cards secure when we shop online exploits the same numbers that protect the cicadas in North America - the primes.

Every time you send your credit card number to a website your are depending on primes to keep your details secret. To encode your credit card number your computer receives a public number N from the website, which it uses to perform a calculation with your credit card number.

This scrambles your details so that the encoded message can be sent across the internet. But to decode the message the website uses the primes which divide N to undo the calculation. Although N is public, the primes which divide N are the secret keys which unlock the secret.

The reason this is so secure is that although it is easy to multiply two prime numbers together it is almost impossible to pull them apart. For example no one has been able to find the two primes which divide the following 617-digit number:

25,195,908,475,657,893,494,027,183,240,048,398,571,429,282,126,204,

032,027,777,137,836,043,662,020,707,595,556,264,018,525,880,784,406,

918,290,641,249,515,082,189,298,559,149,176,184,502,808,489,120,072,

844,992,687,392,807,287,776,735,971,418,347,270,261,896,375,014,971,

824,691,165,077,613,379,859,095,700,097,330,459,748,808,428,401,797,

429,100,642,458,691,817,195,118,746,121,515,172,654,632,282,216,869,

987,549,182,422,433,637,259,085,141,865,462,043,576,798,423,387,184,

774,447,920,739,934,236,584,823,824,281,198,163,815,010,674,810,451,

660,377,306,056,201,619,676,256,133,844,143,603,833,904,414,952,634,

432,190,114,657,544,454,178,424,020,924,616,515,723,350,778,707,749,

817,125,772,467,962,926,386,356,373,289,912,154,831,438,167,899,885,

040,445,364,023,527,381,951,378,636,564,391,212,010,397,122,822,120,

720,357

The primes are the atoms of the arithmetic. The hydrogen and oxygen of the world of numbers.

But despite their fundamental character they also represent one of the greatest enigmas in mathematics. Because as you count through the universe of numbers it is almost impossible to spot a pattern that will help you to predict where the next prime will be found.

We know primes go on for ever but finding a pattern in the primes is one of the biggest mysteries in mathematics. A million-dollar prize has been offered to anyone who can reveal the secret of these numbers.

Despite having cracked so much of nature's code the primes are as much an enigma today as when the cicadas in the forests of Tennessee first tapped into them for their evolutionary survival.

Source: - https://www.bbc.co.uk/news/magazine-14305667

...

Miley Cyrus - Party In The U.S.A.
- https://youtu.be/M11SvDtPBhA

 Cheesy

...

Gapcoin = Bitcoin + fundamental laws of nature ...

"Magic internet money" - who knew?

Periodical cicadas - Magicicada ...
- https://en.wikipedia.org/wiki/Periodical_cicadas

Cicada 3301
- https://en.wikipedia.org/wiki/Cicada_3301

*Shrugs*
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Thanks Graham !

...

Tested Gapcoin Core GUI wallet - gapcoin-qt - branch v0.9.4 which now builds perfectly on Ubuntu 18.04 LTS Desktop ...

Terminal window (ctrl + alt + t) - copy and paste:

Code:
sudo apt-get update && sudo apt-get dist-upgrade


Code:
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-dev libboost-all-dev libgmp-dev libmpfr-dev

Qt 5 Install:

Code:
sudo apt-get install git libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler

N.B. libqt5core5a not libqt5core5


QR Code Support (optional - recommended) add:

Code:
sudo apt-get install libqrencode-dev


Berkeley DB:

Code:
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz

Code:
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef  db-4.8.30.NC.tar.gz' | sha256sum -c

Code:
tar -xvf db-4.8.30.NC.tar.gz


Berkeley DB compile:

Code:
cd db-4.8.30.NC/build_unix

Code:
mkdir -p build

Code:
BDB_PREFIX=$(pwd)/build

Code:
../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX

Code:
make install

Code:
cd ../..


Gapcoin-QT, gapcoind and gapcoin-cli download and compile:

Code:
git clone --branch v0.9.4-gap https://github.com/gapcoin-project/gapcoin.git

Code:
cd gapcoin

Code:
git submodule init

Code:
git submodule update

Code:
./autogen.sh

Code:
./configure CPPFLAGS="-I${BDB_PREFIX}/include/ -O2" LDFLAGS="-L${BDB_PREFIX}/lib/" --with-gui=qt5 --without-miniupnpc --disable-tests

Code:
make

Code:
make install


Strip gapcoind and gapcoin-cli:

Code:
cd src

Code:
strip gapcoind

Code:
strip gapcoin-cli


Strip gapcoin-qt:

Code:
cd qt

Code:
strip gapcoin-qt


Code:
cd

...

Running gapcoin-qt:

Terminal window (ctrl + alt + t) - copy and paste:

Code:
cd gapcoin/src/qt

Code:
./gapcoin-qt


DONE !

...

The Pi movie soundtrack is recommended listening whilst gapcoin-qt is compiling ...

- https://www.youtube.com/watch?v=k02KIOUU8Hw&list=PLD141E36B4DAC5F13
legendary
Activity: 2254
Merit: 1290
Ubuntu 20.04 LTS ... reporting a 'default' boost library compile issue i.e. => 1.66.0 ...
Code:
rpcserver.cpp: In instantiation of ‘void RPCListen(boost::shared_ptr >, boost::asio::ssl::context&, bool) [with Protocol = boost::asio::ip::tcp]’:
rpcserver.cpp:633:54:   required from here
rpcserver.cpp:506:111: error: ‘class boost::asio::basic_socket_acceptor’ has no member named ‘get_io_service’
  506 |     boost::shared_ptr< AcceptedConnectionImpl > conn(new AcceptedConnectionImpl(acceptor->get_io_service(), context, fUseSSL));
Yes, the interface to boost::asio has changed. I believe I crafted a solution, I'll see if I can lay a pointer on it.

Cheers

Graham
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
...snip...


working ! on Ubuntu 18.04

Indeed.  Cool

I've edited the version typo in my above post ...

GUI compile guide for Ubuntu 18.04 LTS desktop to follow asap ...

As well as a new how-to compile the (standalone) Gap Miner (CPU) for pooled mining!
copper member
Activity: 40
Merit: 0
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
All stable on my side

Great! Smiley

Oasis - Champagne Supernova ...
- https://youtu.be/tI-5uv4wryI



Herewith, notes for developers, as and when of course ...

EDIT: Ubuntu 18.04 LTS (all good) - Recommended

Ubuntu 20.04 LTS ... reporting a 'default' boost library compile issue i.e. => 1.66.0 ...

Code:
 CXX      rpcserver.o
In file included from crypter.h:10,
                 from wallet.h:9,
                 from rpcserver.cpp:14:
keystore.h: In member function ‘virtual bool CBasicKeyStore::GetKey(const CKeyID&, CKey&) const’:
keystore.h:82:30: warning: implicitly-declared ‘constexpr CKey& CKey::operator=(const CKey&)’ is deprecated [-Wdeprecated-copy]
   82 |                 keyOut = mi->second;
      |                              ^~~~~~
In file included from base58.h:18,
                 from rpcserver.cpp:8:
key.h:203:5: note: because ‘CKey’ has user-provided ‘CKey::CKey(const CKey&)’
  203 |     CKey(const CKey &secret) : fValid(secret.fValid), fCompressed(secret.fCompressed) {
      |     ^~~~
rpcserver.cpp: In instantiation of ‘void RPCListen(boost::shared_ptr >, boost::asio::ssl::context&, bool) [with Protocol = boost::asio::ip::tcp]’:
rpcserver.cpp:633:54:   required from here
rpcserver.cpp:506:111: error: ‘class boost::asio::basic_socket_acceptor’ has no member named ‘get_io_service’
  506 |     boost::shared_ptr< AcceptedConnectionImpl > conn(new AcceptedConnectionImpl(acceptor->get_io_service(), context, fUseSSL));
      |                                                                                                     ~~~~~~~~~~^~~~~~~~~~~~~~
make[3]: *** [Makefile:900: rpcserver.o] Error 1
make[3]: Leaving directory '/root/gapcoin/src'
make[2]: *** [Makefile:922: all-recursive] Error 1
make[2]: Leaving directory '/root/gapcoin/src'
make[1]: *** [Makefile:692: all] Error 2
make[1]: Leaving directory '/root/gapcoin/src'
make: *** [Makefile:509: all-recursive] Error 1

...

Code:
libboost-filesystem-dev is already the newest version (1.71.0.0ubuntu2).
libboost-filesystem-dev set to manually installed.
libboost-system-dev is already the newest version (1.71.0.0ubuntu2).
libboost-system-dev set to manually installed.
libboost-thread-dev is already the newest version (1.71.0.0ubuntu2).
libboost-thread-dev set to manually installed.
libboost-chrono-dev is already the newest version (1.71.0.0ubuntu2).
libboost-chrono-dev set to manually installed.
libboost-test-dev is already the newest version (1.71.0.0ubuntu2).
libboost-test-dev set to manually installed.
legendary
Activity: 2688
Merit: 1240
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Testing around a bit, should be stable soon: https://gap.suprnova.cc


Moving forward!

I will add a link to the https://gapcoin.club website when the pool is confirmed as 'stable' ...

Thank you!

...

Remember to keep mining in the wallets folks, where possible, to avoid mining centralization!

We are going to need at least another couple of pools and by the looks of things ASAP.

Community N.B. 'ocminer' is a long-term mining pool operator and a 'trusted' member of this forum and the crypto space.

 Smiley
Pages:
Jump to: