Pages:
Author

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

legendary
Activity: 2254
Merit: 1290
This is Joseph Van Name. I have a Ph.D. in mathematics, and I have been the only consistent researcher of Laver tables for the past few years.
And you choose to make a challenging post to an online SIG - you seem to be spoiling for an intellectual dust-up - or at least a fine bonfire of straw men Smiley

Quote
Gapcoin, Riecoin, and Primecoin are all cryptocurrencies with useful mining algorithms. But are these mining algorithms really that useful and are these mining algorithms really that efficient at producing scientific research?
Openly and clearly not --- because the application's primary purpose is, and always has been, to act as a cryptocurrency.

Quote
You do not see professional mathematicians writing programs to compute the next prime number.
You seem to be unaware of the work of the mersenne forum. OTOH, perhaps you're not unaware of them but your research has ruled them out as they universally fail to pass your undefined (and ill-conceived) criterion of "professional mathematician".

Quote
Therefore, mining algorithms have quite severe limitations to how they can be set up to solve important computational problems. Therefore a prime-based mining algorithm will therefore have an extremely narrow scope of research advancement.
In which, despite the liberal use of "therefore", the characterisations "quite severe", "important" and "extremely narrow" are baldly presented as unsupported opinion or even casual conjecture. As ever, you need to show your workings-out.

Quote
Have any mathematicians used the results of cryptocurrency mining to prove things or further research prime numbers in any way?
You seem to misunderstand Gapcoin's approach - the proof-of-work is based on searching for prime gaps of superior merit and Gapcoin currently holds the world record for the best merit, as published by the late Dr Tom Nicely of Lynchburg U a "professional mathematician" who in his time curated the list of first occurrence prime gaps, the list now maintained by a community of interested mathematicians (I cannot vouch for their professional status, alas) https://primegap-list-project.github.io/
 
Quote
Do the results of mining give any insight into number theory?
For Gapcoin, yes - it holds the world record (https://en.wikipedia.org/wiki/Prime_gaps). For further information, see the Prime Gap Search Group section of the Mersenne Forum.

Quote
These prime based mining algorithms are also a bit inefficient.
Well obviously. It's a nuanced use of a proof-of-work calculation that is less wasteful that pure hashing. It's never pretended to be anything else.

Quote
Suppose that one has determined whether a number x is prime or not.  ...  the mining algorithm does not reward anyone for testing whether it is a part of a Cunningham chain.
Not relevant to Gapcoin's prime gap PoW.

Quote
So naturally, I would want to make a cryptocurrency with a Laver table based mining algorithm, but I decided not to pursue that area of research because I know that
Let me add another, courtesy of your good self:
Quote
These mining algorithms have some mathematical use ... but their use is quite limited.

So, what was your purpose in posting this here?

Cheers

Graham
member
Activity: 691
Merit: 51
This is Joseph Van Name. I have a Ph.D. in mathematics, and I have been the only consistent researcher of Laver tables for the past few years. Gapcoin, Riecoin, and Primecoin are all cryptocurrencies with useful mining algorithms. But are these mining algorithms really that useful and are these mining algorithms really that efficient at producing scientific research?

These mining algorithms have some mathematical use, and computing prime number records is important, but their use is quite limited. You do not see professional mathematicians writing programs to compute the next prime number (edit: very often). Mathematics is a quite diverse discipline and most mathematicians are busy working on other things than prime numbers, and even fewer mathematicians are working on finding patterns in the set of all prime numbers. Furthermore, a cryptocurrency mining algorithm should only have one computational problem as its proof of work (for security, unless we have some advances in computer science). Therefore, mining algorithms have quite severe limitations to how they can be set up to solve important computational problems. Therefore a prime-based mining algorithm will therefore
have an extremely narrow scope of research advancement.

Have any mathematicians used the results of cryptocurrency mining to prove things or further research prime numbers in any way? Do the results of mining give any insight into number theory? Do the results of this computation have any practical applications? Did any professional mathematicians request for these sorts of cryptocurrencies to be created in order to enhance their research? Did mathematicians spend a significant amount of computational power computing these prime patterns before mining algorithms came along?
No answers suggest that such mining algorithms are not very useful while yes answers suggest that the mining algorithms are useful. And the answers for these prime-based mining algorithms are yes and no, so these mining algorithms have use in mathematical research but their use is limited.

These prime based mining algorithms are also a bit inefficient. Suppose that one has determined whether a number x is prime or not. Then the mining algorithm could be set up to determine whether x is a part of a prime constellation, but what if x is also a part of a long Cunningham chain? In that case, the computation of whether the number x is prime or not goes to waste since the mining algorithm does not reward anyone for testing whether it is a part of a Cunningham chain. This is not an insurmountable problem since one simply needs to make a mining algorithm that rewards entities for solving one out of several computational problems (and in this case one does not even have to have multiple difficulty levels for each of these individual problems).


So, the Laver tables arose from the very largest of large cardinals (large cardinals are exceedingly large levels of infinity) known as rank-into-rank cardinals (and also n-huge* cardinals). These large cardinals therefore since they are so far away cannot have any relevance to things we consider normal mathematics and they cannot have any practical applications. Except that Laver tables arise from these large cardinals and Laver tables are some of the most computationally intensive objects in mathematics.


So naturally, I would want to make a cryptocurrency with a Laver table based mining algorithm, but I decided not to pursue that area of research because I know that

1. not very many mathematicians are interested in Laver tables (there are no full time active researchers in this area),

2. the general public is not interested in Laver tables either, and

3. Laver tables may have some application to cryptography, but these cryptosystems have not been fully fleshed out yet, so this is only a potential application, so it is not worth spending potentially billions of dollars on a problem that may not have any practical applications.

When designing mining algorithms, one has to therefore be quite critical about the importance of the underlying computational problem.

The conclusion is that these prime-based cryptocurrency mining algorithms are useful for advancing mathematics and understanding cryptocurrencies when the market capitalizations are in the millions of dollars or a hundred thousand dollars, but they are not so useful when the market capitalizations are in the billions of dollars. It would be better if the underlying problem were still very useful when the market capitalization were in the billions and the mining reward were high.
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
FWIW:

Alpha release of an implementation of the 0.16.3 reference client for the Gapcoin network: https://github.com/gjhiggins/gapcoin-core/releases/tag/v0.1rc-alpha, testnet-only while we test the robustness and reliability of the implementation. Linux, Windows64 and OSX binaries available. Client can be built from cloned github repos - https://github.com/gjhiggins/gapcoin-core.

Copy the provided gapcoin.conf into the data directory. (In order to have the mining page slider bar show the maximum threads available for your machine, comment out the genproclimit line or set a higher limit as desired).

For Windows users, if you want to use a separate data directory for the 0.16.3 client such as C:\Users\\AppData\Roaming\GapcoinCore then click on "Properties" of a shortcut to the 0.16.3 client gapcoin-qt.exe and add -datadir=C:\Users\\AppData\Roaming\GapcoinCore at the end, e.g. C:\Program Files (x86)\Gapcoin\gapcoin-qt.exe -datadir=C:\Users\\AppData\Roaming\GapcoinCore.

Please be advised - if not configured with -testnet on the command line or testnet=1 in the config file, the 0.16.3 reference client will connect to the current mainnet and will act as a processing node but the more advanced/complex transactions created by the 0.16.3 client will not be recognized/process/broadcast by the current population on 0.9.4 clients and the originating 0.16.3 client will probably find itself on a singleton fork, necessitating zeroing of the data dir and subsequent resync (so don't try it).

Cheers

Graham

Early indications are that changing the txindex setting requires a clearout of the datadir and a resync.

Edit: I found that on Windows 10 at least, so when I created a testnet-specific shortcut, I needed to separate the arguments and surround them in double quotes (I'm using a Vagrant box VM, so I am user "Vagrant") and the entire content of the "Shortcut" field was:

"C:\Program Files (x86)\Gapcoin\gapcoin-qt.exe" "-testnet" "-datadir=C:\Users\Vagrant\AppData\Roaming\Gapcoin"


gapcoin.club IMPORTANT advisory notification;

Gapcoin users are reminded that the current (officially compatible) release of Gapcoin is v0.9.2 (for windows) and v.0.9.2-4 (for linux).

It is NOT currently advisable for v0.9.x mainnet users to upgrade their Gapcoin wallets.

The current 0.16.3-rc-alpha (testnet release candidate software) may not have full backwards compatibility with v0.9.x series wallets!

An interim release might be required for users to more smoothly transition from v0.9.x wallets.

Always backup your latest wallet.dat and your private keys.

...

Please check back for future update notifications from gapcoin.club
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
I definitely want to start mining some. So I can simply just do it from the Gapcoin wallet? Is it then joined into a pool or per user CPU power?

Mining in the Gapcoin wallet is currently CPU solo mining only.

At the current network difficulty you should find a block within 24 to 48 hours of mining approximately, with an average PC ...

- https://gapcoin.club/windows-gui-setup.php

Pool mining can be done as per my guide in the link that @holderwhale999 presented in the above post.

It is also possible to do GPU solo mining.

Welcome! Good luck and Mind the Gap!

...

STOP MINING GAPCOIN.

STOP SEARCHING FOR PRIME GAPS OF LARGEST KNOWN MERIT.

STOP DOING MATH.

...



h/t - https://twitter.com/rabcyr_alt/status/1328145726354976771

...

P.S. Trying some reverse psychology here.  Grin

I know, I have a very strange sense of humor ...
copper member
Activity: 40
Merit: 0
I definitely want to start mining some. So I can simply just do it from the Gapcoin wallet? Is it then joined into a pool or per user CPU power?

https://bitcointalksearch.org/topic/m.54566909
newbie
Activity: 5
Merit: 0
I definitely want to start mining some. So I can simply just do it from the Gapcoin wallet? Is it then joined into a pool or per user CPU power?
copper member
Activity: 40
Merit: 0
Is anyone using older model amd GPU's to effectively mine this thing?

i'm using RX480 4Gb)
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Is anyone using older model amd GPU's to effectively mine this thing?

I have mined Gapcoin with GPU's successfully in the past.

Realize that the current GPU miner has not been tested and/or upgraded for newer GPU's and the prime sieve still utilizes CPU.

GPU mining has not yet been necessitated through competition against the network difficulty. Most users are still mining with CPU's.

As the network difficulty increases, Gapcoin will fine new Prime Gaps of highest merit.

New development of GPU mining software and pooled mining will also enable Prime Gaps to be found in higher shifts.

Gapcoin has never reached a higher network difficulty of 50. When we do, perhaps more people in crypto and mathematics will pay attention!

N+1
newbie
Activity: 4
Merit: 0
Is anyone using older model amd GPU's to effectively mine this thing?
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
...snip...

but thats not much worth. i even cant remember what i eat yesterday.


Unnamed . Exchange - https://unnamed.exchange - here we come !?

cross your fingers and toes.
iam actual syncing  novacoin,aurora,mintcoin,orbit,uno,sia,vcash,deeponion,crown, and yeah gapcoin ^^



"Pi·z·z·a Pi, tell them it was Pi·z·z·a Pi!"

- https://gapcoin.club

Smiley

- https://youtu.be/tNjoo9TuCHY?t=551

Cheesy
legendary
Activity: 2282
Merit: 1051
unnamed.Exchange, join the Cool Kids!!!
i am sorry for my young padawan  Grin
you have some snapshot as download available ?
No worries!

funny story,
i was digging for the snapshot and some ip`s ,  when i see  your quick conversation ^^
but to be honest, i cant remind  that there was an listing request.
but thats not much worth.  i even cant remember what i eat yesterday.


Unnamed . Exchange - https://unnamed.exchange - here we come !?

cross your fingers and toes.
iam actual syncing  novacoin,aurora,mintcoin,orbit,uno,sia,vcash,deeponion,crown, and yeah gapcoin ^^


edit. ty
edit² lol  minkiz  long ago that i visit that page

https://youtu.be/v9vm9mwagyk
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
i am sorry for my young padawan  Grin
you have some snapshot as download available ?

No worries!

Data directory snapshot method ...

- https://minkiz.co/noodlings/gap/gapchain-snapshot.zip (642MB)
Source: https://bitcointalksearch.org/topic/m.55436839

or

Zipped blocks, chainstate and gapcoin.conf ... (592MB) - Blockheight 1323650 today 18th November 2020 ...
- https://gapcoin.network/downloads/Gapcoin_blockchain.zip

...

Unnamed . Exchange - https://unnamed.exchange - here we come !?

...

- https://youtu.be/gjm-kCOMaPY
legendary
Activity: 2254
Merit: 1290
i am sorry for my young padawan  Grin
you have some snapshot as download available ?

Not as a matter of course atm, tends to be on request. Here's the latest, as of a couple of minutes ago: https://minkiz.co/noodlings/gap/gapchain-snapshot.zip.

Cheers

Graham.

Edit: Well, I don't know how I managed to get the zip file up to 4.2Gb but after reading BitcoinFX’ post below, I remilled it and apparently fixed whatever I'd done - the zip file is down to a more tolerable 642Mb.
legendary
Activity: 2282
Merit: 1051
unnamed.Exchange, join the Cool Kids!!!
i am sorry for my young padawan  Grin
you have some snapshot as download available ?
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
...snip...

Edit.

SouthXchange has a voting system for adding new coins here ...
- https://main.southxchange.com/Home/Vote#new-coins

However, the add coin listing requires a google form with a login ...
If someone from the community would like to add Gapcoin for voting ... ?
- hxxps://docs.google.com/forms/d/11IStGmLIVVFWQrqEwkRbHcGK0PlYFIdssvxcPChzf_s/


I filled out the form and now we are on the list.
I had some coins and voted.

Thanks @cryptomaxsun !

FWIW I will highlight the voting for SouthXchange with a link on gapcoin.club  Smiley

...

It should be noted that CoinGecko only tracks FreiExchange;

- https://www.coingecko.com/en/coins/gapcoin#markets

Whilst CoinPaprika tracks both FreiExchange and FreeBitcoins Exchange;

- https://coinpaprika.com/coin/gap-gapcoin/#!exchanges

Thus, we have experienced some disparity in price action on the widgets for sometime now.

A submission to track new trades at C-Patex was made last week to both CoinGecko and CoinPaprika, although they are a little slow to act on this request - I assume things will pick up when the market has some volume (hopefully!).

CoinMarketCap refusing to re-link Gapcoin's listing until we have a daily exchange volume of over $1000 is also not helping our price action.

We will get there.  Wink
member
Activity: 164
Merit: 13
Valid point. I guess from my standpoint....I have several older GPU's that i would love to throw hashing at gapcoin...

They are faster than my old cpus...hence my thoughts on a GPU miner..

My gpus get right at 1 million pps each if i dont try to run multiple instances...where my cpus get 200-550 pps..

Granted if I had newer hardware I might revisit my theories...



Awesome steps forward

Any idea on someone who could help with the GPU miner?
Unfortunately, the task is unlikely to hold intrinsic interest for anyone with the necessary skill set and I doubt the remaining community has the resources to fund a jobbing programmer.

In my implementation of the upgrade of the Gapcoin reference client from 0.9 to 0.16, I've had the inestimable benefit of receiving technical advice and guidance from James (aka barrystyle). He has observed that the GapMiner code which interfaces with the node's RPC-API commands is quite antiquated and ideally should be swapped out for a modern version. Indeed, I had to re-implement the code providing the RPC-API getwork call used by the Gapcoin miner, functionality which had been removed from the Bitcoin codebase back in v0.10 (https://github.com/bitcoin/bitcoin/blob/047a89831760ff124740fe9f58411d57ee087078/doc/release-notes.md#0100-change-log). These days getblocktemplate is where it's at.

Also the degree of GPU/CPU advantage is rather unclear. ATM, my server reports 28 active nodes, the hashrate is around 32MHps and 2 threads on my i7 CPU laptop yield around 300KHps. I can only invite you to do your own arithmetic guesswork as to what proportion of the network hashrate derives from GPU processing and what kind of hashpersec advantage GPU brings over CPU. Unless someone would care to provide actual data?

Cheers

Graham

legendary
Activity: 2254
Merit: 1290
gjhiggins , Thanks, downloaded, launched. Everything is OK
That's good to know.

only in mining you cannot change the number of threads with the slider, but these are trifles.

I know the slider bar is ineffective in the 0.9.4 Windows64 binary that I made available just today but the images you provide show you're using the 0.16.3 reference client and (now that I've configured my Windows VM with more than one core), I can't reproduce that issue, the slider bar seems to work as expected, I used it to dial the number of threads down to 2 from 4:





You can tell more about the function Notary ?
The Notary tab only appears in the experimental 0.9.4 reference client. In the 0.16.3 reference client, that functionality has been integrated into the Sendcoins entry GUI object (so that it is available each time the "Add Recipient" button is clicked) and is a little less opaque



The field can be used either to carry a SHA256sum hash of a file stored locally to the client or a user-pasted TrustyURI.

For hashing a file: clicking the "Notarize File" button brings up a system File Navigation dialog box which you can use to select which file you wish to notarize (inscribe the hash of the file on the blockchain by including the hash as OP_RETURN data in a transaction). Selecting a file causes a SHA256sum hash to be computed and loaded into the "inscription" field.

For inscribing a TrustyURI: simply paste the TrustyURI into the inscription field.

In both cases, continue to complete the transaction as normal.

The content of an inscription can be inspected by using the in-wallet block explorer - navigate to the transaction that contains the inscription and view the outputs.

I have just inscribed the hash of the 0.9.4 Windows setup.exe file I made available earlier - (55555d7a6fd87809d06b54bba1c18c975fe5076a402face71d3539c62e591311). The hash in inscribed on block 12315, in transaction id bfebdba304c893f2cd4f06c5b2f0214b0062841445430375a28780ba3484a365.



With respect to TrustyURIs, they address the issue evident in the above example: the hash 55555d7a6fd87809d06b54bba1c18c975fe5076a402face71d3539c62e591311 carries no information about the resource that was hashed. By design, TrustyURIs contain a URI that locates an RDF graph and includes a hash of that graph that can be separately validated. I'll explain in more detail another time but for now, here's a couple of references for interest: http://arxiv.org/abs/1401.5775 and https://github.com/trustyuri/trustyuri-spec

And more about the testnet, I downloaded it and launched it, everything is fine, mining is good, I found a lot of blocks. How long will the testnet run?
My view is that a sound altcoin should have a permanent testnet running to support the self-education of cryptocurrency users in matters such as understanding the ins and outs of segwit, multisig, pay to script hash transactions and the like. The Peercoin community even fund a chainz block explorer for Peercoin testnet as well as mainnet.

And what is required from ordinary users? How can they help? I keep my testnet wallet running all the time, but stopped mining.
That's quite okay, if you've tried it out and it works for you and that's all you want to do, no problem. I have a Hetzner-hosted server that dedicates one thread to keeping the testnet chain moving. Feel free to drop in/out whenever you've a need to use the testnet.

Cheers

Graham

legendary
Activity: 2254
Merit: 1290
Currently, the 0.16.3 reference client has certain key features temporarily disabled ... ii) Segwit (the Bitcoin transaction privacy enhancement)

In respect of the 0.16.3 reference client, subscribers to this thread might care to familarise themselves with the extended key and transaction concepts inherited from Bitcoin. To this effect I have cloned Ian Coleman's BIP39 in-browser BIP39 HD key management app: https://github.com/gapcoin-project/bip39 and added the appropriate extended key configuration to enable the app to work with/generate Gapcoin extended keys.

Basic instructions: clone the respository (git clone https://github.com/gapcoin-project/bip39.git and, in the browser, open src/index.html, click the "Generate" button, choose "Gapcoin", "Gapcoin Testnet" or "Gapcoin Regtest" from the drop-down menu and use the app from there on.





The idea is that you can familiarise yourself with new key/tx types, using the "Derivation Path"  tabs to explore the new extended key features:





- BIP44 refers to the accepted common standard to derive non segwit addresses. These addresses always begin with a G.

- BIP49 refers to the accepted common standard of deriving segwit "compatibility" addresses. These addresses begin with a 3.

- BIP84 refers to the accepted common standard of deriving native segwit addresses. These addresses always begin with gp1 - and are referred to bech32 addresses.

- BIP141 refers to segwit-enabled txs such as P2WPKH (see https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki for more details)

I was initially puzzled as to why, when I imported a privkey, three new addys appeared in the "Receiving addresses" list, eventually I understood why and to help other users make sense of the new wallet and its complexities, I added a new RPC-API call makekeypair (generate a fresh ECC keypair) which explicitly illustrates why one privkey -> three addys:



("Privkey" is the usual cryptocurrency sense, i.e what you'd import to the wallet but "public key" and "private key" are the cryptography keypairs generated by the underpinning elliptic curve code - you wouldn't use the private key at all but on occasion it's appropriate that the public key can be broadcast, e.g. to enable others to verify messages signed by you.)

Please note, the 0.16.3 reference client generates its own HD extended master key but doesn't give you a mnemonic code but you can use the RPC-API command dumpwallet to dump the wallet in a human-readable format which you can inspect for the line: # extended private masterkey: gpxv and which (after reloading the page and ensuring "Gapcoin" is selected) you can copy and paste the private masterkey into the "BIP32 Root Key" field and use the app thereafter (again, it doesn't generate a mnemonic after you've pasted the Root key, it seems to be the case that the mnemonic is used to generate an extended key and that a reverse mapping from key to mnemonic isn't available). This approach has the benefit that you are working with the extant wallet HD master key and all the generated keys will be actual children of the wallet master key.

Cheers

Graham
Pages:
Jump to: