Pages:
Author

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

legendary
Activity: 2254
Merit: 1290
Dr Thomas Nicely



I'm saddened to learn that Dr Thomas Nicely died Wednesday, September 11, 2019, as a result of injuries sustained in a recent car accident.

I'm working my way through his website, saving the content for curation purposes (but I imagine that the internet archive has it all safely stashed) intending to explore the possibility of establishing the Gapcoin community as de facto collective curators of prime gap records.

Cheers

Graham
legendary
Activity: 2254
Merit: 1290
An interesting project, I translated it into Russian.
https://bitcointalksearch.org/topic/ann-gap-gapcoin-prime-gap-search-5198025
Historically, the bounty for translations was 25 GAP but that seems a little paltry these days. If you wish to post a Gapcoin address, I will send you 50 GAP.

Cheers

Graham
legendary
Activity: 2254
Merit: 1290
fwiw Dept:

As part of my attempts to resolve the apparent contradiction between the assertions about how primes are filtered in Gapcoin [1] and how that's done in the actual PoWCore source code, I scraped j0nn9's posts to this, the Gapcoin thread, sorted them into ascending order and rendered the result as a standalone page of HTML that I have published as a github gist which can be saved and opened in a browser:

https://gist.github.com/gjhiggins/75073257527aa6304b3913688f2b46c8

[1] “Gapcoin follows Riecoin's way and uses enough Miller-Rabin tests with random bases to avoid composite numbers being accepted as Prove of Work.”

Added:
In an effort after greater clarity, I distilled and categorised the posts, rendering them as a page of HTML that uses jquery and semantic-ui to present the posts in a series of accordion (drop-down) sections for ease of consumption: https://gist.github.com/gjhiggins/dded25cb7a6d46531a3c8bd52074bde4

BTW, I found out what [1] was about and annotated my own copy of Gapcoin-PoWCore's PoW.cpp (https://github.com/gapcoin/Gapcoin-PoWCore/blob/06ac3fea780997232e9d5c78bfaf34d72e1b4e13/src/PoW.cpp#L130) with the docs of the gmplib functions mpz_probab_prime_p and mpz_nextprime:
Code:
  /* start has to be a prime */
  /*
    Function: int mpz_probab_prime_p (const mpz_t n, int reps)

      Determine whether n is prime. Return 2 if n is definitely prime,
      return 1 if n is probably prime (without being certain), or
      return 0 if n is definitely non-prime.

      This function performs some trial divisions, then reps
      Miller-Rabin probabilistic primality tests. A higher reps value
      will reduce the chances of a non-prime being identified as “probably prime”.
      A composite number will be identified as a prime with a probability of less
      than 4^(-reps). Reasonable values of reps are between 15 and 50.
  */
  if (!mpz_probab_prime_p(mpz_start, 25)) {
   
    mpz_clear(mpz_start);
    return false;
  }

  mpz_init(mpz_end);
  /*
    Function: void mpz_nextprime (mpz_t rop, const mpz_t op)

      Set rop to the next prime greater than op.

      This function uses a probabilistic algorithm to identify primes.
      For practical purposes it’s adequate, the chance of a composite
      passing will be extremely small.
  */
  mpz_nextprime(mpz_end, mpz_start);

  return true;

(In case anyone other than me is interested.)

Cheers

Graham
legendary
Activity: 1932
Merit: 4602
legendary
Activity: 2254
Merit: 1290
Hi, i'd like to test this please.
How does one go about it?
Choose a gapcoin address-privkey pair from the list, fire up a gapcoin client, wait for it to fully sync, open the client debug window, select the "console" tab and enter:

Code:
importprivkey "an_informative_label_for_the_address" true

 You'll need to wait for quite some time while the client rescans the blockchain. When it's finished, you should have whatever balance is shown by the chainz explorer for the chosen gapcoin address. Now send those coins to another address in your wallet before someone else imports that privkey and sends the coins to an address they control.

It's a literal example of a "free for all", aka "airdrop".

Cheers

Graham
sr. member
Activity: 1249
Merit: 297
Finders keepers, lossers weepers ...

- https://chainz.cryptoid.info/gap/

This post will self-destruct on 1st Jan. 2020 or soon after the coins are moved to new gapcoin addresses.

Wink

Hi, i'd like to test this please.
How does one go about it?

Thanks
J
legendary
Activity: 2254
Merit: 1290
Awesome, I didnt look at it from all those perspectives. Great advice - I really appreciate it. I'll do some more research next week and start tinkering. This weekend is packed.
The 5-yr old noncepool fork may not be the best choice - the repos owner notes: "This fork is still in development. Many features may be broken."

In principle, the gapcoin-hash-python library will probably work with a modern version of stratum. Collectively, we might be better served by taking ahmedbodi's more recently-maintained fork and applying the  noncepool submitblock change. If that proves beyond our reach, ahmed's professional expertise is available for hire.

Cheers

Graham
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Finders keepers, lossers weepers ...

- https://chainz.cryptoid.info/gap/

"dumpprivkey GMbnkPxkdVBkHwUUMHYE5mA8qC61mAmVbV"  importprivkey FT2ecLe8xzcHMbRimdiComW8M5EpZyXqjVdPLvMp1RNaLwZxBRUR  
"dumpprivkey GfgngegXEWQX4y4HdQTPEyUUsQVnij21we"  importprivkey FQTEXQrPqS9GPL3L9GYNCDAxo5urh3VkgQjp8r9onCY9DCaucq5T  
"dumpprivkey GWFU1u1VbUjhKCdo6rt6XgRVcCfQ7ExeZ7"  importprivkey FVAEXMzcKVysGnLuY8k4zkLCkkpK4fUppXxQAq6Hs98C5Eca7sW7  
"dumpprivkey GNPVCrtsz7vfciRFw4qJNu9S3dVZG8BvUB"  importprivkey FMWQfJtwrPTMn8uSxe1QDudRdYXXbSpDujDETPd7ZJgwArGwtngy  
"dumpprivkey GYc5YzvS3epymL8P9y1Hqe1JCdGPVk9AeN"  importprivkey FNY4yHiLjxA9FSNzqfzz2bsjzZxkH89no8DmVmgrtYH8gLcoiB4h  
"dumpprivkey GZ2hrC9S2nSTUbeEuYzVsgKX2xsFbiBRDA"  importprivkey FSdF33tCP4Du8SbbDgyxpNcLgSGHKE21NvVyB7jSxhfktdAnyiT7  
"dumpprivkey GPJzBpNL5hJXW4hoJ95pntFsoy3ficAPUM"  importprivkey FNpD4DLsPz46akmqPbaajHozonqbRRR9jsunPrs4dumUwzATCMoA  
"dumpprivkey GaWfAzwgWay23AX4kKVHAGgaDsyfKj6nM6"  importprivkey FTxpjyDeVFjsVWj27zerkx7yUs1o23djZaX5JVSG2HZrvjvyrbGD  
"dumpprivkey GX9dSNXwJTxBjRBqTdieki5uDLN3VRPMET"  importprivkey FUstBFwMg3raDvXuwrevrkUGP8cyKQ4ur6NTW539uYTmFbE567ih  
"dumpprivkey GRPGPZ8sR5vWc5FB3o4Uusx5X4R8RUDWb1"  importprivkey FS3wBQUdfoShRPA3drJqWproq1cfoTTBMbv7HGgRT5gyT76NLvyL  

This post will self-destruct on 1st Jan. 2020 or soon after the coins are moved to new gapcoin addresses.

Wink
member
Activity: 164
Merit: 13
Awesome, I didnt look at it from all those perspectives. Great advice - I really appreciate it. I'll do some more research next week and start tinkering. This weekend is packed.
legendary
Activity: 2254
Merit: 1290
Why would it have to be a cloud server and not a locally hosted server?
Usually because a cloud hosted machine is closer to the backbone and isn't hampered by the bidirectional asymmetry of a home connection so latency is low and connectivity high. Otherwise, the mining process will be slowed by the latency to a degree where it's edged out by blocks submitted by other solo/pool miners with faster connections. Ofc, if you're sufficiently well-resourced to have a fibre optic high-speed symmetrical connection at home that will improve matters. No reason you can't start with a home setup and once it's working, migrate it to a cloud-hosted server later.

Cheers

Graham
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Why would it have to be a cloud server and not a locally hosted server? Just curious...I would prefer to host locally perhaps with a cloud backup if needed...Keep in mind I know little about setting up pools so if I sound stupid...its from lack of knowledge on the subject matter.

I wouldn't, necessarily.

However, for security and stability you are likely to fair much better using hosting, as most industry mining pools currently do.

Think about some DDoS protection, the responsibility of correctly distributing the mined blocks, uptime i.e. running 24/7 etc.,

I'm not saying you can't run a mining pool on a correctly port forwarded and secured 'home' LAN network, your more than welcome to, although also consider future competition and where users of a pool might choose to prefer to mine etc.,
member
Activity: 164
Merit: 13
Why would it have to be a cloud server and not a locally hosted server? Just curious...I would prefer to host locally perhaps with a cloud backup if needed...Keep in mind I know little about setting up pools so if I sound stupid...its from lack of knowledge on the subject matter.
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
I'm willing to TRY to make a mining pool. I have an older desktop - an older workstation - that I originally had pfsense on but never ran it on my network here at home.
You could try resurrecting noncepool's old gapcoin-stratum pool, coupled with the corresponding Python implementation of gapcoin-hash.

