Pages:
Author

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

legendary
Activity: 2254
Merit: 1290
Sorry i've been so long coming back, i tried to remove openssl, and removed too much.....had to do a full rebuild,
It happens. I'm relieved that it built okay in the end.

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

git clone --branch v0.9.3-gap https://github.com/gjhiggins/gapcoin
cd gapcoin
git submodule init
git submodule update
./autogen.sh
./configure --with-incompatible-bdb --without-miniupnpc
make

If you're going to the effort of installing libdb4.8, then you can omit the --with-incompatible-bdb, as libdb4.8 is the compatibility standard.

Compatibility is for when a user migrates from a client linked against libdb4.8 to a client linked against a later version, say libdb5.3. On running the libdb5.3-linked client, the wallet is automatically upgraded to use the later version. If the user then decides to revert to the client linked against 4.8, that client can't load that upgraded wallet.

Trivial solutions: save the wallet before trying a new version of the client or don't revert. Complex solution: always link against libdb4.8 unless --with-incompatible-bdb is specified in the compilation instructions. Practical solution: always build binaries for proprietary OS linked against libdb4.8 or make it SCREAMINGLY CLEAR that the binary uses the latest-and-greatest, faster, more robust version of libdb and to SAVE THE FECKING WALLET before continuing.

Quote
i don't know if this is the version with your updated POW
Well, it built okay, so it must do, else it wouldn't build under Mint 19.2

Cheers

Graham
sr. member
Activity: 1249
Merit: 297
allocators.h:15:10: fatal error: openssl/crypto.h: No such file or directory
That's an understandable failure on the part of the compiler but it's a bit odd that the headers are missing - they should be there if  libssl-dev has been apt-installed.

On Mint 19.2, the openssl headers will be in  /usr/include/openssl. If that directory isn't present on your system and you have done apt install libssl-dev, then I don't know what to suggest, sorry.

Cheers

Graham


Hi Graham,

Sorry i've been so long coming back, i tried to remove openssl, and removed too much.....had to do a full rebuild,
Anyway...here exactly what i did

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

ADMIN / DRIVER MANAGER (update to Nvidia-driver-435 ***435.21 Ubuntu 18.04.3***)
REBOOT

sudo apt-get install git synaptic gdebi pkg-config

sudo apt-get install build-essential libtool autotools-dev autoconf libssl-dev libgmp-dev libmpfr-dev

sudo apt-get install libboost-all-dev libminiupnpc-dev libqt4-dev libprotobuf-dev protobuf-compiler

sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev libqrencode-dev

sudo apt install automake

sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

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

git clone --branch v0.9.3-gap https://github.com/gjhiggins/gapcoin
cd gapcoin
git submodule init
git submodule update
./autogen.sh
./configure --with-incompatible-bdb --without-miniupnpc
make

Finally...works

I have to go bring up a terminal and type /home/gapcoin/Downloads/gapcoin/src/qt/gapcoin-qt to run it (double clicking on qt file never works)

oh, i don't know if this is the version with your updated POW, not sure how to add that....maybe another day

Anyway, Thank you very much for your time
J
legendary
Activity: 2254
Merit: 1290
allocators.h:15:10: fatal error: openssl/crypto.h: No such file or directory
That's an understandable failure on the part of the compiler but it's a bit odd that the headers are missing - they should be there if  libssl-dev has been apt-installed.

On Mint 19.2, the openssl headers will be in  /usr/include/openssl. If that directory isn't present on your system and you have done apt install libssl-dev, then I don't know what to suggest, sorry.

Cheers

Graham
sr. member
Activity: 1249
Merit: 297
Hi Minerja,

https://github.com/gapcoin/gapcoin/issues


Follow these instructions
https://github.com/gapcoin/gapcoin/issues/2



I updated the instructions, I would appreciate if you would delete all the technical information clogging this forum page after you compile using the instructions.


Remember GIT commands are also from the Command Line Terminal

git clone --branch v0.9.3-gap https://github.com/gjhiggins/gapcoin



Hi,

much closer, but still fails

gapcoin@gapcoin-R1800x:~/Downloads/gapcoin-0.9.3/gapcoin$ make
Making all in src
make[1]: Entering directory '/home/gapcoin/Downloads/gapcoin-0.9.3/gapcoin/src'
make  all-recursive
make[2]: Entering directory '/home/gapcoin/Downloads/gapcoin-0.9.3/gapcoin/src'
Making all in .
make[3]: Entering directory '/home/gapcoin/Downloads/gapcoin-0.9.3/gapcoin/src'
  CXX      addrman.o
In file included from serialize.h:9:0,
                 from netbase.h:13,
                 from addrman.h:8,
                 from addrman.cpp:5:
allocators.h:15:10: fatal error: openssl/crypto.h: No such file or directory
 #include // for OPENSSL_cleanse()
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:870: recipe for target 'addrman.o' failed
make[3]: *** [addrman.o] Error 1
make[3]: Leaving directory '/home/gapcoin/Downloads/gapcoin-0.9.3/gapcoin/src'
Makefile:892: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/gapcoin/Downloads/gapcoin-0.9.3/gapcoin/src'
Makefile:668: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/gapcoin/Downloads/gapcoin-0.9.3/gapcoin/src'
Makefile:510: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
member
Activity: 256
Merit: 60
Hi Minerja,

https://github.com/gapcoin/gapcoin/issues


Follow these instructions
https://github.com/gapcoin/gapcoin/issues/2



I updated the instructions, I would appreciate if you would delete all the technical information clogging this forum page after you compile using the instructions.


Remember GIT commands are also from the Command Line Terminal

git clone --branch v0.9.3-gap https://github.com/gjhiggins/gapcoin

legendary
Activity: 2254
Merit: 1290
Hi guys,
Well thought i'd do a clean install of Mint 19.2 and try the latest GAPCOIN build.

So i followed gjhiggins / usernamenumer7 's instructions

./autogen.sh: 5: ./autogen.sh: autoreconf: not found
I'm sorry to say - that's the point at which you should have stopped. A missing autoreconf suggests an omitted step in the procedure, that of prepping the OS for compilation. j0nn9 has edited doc/build-unix.md to be specific to gapcoin. If you follow the instructions there (using the gapcoin code from my repos) you should get a successful compilation on a clean install of Mint 19.2 (actual under-the-hood distro Ubuntu 18.04). It also works on Ubuntu 19.10.

As regards to Windows builds, the situation is pretty dire. Bitcoin Core uses the only reliable approach, that of including a specification of all the dependencies and a scheme to compile and link them locally. See https://github.com/bitcoin/bitcoin/blob/master/depends/README.md. The problem is that Gapcoin is Core 0.9 and the depends system was introduced in Core 0.11 and two issues complicate the approach of simply copying over from Bitcoin 0.11. Firstly, the gmp amd mpfr packages need adding to the list of dependencies and secondly, the source code for the dependencies to be compiled isn't included, it's downloaded from specified URLs and, because of the passage of time, some of the URLs no longer resolve (Qt specifically has gone from "official" to "archive" which is where I called it a day after several hours plugging away). If these issues can be resolved, then it has a chance of working on a Xenix installation and might even produce an executable Windows binary.

Cheers

Graham
sr. member
Activity: 1249
Merit: 297
member
Activity: 256
Merit: 60
Hi Mr. Higgins,

Wasn't meant to be a stab at you, I don't use virtual machines ect......BitcoinFX will probably find it the most useful.


I will try to check your work but https://distrowatch.com I am running out of useful options.  I think Linux Mint is good enough, but other users would probably like to use the newest Ubuntu (Not me).  I tried MX Linux and other various ones like Parrot before you made the change.  It is not easy erasing a OS just to test your new work as I am happy with Linux Mint and the work you have done with it so no need for now.  I am all for the Trisquel and LInux MInt Minimalist lifestyle.  

But I think all coins not tied down with 64 bit numbers is probably a waste of time including Gapcoin and Bitcoin.  Just imagine all the miners who own millions of dollars worth of ASICS realizing they are worthless over night if Bitcoin ever goes 64 Bit?

I would rather focus on avoiding large wastes than small wastes as I "Waste" a lot of time testing various Linux distros, but it is only a waste if one never finds what truly "Works".  

What I mean by "Take off" is the adoption of ASICS for Gapcoin which would be 32 bit ASICS which would be worthless for the development of the Math aspects of the project.

In my opinion it would be better to rip arrow out before infection and death.  Everyone has losses now, but with your work it could start new with a bright future.  But everything 32 bit is worthless, and anyone who thinks otherwise is deluding themselves.  I only use Gapcoin as a training method which "Works" for me, but I don't care if it works for others as no one has the time to "Waste", but I don't see it as a waste of time but more of an experiment.

I merely point out the obviously, it might seem unattainable and not worth while to some to advance, but I don't mind learning the hard way.  As Deepcoin was a true 64 bit coin I lost over 1 million deepcoin I bought for around 15-20 Satoshis before Bitcoin took-off.  It was a failure due to it's rapid distribution ect.....I have seen em all and seen em all come and go.  But Gapcoin is still here due to the calculation of a group of hard-core people who seek a better way based on more Math and Science which is why I am here to capitalize on that and help it's seed grow.

The seedling keeps getting harder to see, but it is understandable.  To me I see this effort as running the ship into the rocks or switching to 64 bit Sha512 and make the small group more firm.  There is no way Gapcoin staying as a 32 bit project will ever produce any but the "Ship crashing into the Rocks"

1)  Gapcoin is the perfect vehicle to use 64 bit Sha512 as it has already a custom Computer Memory control panel built into the Algo.






legendary
Activity: 2254
Merit: 1290
Cool, but I have given up on other Linux distros so no worries about boost 1.67 but it might help someone else.
You asked, I answered. I'm trying hard not to regard that as a waste of my time.

Quote
What are the full implications of using ./configure --with-incompatible-bdb --without-miniupnpc?
Is it possible to compile using BDB 5.3 ect......?  Would it only require doing it all the time in the future for wallets?
Could I transfer my coins from a BDB 4.8 wallet to the new Gapcoin wallet using BDB 5.3? 
Answers to these questions can be found by reading the appropriate documentation.

Cheers

Graham
member
Activity: 256
Merit: 60
Cool, but I have given up on other Linux distros so no worries about boost 1.67 but it might help someone else.


What are the full implications of using ./configure --with-incompatible-bdb --without-miniupnpc?

Is it possible to compile using BDB 5.3 ect......?  Would it only require doing it all the time in the future for wallets?

Could I transfer my coins from a BDB 4.8 wallet to the new Gapcoin wallet using BDB 5.3? 


legendary
Activity: 2254
Merit: 1290
Mint uses Boost 1.65 would it still compile on Linux with Boost 1.67?
I have successfully compiled the gapcoin v0.9.3-gap branch on an Ubuntu 19.10 system.

I checked the compilation under Ubuntu 16.04 (the earliest version of Ubuntu still supported) and added (and documented, in doc/build-unix.md) a couple of patches to allow gapcoin-0.9.2 (the “official” distro) to compile under Ubuntu 16.04.

In gapcoin-0.9.3, I've changed rpcserver.cpp in order to get to compile successfully under Boost 1.67 (and Boost 1.65) and have committed the change (to https://github.com/gjhiggins/gapcoin.git).

I haven't yet committed the gapcoin-0.9.4 branch that I'm working on.

Cheers

Graham



member
Activity: 256
Merit: 60
Thanks Mr. Higgins,

Syncing with Gapcoin version 0.9.4

I however used

git clone --branch v0.9.3-gap https://github.com/gjhiggins/gapcoin
cd gapcoin
git submodule init
git submodule update
./autogen.sh
./configure --without-miniupnpc
make


The tests passed fine.


https://github.com/gapcoin/gapcoin/issues/2

Those instructions are still accurate for Linux Mint however I noticed Mint does not contain topmenu-gtk2 topmenu-gtk3 which is not required or automake installed by default.

sudo apt install automake

I was trying to build your branch with a operating system using Boost 1.67 but lots of issues with other Linux distros.  Linux Mint and Trisquel seem reliable to me.  But I guess I could just ask you.  Mint uses Boost 1.65 would it still compile on Linux with Boost 1.67?



legendary
Activity: 2254
Merit: 1290
I learned that git submodule update needs to be git submodule update --remote --merge
But, reading more extensively, I realised what I'd been missing. Previously, when looking at the status of the changes, I thought that git was offering me the option of including all of PoWCore in the main Gapcoin repos ... well, I mean, who wouldn't? ...
Code:
On branch v0.9.3-gap
Your branch is up-to-date with 'origin/v0.9.3-gap'.

Changes not staged for commit:
  (use "git add ..." to update what will be committed)
  (use "git checkout -- ..." to discard changes in working directory)
  (commit or discard the untracked or modified content in submodules)

modified:   src/PoWCore (new commits, untracked content)

no changes added to commit (use "git add" and/or "git commit -a")

But when I looked at the actual difference, it was offering to update the reference from:
Code:
ID       : ca5e863b1ff6c0a9655fadb951f1d9653ba24ef1

Author   : Jonny Frey
           07/01/2015 22:43

Message:
1024 max shift should work for all

to:
Code:
ID       : 5cdfb1fcdfe932cb10eab567048cb95d1fc13979

Author   : Graham Higgins
           26/10/2019 11:04

Committer: GitHub
           26/10/2019 11:04

Message:
Update PoWUtils.h

Address compilation failure

which is actually what I wanted.

So I committed the change and the submodule update now works correctly as before, i.e. git submodule update and doesn't need the --remote --merge any longer.

We can all breathe a sigh of relief Smiley

Cheers,

Graham
legendary
Activity: 2254
Merit: 1290
Mr. Higgins,

It looks like Linux Mint does not compile using your v0.9.3-gap

POWUTLS error

Sorry can't paste out the whole thing.  

You are building it under Linux Mint I assume?

When I checked, the PoWCore submodule wasn't using master but HEAD. I checked stackoverflow and found:
https://stackoverflow.com/questions/18770545/why-is-my-git-submodule-head-detached-from-master/55570998#55570998

where I learned that git submodule update needs to be git submodule update --remote --merge

I have just used the following with success:
Code:
git clone https://github.com/gjhiggins/gapcoin.git gapcoin-0.9.3
cd gapcoin-0.9.3/
git checkout v0.9.3-gap
git submodule init
git submodule update --remote --merge
./autogen.sh
./configure --with-incompatible-bdb --with-gui --with-miniupnpc --with-qrencode --disable-tests
make

Cheers

Graham
member
Activity: 256
Merit: 60
Mr. Higgins,

It looks like Linux Mint does not compile using your v0.9.3-gap

POWUTLS error

Sorry can't paste out the whole thing.  

You are building it under Linux Mint I assume?



Maybe your time would be better spent re-launching Gapcoin under a Sha512 64 bit system.  That way we can dump the Berkeley Database 4.8 as Satoshi would like!

I think Trisquel is still easier to use than Linux Mint, but I guess the herd would gather around Linux MInt more.  But for your work piggy back on top of Trisquel offers very little work to keep it up to date, but modern.

It would be great if you could spearhead a Re-launch of Gapcoin as a SHA512 64 bit coin that compiles under Linux Mint or Trisquel.
member
Activity: 256
Merit: 60
"Owned by WiSpear, an Israeli spy firm registered in Cyprus, the total snooping equipment pre-installed in the van amount to $9 million, according to WiSpear founder Tal Dillian. In the Forbes report, Dillian enthusiastically boasted his company was making “a lot of money” from the widening gap between spying tech and encryption technology, implying that the latter is lagging behind and he is looking forward to more and more governments seeking “back doors” to digital apps."

Israeli tech specializes in WIFI jacking/Cell Phone Jacking
FBI tech specializes in LAN Internet tapping


It is child's play for them to cause blockchain breaks and forks.  Bitcoin Psychological warfare should be studied in it's own right under the guidance of the honest Allah Intelligence machines producing the results. 

But that which makes the average man understand is not desired in speech nor word, but that which confuses so as to sound more important than what it actually is.

Microsoft, Amazon, Bitcoin ect.....are dump sums of digital Federal Reserve Notes to oppose competitors like China and Saudi Arabia from taking them over or acquiring them cheaply through leveraged buyouts, which Wall Street Nerds perfected wiping out all the small/middle size competitors in various industries.

Microsoft going from $30 share price in 2012 to $150 in 2019 is a strict control play.  This allows Microsoft to buyout Github for pennies on the dollar as they can raise new Digital Federal Reserve Notes from issuing shares at $100-150 dollars each instead of $30 each.  So if they buy Github for 3 billion dollars it is like them buying it for a factor of %500 percent less than they would have payed in 2012.  Inflation is like around %30-50 percent for that period different for various sectors of economies. 

EVERYTHING is only calculable through FLUID Mechanics. 

Trust me, Build it and they will come.  SHA512 for Victory.  It has to happen BEFORE THE TAKE OFF!

legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
1 Month donation has been sent to renew the block explorer at: https://chainz.cryptoid.info/gap/

They now require a valid email address, name and postal address ...


Gapcoin Club - gapcoin.club
c/o WhoisGuard, Inc., NameCheap, Inc., IANA ID: 1068
Panama City
PA


...

I will add some donation addresses to Gapcoin Club soon, thus the community can help to support hosting, maintanence and development etc.,

Cheers!

...

Why a Club ?

- https://en.wikipedia.org/wiki/Investment_club
member
Activity: 256
Merit: 60
As long as the ASIC is Sha512 and 64 bit I can imagine it will be very successful however Gapcoin has no chance to compete with the Bitcoin beast at 32 bit numbers.

member
Activity: 164
Merit: 13
I hate to say this....

But if supporters of this coin wish to have a pool - with my help - I will need some help with knowledge.

I have purchased a domain and been constantly tinkering with pool software as time allows, I have more azure credit I can use for a VM to host the site/software.

I have googled and asked in many forums and discord channels with minimal help received.

As much as I love the concept of this coin, I can't do anything but mine the coin unless someone steps up and helps me figure things out on the coding end.

I do not wish to waste my efforts nor anyone else's.


Your efforts and input are appreciated, however, pool development is unfortunately not the major priority currently.

The development of Gapcoin core and new software releases are curently more essential for the project. Realize that these developments (as they happen) are also likely to change the working 'old' pool / code implementation.

However, if you can get it running then great! As long as your main inventive is seeing increased network hashing power and the discovery of larger prime gaps over personal profit.  Wink

Oh no, I gave up on profitability a long time ago. It's a combination of enjoying the concepts of this coin along with gaining personal knowledge. I apologise if my post came across wrong, just a little frustrating.
legendary
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
Mr. Higgins, I look forward to seeing if the Gapcoin.org so called Sept. 2019 Gap Records is accurate from your work or if we are dealing with improper records which could lead to lots of other factors surrounding other things.  

When you get your work ported to your gjhiggins/gapcoin github I will update all my nodes.

Nice work sorting out the SSL 1.1 mess hope it all checks out.  So your able to build using the newest Ubuntu?

It is not good that posts disappear without a trace there should be a small line with a Post has been deleted and by which user and the reason visible to everyone why it was taken down.


Hopefully someone can pay bitcoin for the blockchain explorer but buying bitcoin personally is somewhat not possible.  

Currently testing if Ubuntu / Debian wallets build etc.,

...

... "How is Proof of Work actually designed?

A PoW algorithm has to fit two specifications:

    It must be cryptographically secure (a PoW must not be reusable)
    It must be hard to calculate, but easy to verify

Verifying a prime gap is easy, you only have to check every number between the start and the end to be composite.

Calculating is harder, much harder! " ...


Source : gapcoin.org

This ^

Hard math is hard !

...

Bitcoin = Difficult to solve, easy to check !

Gapcoin = Difficult to solve, harder to calculate, easy to check !

Cheesy

...

Gapcoin is forefront of mathematical discovery.

No one has dismissed Gapcoin results as invalid.

Very smart folks (mathematician's) have confirmed Gapcoin's results and it's MERITS.

...

The crux of the matter remains here, as correctly identified by gjhiggins ...

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


Again, Numbers Go Up (and Down).

It still remains to be seen what Gapcoin can achieve out-of-the-box! Only very limited hashing power, relative to Bitcoin, has ever been thrown at Gapcoin and most of that was CPU based ... (again) imagine the ASIC's ...

"Difficulty adjusts every block and increases logarithmically (it will probably take years to get to 50)"

Source : gapcoin.org

In terms of Bitcoin mining difficulty we barely passed 1 .

A literal Gravity Well ...

- https://en.wikipedia.org/wiki/Gravity_well

... "Anything at the center of mass of a planet or moon is considered to be at the bottom of that celestial body's gravity well, and so escaping the effects of gravity from such a planet or moon (to enter outer space) is sometimes called "climbing out of the gravity well". The deeper a gravity well is, the more energy any space-bound "climber" must use to escape it. " ...
Pages:
Jump to: