gjhiggins
Legendary
Offline
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
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
December 04, 2019, 06:57:01 AM |
|
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?
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
December 04, 2019, 08:54:24 AM |
|
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. 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
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
December 04, 2019, 11:16:52 AM |
|
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.
|
|
|
|
minerja
|
|
December 05, 2019, 11:48:39 AM Last edit: December 06, 2019, 08:48:34 AM by minerja |
|
Hi guys, TO Delete
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
December 05, 2019, 02:30:58 PM |
|
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
|
|
|
|
|
minerja
|
|
December 06, 2019, 08:35:23 AM |
|
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 <openssl/crypto.h> // 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
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
December 06, 2019, 09:33:57 AM |
|
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
|
|
|
|
minerja
|
|
December 06, 2019, 11:57:13 AM |
|
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/gapcoincd 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
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
December 06, 2019, 01:27:57 PM |
|
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. 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/gapcoincd 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. 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
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
December 11, 2019, 03:44:06 PM |
|
chainz hosting of Gapcoin block explorer has expired and will be removed in a few days if not renewed. Contribute to GapCoin Explorer hosting costs!
By contributing to the hosting costs you can extend for how long the explorer for GapCoin will be hosted.
Hosting for this blockchain expired on 2019-12-06 10:11 (about 5.3 days ago)
It's 8.90 euro for a month. Cheers Graham
|
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
December 14, 2019, 12:11:09 AM |
|
Hi Mr. Higgins, It seems Sha512 supports up to width of 128 bit numbers. https://en.bitcoinwiki.org/wiki/File:SHA-512.jpghttps://stackoverflow.com/questions/34588650/uint128-t-does-not-name-a-typeIt would seems the this has all become a winner take all scenario. If any work is done it might as well only be done ONCE. It would likely never need to be changed using int128_t, uint128_t. The Government can still use the other software backdoors they create while the Math hardware can carry on regardless. Probably any development would need to go through the CIA meetings like Bitcoin did early on. But since Power is "Shifting" maybe we can get a "Devs" to escape to Iran to develop the system for the space port there. Russia has good protections as well, but it is getting crowded already with high profile runners. Plus nothing spells trustworthiness more than a seal of approval from the Iranian government. Otherwise it is looking like 100-200 years before the west slow plays their dead hand to extract things from everyone stuck using their western US CIA approved 32 bit encryption systems. But at least we will all be Austic, Gender Fluid, and on Epstein Humpty Dumpty watch list.
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
December 14, 2019, 11:41:18 AM Last edit: December 14, 2019, 12:46:06 PM by gjhiggins |
|
It seems Sha512 supports up to width of 128 bit numbers.
If any work is done ... using int128_t, uint128_t.
The Government ... while the Math hardware can carry on regardless.
You seem to have gotten carried away more than usual, that doesn't make any sense at all - not even to you, I'd guess. The show-stopping obstacle to your suggestion of using 128 bits is that it requires a multiple precision arithmetic library that can handle 128 bit numbers - which doesn't yet exist. Until it does, your suggestion is completely impractical and you're wasting your and everyone else's time in publicly pushing for it. Cheers Graham P.S. SHA512 keys have been available in Bitcoin Core since the release of 0.13 with the migration to hierarchical deterministic keys.
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
December 16, 2019, 02:17:18 AM |
|
Gavin will visit the CIA https://bitcointalk.org/?topic=6652.0That there is no development is not a surprise as my timeline for development should have signaled. However the Boost Library does. 2 "As pointed out by other answer, C++ standard does not require 128 bit integer to be available, nor to be typedefed as uint128_t even if present. If your compiler/architecture does not support 128 bit integers and you need them, you could use boost to emulate them:" http://www.boost.org/doc/libs/1_58_0/libs/multiprecision/doc/html/boost_multiprecision/tut/ints/cpp_int.html"I think that the boost library will automatically use the native type if available" It really doesn't figure that learning would ever be considered a "Waste of Time". However developing a purposely retarded system to slow play ignorant people is not even remotely honest nor a good foundation.
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
December 16, 2019, 01:22:39 PM |
|
If your compiler/architecture does not support 128 bit integers and you need them, you could use boost to emulate them:"
Er, "it requires a multiple precision arithmetic library that can handle 128 bit numbers" - are you unaware of the difference? Perhaps a quote from the Prime Gap Searches group of the Mersenne forum will make it clear: "the crucial part would be to find efficient 128 bit replacements for mulmod / powmod. And extending the segmented sieve (bit buckets) to more than 64 bits might also be tricky". To spare myself further apparently futile explanation, I'll consider the matter closed unless/until you can come up with some concrete, detailed suggestions for changing the mpz functions in PoWUtils.cpp and Sieve.cpp sources so they are able to perform 128-bit arithmetic. Cheers Graham
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
December 18, 2019, 01:15:40 AM |
|
Supercomputers will not reach that memory 16 Exabyte capacity in the nearer future, but since they don't have a shared memory space then 128-bit won't be that important. I know a bunch of navy people who would be willing to classify the Zumwalt-class destroyer as a Battleship. The consensus seems to be that it's called a Destroyer only because BB's are presently the butt of the joke about following the old paradigm too long, when everyone should have been building aircraft carriers instead. It's only 15k tons, which is a far cry from the Iowa class Battleship, but it's still heavier than many of the Pre-DN battleships. It's certainly not a destroyer, because DD's are traditionally used for killing small ships, submarines and aircraft, each of them a task that the Zumwalt does not do. Instead, Zumwalt is meant for engaging surface and ground targets with missiles and guns. It only has 2 guns, but they are water-cooled, fully automated and have fire rates good enough that it can land as many projectiles per minute on the target as the Iowa. The projectiles themselves are, of course, much lighter and guided. Today's 64-bit Intel CPUs can only address 48-bit memory btw, cost savings because nobody will have that much memory in one machine for the foreseeable future. more $$ for intel and AMD. In a sense it's both 48-bit and 64-bit at the same time. The actual addresses are 64-bit, but the specification of AMD64 only allows the first 48 bits to be used; bits 48-63 are just a copy of bit 47. If the memory controller was implemented as 64 bit instead of 48 bit, there would be no performance difference. but using 48 bit math instead of 64-bit, saves you transistors. The Ext4 file system physically limits the file block count to 48 bits. The minimal implementation of the x86-64 architecture provides 48-bit addressing encoded into 64 bits; future versions of the architecture can expand this without breaking properly written applications. The media access control address (MAC address) of a computer uses a 48-bit address space. This can be changed to 64-bit addressing. A 48-bit memory address can directly address 256 Terabytes. A processor with 64-bit memory addresses can directly access 16 Exabytes. In principle, a 64-bit microprocessor can address 16 Exabytes of memory. However, not all instruction sets, and not all processors implementing those instruction sets, support a full 64-bit virtual or physical address space. The x86-64 architecture (as of 2016) allows 48 bits for virtual memory and, for any given processor, up to 52 bits for physical memory. These limits allow memory sizes of 256 Terabytes. A PC cannot currently contain 256 Terabytes of memory (due to the physical size of the memory chips), but AMD envisioned large servers, shared memory clusters, and other uses of physical address space that might approach this in the foreseeable future. Thus the 52-bit physical address provides ample room for expansion while not incurring the cost of implementing full 64-bit physical addresses. The free software used to implement RISC-V architecture is defined for 32, 64 and 128 bits of integer data width. ZFS is a 128-bit file system. https://en.wikipedia.org/wiki/ZFShttps://github.com/zfsonlinux/zfsOne important feature of making a 128 Bit ASIC with high amounts of RAM, is that 1. We can break out the limits of Memory that way using Yitang Zhang algo. 2. 64 bit and 32 bit virus programs cannot be run on 128 bit ASIC machines.
|
|
|
|
UsernameNumber7
Member
Offline
Activity: 256
Merit: 60
|
|
December 18, 2019, 01:16:59 AM |
|
We don't even live in the True 64 bit age yet. Lots of SLOW PLAY TIME!
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
January 04, 2020, 05:10:53 PM Last edit: January 05, 2020, 01:20:33 PM by BitcoinFX |
|
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? ... 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 <file>..." to update what will be committed) (use "git checkout -- <file>..." 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: ID : ca5e863b1ff6c0a9655fadb951f1d9653ba24ef1
Author : Jonny Frey <j0nn9.fr39@gmail.com> 07/01/2015 22:43
Message: 1024 max shift should work for all
to: ID : 5cdfb1fcdfe932cb10eab567048cb95d1fc13979
Author : Graham Higgins <gjhiggins@users.noreply.github.com> 26/10/2019 11:04
Committer: GitHub <noreply@github.com> 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 Cheers, Graham
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
Thanks for all your efforts, input and hard work on this one Graham (and community !?!) ... A belated Happy New Year ! I have to migrate some of the servers to new LTS builds and I will be updating the https://gapcoin.club website with new info. Anyone for a new windows release with updated SSL etc., ? Getting very bored of 'slow play time', lets build this community and start to get listed on some additional exchanges etc., Again, Gapcoin is going nowhere, except for the record books ! No such thing as an economic point of no return. P.S. I'm continuing to renew the block explorer, again. Cheers! We're searching for some very special numbers ... anyone care to join us !?The prime number theorem | Journey into cryptography | Computer Science | Khan Academy - https://youtu.be/7jzCJJIc59E?t=27Pi (Math is everywhere - https://youtu.be/WFmWhwyA0NU?t=47Re: Bitcoin source from November 2008. - https://bitcointalk.org/index.php?topic=382374.msg4108706#msg4108706// // The timechain is a tree shaped structure starting with the // genesis block at the root, with each block potentially having multiple // candidates to be the next block. pprev and pnext link a path through the // main/longest chain. A blockindex may have multiple pprev pointing back // to it, but pnext will only point forward to the longest branch, or will // be null if the block is not part of the longest chain. //
... Danger Mouse - What More Can I Say (2004) - https://youtu.be/zGcnjBhb8MU *NSFW*
|
|
|
|
|