Cheers,

Graham
 

Thank you two for the input. I'll tinker around and see what I can do. I have never tried, but I'm sure I can do it - maybe with some help and a few adult beverages...I have a good ISP as far as speeds and a spare desktop, along with a passion of learning....so why not?

Great initiative!

Remember that for a production pool you will need to upgrade to a future Gapcoin release, on a LTS Linux version and ideally being hosted on a reliable cloud server ...

The basic linux daemon guide can now almost be considered completely outdated: https://gapcoin.club/linux-gapcoind-setup.php

Gapcoin development and software releases may start to become quite regular from now on.

Never have any doubts to ask for help with anything in this topic.

Bit by bit, Gap by gap - together we can make good progress and the history books !
member
Activity: 164
Merit: 13
I'm willing to TRY to make a mining pool. I have an older desktop - an older workstation - that I originally had pfsense on but never ran it on my network here at home.
You could try resurrecting noncepool's old gapcoin-stratum pool, coupled with the corresponding Python implementation of gapcoin-hash.

Cheers,

Graham
 

Thank you two for the input. I'll tinker around and see what I can do. I have never tried, but I'm sure I can do it - maybe with some help and a few adult beverages...I have a good ISP as far as speeds and a spare desktop, along with a passion of learning....so why not?
legendary
Activity: 2254
Merit: 1290
I'm willing to TRY to make a mining pool. I have an older desktop - an older workstation - that I originally had pfsense on but never ran it on my network here at home.
You could try resurrecting noncepool's old gapcoin-stratum pool, coupled with the corresponding Python implementation of gapcoin-hash.

Cheers,

Graham
 
sr. member
Activity: 1414
Merit: 254
From the aspect of a mining pool... I could use some advice perhaps..

I'm willing to TRY to make a mining pool. I have an older desktop - an older workstation - that I originally had pfsense on but never ran it on my network here at home.

Like I said, I'm willing to try if I can dedicate that desktop for a gapcoin mining pool...
You have a good goal by being willing to try it, multiplying the mining pool is a big support for a coin. I hope you'll find your solution, so that you can immediately do your wishes and make the older thing you have will useful again.
member
Activity: 164
Merit: 13
From the aspect of a mining pool... I could use some advice perhaps..

I'm willing to TRY to make a mining pool. I have an older desktop - an older workstation - that I originally had pfsense on but never ran it on my network here at home.

Like I said, I'm willing to try if I can dedicate that desktop for a gapcoin mining pool...
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
member
Activity: 164
Merit: 13
Thank you for sharing the links, gives me something to do while I work today!
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
This one is most certainly a fine piece of crypto art ...

Shame about the price tag though.

paint_canvas != prime_gaps

Trawling around, I found this - https://superrare.co/Hack6c/creations which is closer in that it's prime-originated:

...snip...

Parent post: The Primenuum

TIL I can enjoy some Prime Gap music while I browse the art.

Cheers

Graham


Great finds indeed!

Unexpected Beauty in Primes
The Visualization of Primes & Its Potential Significance

- https://medium.com/cantors-paradise/unexpected-beauty-in-primes-b347fe0511b2

Prime gaps mapped to sounds
- https://youtu.be/Y-AB_IQfLMQ

Smiley

The prime number theorem | Journey into cryptography | Computer Science | Khan Academy
- https://youtu.be/7jzCJJIc59E

...

Prime Gaps video reference links:

Love Prime Numbers - Numberphile
- https://youtu.be/muVcPi7oWWY

Large Gaps between Primes - Numberphile  <<<<<
- https://youtu.be/BH1GMGDYndo
"... bigger than # atoms in universe ..." i.e. gapcoin can't get 'stuck'.

Gaps between Primes - Numberphile
- https://youtu.be/vkMXdShDdtY

Gaps between Primes (extra footage) - Numberphile
- https://youtu.be/D4_sNKoO-RA

Twin Prime Conjecture - Numberphile
- https://youtu.be/QKHKD8bRAro

Gaps between primes – James Maynard – ICM2018
- https://youtu.be/KbWcd34QHI8

Small Gaps Between Primes - James Maynard
- https://youtu.be/E-W47F9upkU

Terry Tao, Ph.D. Small and Large Gaps Between the Primes
- https://youtu.be/pp06oGD4m00

Yitang Zhang | Bounded gaps between primes | 2014
- https://youtu.be/Z5zvhqyO7IM

Terence Tao - 1/3 Bounded gaps between primes Download
- https://youtu.be/HUiSkxCGhCk

Terence Tao - 2/3 Bounded gaps between primes
- https://youtu.be/tEkEeuv3rQ0

Terence Tao - 3/3 Bounded gaps between primes
- https://youtu.be/_nfSEWmS0nQ
Pages:
Jump to: