Pages:
Author

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

legendary
Activity: 3052
Merit: 1534
www.ixcoin.net


Are the devs MIA for a long time here or are they on the clock?

 ~ Septoshi
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Mod note: consecutive posts merged. hr inserted between posts for clarity

does anyone know what the maximum supply of GAPCoins is?    And if I get this data through the wallet console?

"Specifications:
PoW: custom, prime gaps
Block target time 2.5 minutes
Block reward proportional to the current difficulty
Block reward halving every 420000 (about 2 years)
Cap: about 10 - 30 million GAP
Difficulty adjusts every block and increases logarithmically (it will probably take years to get to 50)"


Source code (Original) Line 1184:
- https://github.com/gapcoin/gapcoin/blob/9a2991f83c60a996e351ef73f02b281ee4ee14d0/src/main.cpp#L1184

Excerpt:

Code:
int64_t GetBlockValue(int nHeight, int64_t nFees, uint64_t nDifficulty)
{
    /* nSubsidy = ((nDifficulty / 2^27) * 10^8) / 2^21 */
    int64_t nSubsidy = ((nDifficulty >> COINBASE2) * COIN) >> (DIFFBASE2 - COINBASE2);
    int halvings = nHeight / Params().SubsidyHalvingInterval();

    // Force block reward to zero when right shift is undefined.
    if (halvings >= 64)
        return nFees;


    // first 1152 blocks with quadratically increasing subsidy
    if (nHeight < 1152) {
    
        int64_t nHeightPow = nHeight * nHeight;
        nSubsidy = (nSubsidy * nHeightPow) / (1152 * 1152);
    } else {
    
        // Subsidy is cut in half every 420,000 blocks which will occur approximately every 2 years.
        nSubsidy >>= halvings;
    }

    return nSubsidy + nFees;
}

...

Bitcoin comparison:
- https://github.com/bitcoin/bitcoin/blob/a0625b8085aa379ac5f7bdca6f2cbf3cbb4a5d0a/src/main.cpp#L1093
and
- https://github.com/bitcoin/bitcoin/blob/c7ad94428ab6f54661d7a5441e1fdd0ebf034903/src/amount.h


Tweets from the twittersphere ...

"Hey @CoinMarketCap

How about not holding a proven scientific cryptocurrency project to 'ransom' ...

- https://coinmarketcap.com/currencies/gapcoin/

You stopped tracking the Gapcoin (GAP) price on 8th Feb 2019, despite it still being listed on markets you do track!

- https://gapcoin.club

1/2"

- https://twitter.com/BitcoinFX_XBT/status/1359195500893925376

...

"Gapcoin (GAP) holds the Largest known Prime Gap merit of 41.938784

- https://en.wikipedia.org/wiki/Prime_gap#Numerical_Results

Gapcoin has a unique hashing algo and is CPU mineable, #Bitcoin based not 'Hybrid PoW & PoS or Scrypt'.

You are literally hindering true mathematical discovery.

@CoinMarketCap Face with raised eyebrow

2/2"

- https://twitter.com/BitcoinFX_XBT/status/1359197730787241986
legendary
Activity: 2254
Merit: 1290
does anyone know what the maximum supply of GAPCoins is?    And if I get this data through the wallet console?

Two places it’s reported: in the original ANN: Cap: about 10 - 30 million GAP and inferrable from the “Outstanding” tab of the chainz Gapcoin block explorer.

Cheers

Graham
newbie
Activity: 7
Merit: 0
does anyone know what the maximum supply of GAPCoins is?    And if I get this data through the wallet console?
staff
Activity: 3472
Merit: 4111
Crypto Swap Exchange

Interesting...
Just compiling and waiting....??
You are quoting a post from seven years ago. If you are really interested, look for information at https://gapcoin.club/
jr. member
Activity: 110
Merit: 2
legendary
Activity: 2254
Merit: 1290
when i read
"If you need to preserve wallet compatibility with distributed Gapcoin executables, then do a "depends" build",  i'm sat here thinking, i don't even know what that means, nevermind knowing if i should worry about it....
Although I provided instructions on how to perform a “depends” build, I failed to include a pointer to the documentation. The concept of a “depends build” is fully detailed in the Bitcoin docs: https://github.com/bitcoin/bitcoin/blob/master/depends/description.md and can be summarised as “a system of building and caching dependencies necessary for building Bitcoin”.

As regards “preserve wallet compatibility with distributed Gapcoin executables”, this basically means - if you have a wallet created by one of the distributed Gapcoin binaries, then it'll have been created by BerkeleyDB 4.8 (as an outcome of performing a “depends build”) and that file will contain a BerkeleyDB 4.8 database in loadable binary form.

(Aside: if you install the Ubuntu 20 package db5.3-util, you'll have access to a small clutch of db5_* routines, one of which is db5_stat, you can navigate to your datadir and run “db5_stat -f wallet.dat” and view the statistics for the database.)

The version difference can impact the user in a couple of ways.

1. The client automatically upgrades its wallet.dat to whatever version of libdb the client was linked against. So, if you use a binary linked against libdb5.3, the wallet.dat file will get upgraded to the 5.3 format. If you then use that wallet with a client linked against libdb4.8, the client may not be able to successfully load the upgraded-to-db5.3-wallet.

2. Distributed binaries use libdb4.8 by default, so a wallet.db created/upgraded by a self-compiled client linked against libdb5.3 may not be copyable across platforms.

Generally, if you exclusively use a modern Linux distro and have no need to copy wallets to clients running on Windows/OS X that have been linked against libdb4.8,  there's no other reason not to take advantage of the improvements in speed/reliability between libdb4.8 and libdb5.3. Just use the --with-incompatible-bdb option to configure and the client will be linked against the latest version of BerkeleyDB provided by your distro.

OTOH, if you do need to “preserve wallet compatibility with distributed Gapcoin executables”, then you will need to link your client against libdb4.8. This can be achieved in a couple of ways:

1. Use a "depends build" as detailed in the depends/README.md.

(It's worth bearing in mind that the latest Bitcoin docs are more up-to-date than the now-ageing Gapcoin 0.16.3 docs and more properly reflect changes in the ecosystem since Feb 2018 - for example, note the removal of the Ubuntu ppa reference from the latest Bitcoin docs vs the old 0.16 docs)

2. Use the install_db4.sh shell script to download and compile the BerkeleyDB 4.8 sources then configure their use in the compilation. (There is one from back in 2018 in the Gapcoin contrib folder but it's better to use the more recent version from the Bitcoin repos. I found I needed to add a line chown -R u+w * immediately after LoC#68)

If I need to build a Gapcoin client linked against libdb4.8, I just use the recommended default: ./install_db4.sh `pwd`. It creates a db4 directory in contrib which I can then use when running configure:
Code:
export BDB_PREFIX='/tmp/gapcoin-core/contrib/db4'
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --with-gui --disable-tests --disable-bench

This will give me a client linked against the latest boost, ssl and Qt libs etc whilst retaining compatibility with libdb4.8 wallet files, should I need it.

Cheers

Graham


legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Mod note: consecutive posts merged

Infinite monkey theorem ...
- https://en.wikipedia.org/wiki/Infinite_monkey_theorem

...

relevant papers ...
- https://github.com/gapcoin-project/gapcoin/tree/v0.9.4-gap/contrib/gapcoin

j0nn9-about-prime-gaps.md
- https://github.com/gapcoin-project/gapcoin/blob/v0.9.4-gap/contrib/gapcoin/j0nn9-about-prime-gaps.md

...

Times of Malta
Prime numbers and cryptography - 10 March 2018 | Alexander Farrugia
- https://timesofmalta.com/articles/view/Prime-numbers-and-cryptography.672957

Excerpt: "A prime gap is the difference between two successive prime numbers. For example, the numbers 317 and 331 are both prime, but no number in between is prime, so we have a prime gap of 14. By the Prime Number Theorem, the average prime gap between any two consecutive prime numbers among the first n whole numbers is the natural logarithm of n. The merit of a prime gap is thus defined as the prime gap divided by this average prime gap. For example, the merit of the prime gap between 317 and 331 is 2.43, which means that this prime gap is more than twice the average prime gap among those between 1 and 317. In December 2017, the GapCoin network discovered a prime gap of length 8350 following an 87-digit prime. This prime gap has merit 41.94, which means that it is almost 42 times as large as the average prime gap. This is the largest prime gap merit discovered to date."

...

Somehow I missed this article ... better late than never!

Grin

Hi Graham, i tried option 1
and got
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make

./pow.h:11:29: fatal error: PoWCore/src/PoW.h: No such file or directory
compilation terminated.

It really should not be this difficult to start with a clean drive, install LM or Ubuntu and get a fresh wallet running...

It isn't all that difficult --- with the correct instructions (sorry, my bad) --- as BitcoinFx notes, I omitted the git submodule section that includes the PoWCore code.
Code:
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
git submodule init
git submodule update
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make

Cheers

Graham


Interesting enough it would appear that the (backwards) incompatibility with building Berkeley db-4.8.30 on Ubuntu 20.04 and 20.10 as per ...

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

would be GCC 9 and replacing it (if only temporarily with g++-7 ) allows for Berkeley db-4.8.30 to be built on Ubuntu 20.04 and 20.10 .

Gapcoin Core v0.16.3 will therefore build without depends with Berkeley db-4.8.30 (not advisable!) ...

Code:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install g++-7 -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \
                         --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --config gcc

sudo apt-get upgrade libstdc++6

Revert to GCC 9 after compiling (optional) ...

Code:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9* 60 \
                         --slave /usr/bin/g++ g++ /usr/bin/g++-9*
sudo update-alternatives --config gcc


N.B. Gapcoin v0.9.3 or v0.9.4 will not build on Ubuntu 20.04 and 20.10 easily or without compiling older boost packages etc., (again, not advisable!)

...

Current advisory is to continue running Gapcoin v0.9.3 or v0.9.4 on Ubuntu 18.04 (where possible) whilst the repositories (guides and builds) are brought up to scratch and 'officially' released.

Onward.
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
It's going to be amazingly amazing ...

- https://en.wikipedia.org/wiki/Prime_gap#Numerical_Results

"38.047893    35308    404    100054841 × 953#/210 − 9670    2020    Seth Troisi"

Combined Sieve Algorithm for Prime Gaps
- http://arxiv.org/pdf/2012.03771v1
11/30/2020 ∙ by Seth Troisi, et al.
- https://deepai.org/publication/combined-sieve-algorithm-for-prime-gaps
Excerpts:
"A new Combined Sieve algorithm is presented with cost proportional to the number of enumerated factors over a series of intervals. This algorithm achieves a significant speedup, over a traditional sieve, when handling many ([10^4, 10^7]) intervals concurrently. The speedup comes from a space-time tradeoff and a novel solution to a modular equation. In real world tests, this new algorithm regularly runs 10,000x faster. This faster sieve paired with higher sieving limits eliminates more composites and accelerates the search for large prime gaps by 30-70 algorithm, two top-10 record merit prime gaps were discovered."

...

"[2] Graham Higgins. Prime gap list. GitHub repository. https://primegap-list-project.github.io/lists/top20-overall-merits/ , https://github.com/primegap-list-project/prime-gap-list. 2020 ."

...

"[6] Graham Higgins. Exhaustively analyzed gaps. GitHub repository. https://primegap-list-project.github.io/fully-analyzed/ . 2020"

Grin



- https://github.com/sethtroisi?tab=repositories ...

Combined Sieve - a new program to find prime gaps.
- https://github.com/sethtroisi/prime-gap

Recovery and curation of Dr. Thomas Ray Nicely’s list of first known occurrence prime gaps
- https://github.com/primegap-list-project/prime-gap-list

Prime Gap Verify
- https://github.com/sethtroisi/prime-gap-verify

Cool
legendary
Activity: 2254
Merit: 1290
Hi Graham, i tried option 1
and got
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make

./pow.h:11:29: fatal error: PoWCore/src/PoW.h: No such file or directory
compilation terminated.

It really should not be this difficult to start with a clean drive, install LM or Ubuntu and get a fresh wallet running...

It isn't all that difficult --- with the correct instructions (sorry, my bad) --- as BitcoinFx notes, I omitted the git submodule section that includes the PoWCore code.
Code:
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
git submodule init
git submodule update
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make

Cheers

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

It really should not be this difficult to start with a clean drive, install LM or Ubuntu and get a fresh wallet running...

It isn't that difficult to get the Gapcoin wallet compiled.

I personally have not yet tested Ubuntu 20.10 or 20.04 LTS

I know Gapcoin runs perfectly well on Ubuntu 18.04 LTS desktop and it will also be tested to run on the above.

...

Looks to me like you have not pulled and updated the submodule for the PoWCore ? See:

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

...

git submodule init

git submodule update

?



Untested Build Example; HERE BE DRAGONS !!!

(N.B.

rm -rv gapcoin

to delete the current directory and to start a fresh build!) ...


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

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

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


Qt 5 Install:

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


Berkeley DB ('default' OS version):

sudo apt-get install libdb-dev libdb++-dev


IMPORTANT: Always backup your wallet.dat and your private keys!

...snip...

Quote
Ubuntu and Debian have their own `libdb-dev` and `libdb++-dev` packages, but these will install
BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which
are based on BerkeleyDB 4.8. If you do not care about wallet compatibility,
pass `--with-incompatible-bdb` to configure.

If you need to preserve wallet compatibility with distributed Gapcoin executables, then do a "depends" build, ...snip...

Otherwise, if you're just building for yourself, use sudo apt install libdb-dev libdb++-dev and add --with-incompatible-bdb to the options to configure.

...snip...

See:
- https://github.com/bitcoin/bitcoin/issues/3686#issuecomment-74836708
- https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#ubuntu--debian

Code:
configure: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet functionality)

...

Gapcoin-QT, gapcoind and gapcoin-cli download and compile (example): for Ubuntu 20.10 or 20.04 LTS ... TESTNET only.


git clone --branch v0.9.3-gap https://github.com/gapcoin-project/gapcoin.git EDIT: No Depends Build for v0.9.2 - v0.9.4 series.

N.B. This is for Gapcoin Core v0.16.3 - TESTNET only - Work in progress ... v0.9.3 or v0.9.4 is the current release!

Again, HERE BE DRAGONS !!!

EDIT:

git clone https://github.com/gapcoin-project/gapcoin-core.git - Gapcoin Core 0.16.3 Work in progress last commit on Dec 10, 2020 !

Gapcoin Core 0.16.3 Work in progress last commit on Mar 14, 2021 ...

git clone https://github.com/gjhiggins/gapcoin-core

cd gapcoin-core

git submodule init

git submodule update


Depends Build:

cd depends

make NO_UPNP=1

cd ..

./autogen.sh

./configure --prefix=$PWD/depends/x86_64-pc-linux-gnu --with-gui=qt5 --without-miniupnpc --disable-tests

make

make install


Strip gapcoind and gapcoin-cli:

cd src

strip gapcoind

strip gapcoin-cli

strip gapcoin-tx


Strip gapcoin-qt:

cd qt

strip gapcoin-qt

cd


...

Running gapcoin-qt:

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

cd gapcoin-core/src/qt

./gapcoin-qt

...
sr. member
Activity: 1249
Merit: 297
I'm trying to make the linux wallet on Ubuntu 20.10

It fails
sudo add-apt-repository ppa:bitcoin/bitcoin
Repository: 'deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/ groovy main'
Description:
NOT MAINTAINED. The OS-library linking packages here had a series of issues.

Can anyone give me some simple instructions to follow?

Quote
Ubuntu and Debian have their own `libdb-dev` and `libdb++-dev` packages, but these will install
BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which
are based on BerkeleyDB 4.8. If you do not care about wallet compatibility,
pass `--with-incompatible-bdb` to configure.
There are two main ways to proceed.

If you need to preserve wallet compatibility with distributed Gapcoin executables, then do a "depends" build, following the instructions in depends/README.md, using HOST=x86_64-linux-gnu, i.e:
Code:
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make

Otherwise, if you're just building for yourself, use sudo apt install libdb-dev libdb++-dev and add --with-incompatible-bdb to the options to configure.

Cheers

Graham


Hi Graham, i tried option 1
and got
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make
Making all in src
make[1]: Entering directory '/home/jase1/Downloads/gapcoin-core/src'
make[2]: Entering directory '/home/jase1/Downloads/gapcoin-core/src'
  CXX      libbitcoinconsensus_la-arith_uint256.lo
  CXX      libbitcoinconsensus_la-hash.lo
  CXX      libbitcoinconsensus_la-pubkey.lo
  CXX      libbitcoinconsensus_la-uint256.lo
  CXX      libbitcoinconsensus_la-utilstrencodings.lo
  CXX      gapcoind-bitcoind.o
  CXX      libbitcoin_server_a-addrdb.o
make[3]: Entering directory '/home/jase1/Downloads/gapcoin-core/src/secp256k1'
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
  CXX      libbitcoin_server_a-addrman.o
  CXX      libbitcoin_server_a-bloom.o
  CXX      libbitcoin_server_a-blockencodings.o
  CXX      libbitcoin_server_a-chain.o
In file included from ./chain.h:12:0,
                 from chain.cpp:8:
./pow.h:11:29: fatal error: PoWCore/src/PoW.h: No such file or directory
compilation terminated.

TBH, i started @ 7.30am with LM20.1, (my fault), then rebuild hard drive with clean LM20.04 for a few attempts, finally started afresh with LM18.3, and now @14.50pm, still have no wallet, so i give in

I must stress, i completely appreciate the efforts yourself and many other programmers on here put in, but when i read
"If you need to preserve wallet compatibility with distributed Gapcoin executables, then do a "depends" build",  i'm sat here thinking, i don't even know what that means, nevermind knowing if i should worry about it....

It really should not be this difficult to start with a clean drive, install LM or Ubuntu and get a fresh wallet running...
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
This ^

Thanks Graham!

and for only gapcoind and gapcoin-cli (without QT/GUI and UPNP) ...

Example;

Code:
cd depends
make NO_QT=1 NO_UPNP=1
cd ..
./autogen.sh
./configure --without-gui --without-miniupnpc --disable-tests
make

--with-incompatible-bdb

etc.,
legendary
Activity: 2254
Merit: 1290
I'm trying to make the linux wallet on Ubuntu 20.10

It fails
sudo add-apt-repository ppa:bitcoin/bitcoin
Repository: 'deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/ groovy main'
Description:
NOT MAINTAINED. The OS-library linking packages here had a series of issues.

Can anyone give me some simple instructions to follow?

Quote
Ubuntu and Debian have their own `libdb-dev` and `libdb++-dev` packages, but these will install
BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which
are based on BerkeleyDB 4.8. If you do not care about wallet compatibility,
pass `--with-incompatible-bdb` to configure.
There are two main ways to proceed.

If you need to preserve wallet compatibility with distributed Gapcoin executables, then do a "depends" build, following the instructions in depends/README.md, using HOST=x86_64-linux-gnu, i.e:
Code:
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make

Otherwise, if you're just building for yourself, use sudo apt install libdb-dev libdb++-dev and add --with-incompatible-bdb to the options to configure.

Cheers

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

Remember that we are very much between historical Bitcoin builds in terms of Gapcoin releases at the moment.

Running Gapcoin and mining on Ubuntu 18.04 LTS would currently be my recommendation.

However, I will get around to testing / adding updated build instructions for Ubuntu 20.

Have you tried building the Berkley DB for yourself ?

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

Bear in mind that the current repos might need fixes for Ubuntu 20.10

sudo apt-get install libdb-dev
sudo apt-get install libdb++-dev

The above will install the current Berkley DB for your OS (a higher / incompatible version e.g. BerkeleyDB 5.1 or later), so be careful and ...

Always backup your wallet.dat and your private keys!
sr. member
Activity: 1249
Merit: 297
Hi,
I'm trying to make the linux wallet on Ubuntu 20.10

When i get to this bit

sudo apt-get install software-properties-common
    sudo add-apt-repository ppa:bitcoin/bitcoin
    sudo apt-get update
    sudo apt-get install libdb4.8-dev libdb4.8++-dev

It fails
sudo add-apt-repository ppa:bitcoin/bitcoin
Repository: 'deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/ groovy main'
Description:
NOT MAINTAINED. The OS-library linking packages here had a series of issues.

PLEASE DOWNLOAD DIRECTLY FROM bitcoincore.org (and verify the signatures of said files).

IF YOU WANT AUTO-UPDATES, please see the officially-maintained snap package -
https://github.com/bitcoin-core/packaging/tree/master/snap
More info: https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/bitcoin-ubuntu-bitcoin-groovy.list
Adding deb entry to /etc/apt/sources.list.d/bitcoin-ubuntu-bitcoin-groovy.list
Found existing deb-src entry in /etc/apt/sources.list.d/bitcoin-ubuntu-bitcoin-groovy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/bitcoin-ubuntu-bitcoin-groovy.list
Adding key to /etc/apt/trusted.gpg.d/bitcoin-ubuntu-bitcoin.gpg with fingerprint C70EF1F0305A1ADB9986DBD8D46F45428842CE5E
Ign:1 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy InRelease
Hit:2 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy Release
Hit:3 http://gb.archive.ubuntu.com/ubuntu groovy InRelease
Ign:4 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu groovy InRelease
Get:5 http://security.ubuntu.com/ubuntu groovy-security InRelease [110 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB]                             
Err:7 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu groovy Release                                               
  404  Not Found [IP: 91.189.95.85 80]
Get:9 http://gb.archive.ubuntu.com/ubuntu groovy-backports InRelease [101 kB]                                       
Reading package lists... Done     
E: The repository 'http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu groovy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(Cool manpage for repository creation and user configuration details.

Can anyone give me some simple instructions to follow?
Thanks
J
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
legendary
Activity: 2254
Merit: 1290
Thanks for the criticism and for the mathematical links.
And in return, thanks for your refreshingly mature response.

Quote
I consider Primecoin, Gapcoin, and Riecoin to be interesting and worthwhile projects that we can learn from ... My purpose in posting is not to discourage people from using these coins nor is it to be anything other than constructive. I currently want more people to mine Gapcoin.
Oh good, thanks for clarifying that.

Quote
I realize that these coins are in a sense better than just pure hashing, but I am also pointing that these coins may be improved by making the miners work on several prime related problems simultaneously (but this is risky since a complicated algorithm could have bugs that present a security weakness).
That's an interesting suggestion. Although bereft of the mathematical coherence of your particular suggestion, the approach of multi-algo PoW has been adopted by a number of altcoins (Myriadcoin is perhaps the most well-known and there are other less well-known examples such as Unitus) and it's possible that the engineering solutions to a multi-algo (and multi-difficulty) PoW approach might be adaptable to an approach that integrated the different prime search approaches of Gapcoin, Riecoin, Primecoin and their derivatives (e.g. Datacoin which uses Primecoin's PoW algo).

Your concerns about securing the public ledger are indeed valid - Jonnie Frey, original developer of Gapcoin articulated his concerns about the then-extant implementation of Primecoin ...
Quote
Gapcoin follows Riecoin’s way and uses enough Miller-Rabin tests with random bases to avoid composite numbers being accepted as Proof of Work, like Primecoin mistakenly could.
Not being an able, or even capable, mathematician, I'm not in a position to verify that his criticism of Primecoin is accurate, nor does Jonnie Frey provide any detail, so we're obliged to take that statement on trust. fwiw, Sunny King provided an accessible description of his approach in the still-available Primecoin white paper

In practice, the main issues seemed to revolve around pool mining as Jonnie Frey observed ...
Quote
In Primecoin, which is searching for long prime chains, you can easily modify your miner to search for smaller chains. In fact, it is mostly about a simple one-line-editing. As an example, just turn a 10 into a 7 in xolominer and you will get scads of 7-chains, but your chance to find a block has diminished.

To avoid this, pools supply better payment for shares with longer chain-lengths.

In Riecoin, it is even worse. Riecoin searches for prime tuples of length 6. Pools do accept tuples with less primes, but a 6-tuple only can occur in certain places. (Look at this post for a detailed explanation.) 4-tuples, by comparison, are more frequent. There are places, where a 4-tuple can occur, but no 6-tuple, which Riecoin truly needs. So pools have to check every submitted share whether the miner really searches for 6-tuples or not. Those facts are what make it so hard to create a Prime- or Riecoin pool.
I haven't researched these issues in detail because they apparently haven't presented significant impairement to the coins. Riecoin is currently in the process of migrating from a minimum of 6-tuples to a minimum of 7-tuples - details on the difference between versions are well-described on the Riecoin web site. BTW, the Riecoin Discord server is quite active and contains useful up-to-date information - https://discord.gg/2sJEayC

Quote
I want mining algorithms to be optimal at not just establishing consensus but also at solving important computational problems without compromising security. I want mathematicians and cryptographers to continue to research scientific mining algorithms, and this research starts by highlighting the positive aspects and potential pitfalls of Gapcoin and related cryptocurrencies.
As I understand it, Primecoin's contribution to number theory is very slight (this from Sunny King's white paper): “Primecoin is the first cryptocurrency on the market with non-hashcash proof-of-work, generating additional potential scientific value from the mining work. This research is meant to pave the way for other proof-of-work types with diverse scientific computing values to emerge.”

Riecoin is less slight in that it offers an indirect contribution (according to Newscientist) by attempting to prove the null hypothesis: “Riecoin ... might find an example of a constellation that doesn’t fit with Riemann and so offer clues as to how to disprove it”

As for Gapcoin, Jonnie Frey provides the following rationale: “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?”

Unfortunately, I'm obliged to confess that I don't get why the prime gap search effort is being undertaken nor how it is a potential contribution to helping prove either the Twin Prime Conjecture or the Reimann Hypothesis. I do get that “many questions and conjectures remain unanswered” but I haven't yet encountered a straightforward explanation of the purpose of calculating record prime gaps and merits, there's not even an agreed null hyopthesis to prove. What's the point of the continual record-seeking? I can conjecture that the results might inform a statistical analysis that might in turn feed into an advance in number theory but that doesn't seem to be the way that number theorists are tackling the issue of formal characterisation (Terry Tao describes what I assume is a fairly typical approach in “Long Gaps between Primes: What's New”). Edit: but see postscript

My lack of understanding has consequences. Setting higher shift values for the Gapcoin miner results in the calculation of fewer gaps but larger prime numbers as opposed to lower shift values resulting in more gaps between smaller primes. My naive view suggests that as merit is the key factor, more gaps with (potentially) greater merit are the most obvious target. More confusingly, I can't readily discern any size effect in the various conjectures - it's not as if anyone's saying “the really interesting results will start to appear when we start to use really big primes” - because the principle of calculating a gap's merit is explicitly designed to factor out the effect of prime digit size.

Aaanyway, back to your suggestion ...

Quote
-By 'useful', I clearly meant useful in other ways than simply establishing consensus. I decided to trade a thorough explanation of what I meant by 'useful' in exchange for brevity.
Not at all unreasonable, there's a lot of room for discussion there and again, thanks for clarifying.

Leaving aside the fact that from my diminished perspective (as I describe above) "usefulness" is rather opaque, am I correct in understanding that your suggestion implies the potential construction of a mapping between the pairs of primes produced by Gapcoin and both Primecoin's chains and Riecoin's prime constellations? I hope you'll forgive my ignorance but I can't even begin to hallucinate any common numerical ground between them, you'll need to provide some concrete math to connect them up.

Quote
The main thing that you should have taken away from my post is that Gapcoin will do a decent job at advancing understanding when the market cap and mining reward for Gapcoin are low. However, if the market cap for Gapcoin were hundreds of billions of dollars and the mining reward as a result was very high, then Gapcoin will not longer do a good job at advancing understanding since the principle of diminishing returns applies to scientific cryptocurrency mining algorithms as well https://en.wikipedia.org/wiki/Diminishing_returns.
It's not been demonstrated that the principle of diminishing returns applies to - let's be specific here - PoW algos based on prime number calculation. In this you are at odds with Jonny Frey who maintained that more mining = higher difficulty = more records: “if the difficulty reaches 35.4245, every block will be a new world record”.

Quote
It is not fair for a single type of computational problem in mathematics to be highlighted at the expense of all the other areas of mathematics, and if Gapcoin becomes really popular, then Gapcoin will do just that.
That's a pretty big (and in the current context, rather unlikely) “if”. Gapcoin has had quite a long trajectory and successive halvings have brought down the per-block reward to just 2.73 GAP, that's going to be a challenging place from which to start attracting large numbers of new miners.


Cheers

Graham

Edit: Aha, Tom Nicely's list of prime gaps is credited in Kourbatov's 2018 paper “On the nth Record Gap Between Primes in an Arithmetic Progression” published in the International Mathematical Forum (http://www.m-hikari.com/imf/imf-2018/1-4-2018/p/kourbatovIMF1-4-2018.pdf) which does include statistical analysis ... “We will attempt to answer these questions using heuristics and statistical analysis of numerical results.” So there is some support for viewing the list of prime gaps as a usable dataset which is usefully extended.

member
Activity: 73
Merit: 27
Tempus Narrabo
Hey,
Be sure gjhiggins, BitcoinFX and the weak community are well aware of the limitations / issues / major stake that you are talking about. Unfortunately, we are experiencing a lack of GPU developers and mathematicians [...] at this point, despite the best wishes in the world...
If you knew the history of Gapcoin, its developer and its community, it's true that your post would have been different, I think.
But in general, although there are some better ideas than others, there are rarely bad ones.
What you are saying here is true, but a fact already known and has been thought out. It's obvious to some.

However, I disagree easily with some points like the market cap and mining reward, people are just and simply venal and just don't give a s**t until there is money on the table [...]

This is a lot of information that you have unpacked here, just understand that each of them needs to be discussed in depth.
If you want to discuss further, it's here :  Smiley

I just opened a Gapcoin Discord (invite).


The thing is, (not a criticism, just a self-evident fact that falls on you one day or another) this is an 'open source' project. If you want to/can participate, you can freely and we will thank you for that.
https://github.com/gapcoin-project
Otherwise, the ideas just go to the pile of ideas. And there is a BIG one.
I'm not trying to be on the defensive, or to justify gjhiggins' answer, but just to replace the Gapcoin's situation.  Roll Eyes
Give gjhiggins a real bone to chew on and he'll do miracles.


We're just little monkeys randomly typing on typewriters, hoping to produce Shakespeare. Unfortunately, for the moment, the g is sticked.  Cheesy Cheesy (cf Gapcoin Core 0.16.3 > About)
People like you are necessary for this kind of project, but it's a lot of work.
Thanks for your time, your efforts are still appreciated, don't give up !
 Smiley


https://www.altilly.com/page/addasset

free asset listings till december 31st

Nice catch !
1500$ Free
member
Activity: 691
Merit: 51
gjhiggins-Thanks for the criticism and for the mathematical links. I consider Primecoin, Gapcoin, and Riecoin to be interesting and worthwhile projects that we can learn from both by studying the mathematical computations that arose from these projects and also by studying what it takes to make a useful cryptocurrency mining algorithm (for example, I have learned about Primecoin back in 2017 here https://www.youtube.com/watch?v=TipGy2bOVL4). My purpose in posting is not to discourage people from using these coins nor is it to be anything other than constructive. I currently want more people to mine Gapcoin.

I realize that these coins are in a sense better than just pure hashing, but I am also pointing that these coins may be improved by making the miners work on several prime related problems simultaneously (but this is risky since a complicated algorithm could have bugs that present a security weakness). I want mining algorithms to be optimal at not just establishing consensus but also at solving important computational problems without compromising security. I want mathematicians and cryptographers to continue to research scientific mining algorithms, and this research starts by highlighting the positive aspects and potential pitfalls of Gapcoin and related cryptocurrencies.

Quote
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
-I do not condone violence against straw men. They are people too. They have feelings. They feel pain. And I hope you know that you are supposed to end your sentence with a period instead of a smiley face.

Quote
Openly and clearly not --- because the application's primary purpose is, and always has been, to act as a cryptocurrency.
-By 'useful', I clearly meant useful in other ways than simply establishing consensus. I decided to trade a thorough explanation of what I meant by 'useful' in exchange for brevity.

Quote
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.
-You are free to report my choice of words to the Modern Language Association. They may even send me to take a four hour word choice course or get points added my grammar record. But the joke is on you, because in that course, I will finally get to meet Donald Trump in that class. After all, Donald Trump uses words such as "tremendously", "huge" (I also use the word 'huge' since huge cardinals are a thing), "beautiful", and "best", so he will definitely be there.

The main thing that you should have taken away from my post is that Gapcoin will do a decent job at advancing understanding when the market cap and mining reward for Gapcoin are low. However, if the market cap for Gapcoin were hundreds of billions of dollars and the mining reward as a result was very high, then Gapcoin will not longer do a good job at advancing understanding since the principle of diminishing returns applies to scientific cryptocurrency mining algorithms as well https://en.wikipedia.org/wiki/Diminishing_returns.

From my post, you should have also gotten a better appreciation for the diversity of mathematical research. It is not fair for a single type of computational problem in mathematics to be highlighted at the expense of all the other areas of mathematics, and if Gapcoin becomes really popular, then Gapcoin will do just that.
Pages:
Jump to: