Gridcoin is a new peer-to-peer cryptocurrency that uses distributed computing (BOINC)

Edit Package gridcoin

Gridcoin is a new peer-to-peer cryptocurrency that uses distributed computing (BOINC) to benefit humanity by advancing the progress of medicine, biology, climatology, mathematics, astrophysics, and more.
The aim of the Gridcoin project is to shift the computational power primarily to BOINC projects whilst the POW mining calculations become a second priority - so as the mining network scales up, the network's BOINC contribution is scaled up in tandem.

Refresh
Refresh
Source Files
Filename Size Changed
_constraints 0000000113 113 Bytes
_service 0000000747 747 Bytes
_servicedata 0000000243 243 Bytes
adapt-paths-and-user-in-Systemd-unit-to-match-SUSE-package.patch 0000002847 2.78 KB
don-t-use-forking-launch-mode-in-Systemd-unit.patch 0000001369 1.34 KB
gridcoinresearch-5.4.8.0.tar.xz 0032509228 31 MB
gridcoinresearch.changes 0000109641 107 KB
gridcoinresearch.spec 0000007255 7.08 KB
gridcoinresearch.xml 0000000204 204 Bytes
Latest Revision
Matthias Bach's avatar Matthias Bach (theMarix) committed (revision 299)
- Update to version 5.4.8.0
  * This release is a maintenance release that adds checkpoints
    post the unintended fork when 5.4.6.0 was introduced.
  * Enhance verify checkpoints fail handling.
- Drop fix-Systemd-unit-install-location.patch merged upstream.
- Drop fix-man-page-installation-path-for-cmake-builds.patch merged
  upstream.
- Drop fix-man-page-installation-path-for-cmake-builds.patch as
  the issue has been addressed upstream.
- Drop fix-static-linking-of-secp256k1.patch as the issue has been
  addressed upstream.
- No longer explicitly require a 1.1 version of OpenSSL.
Comments 14

Sebastian Kung's avatar

Hey Marix, the .spec file should be updated to qt5. Thanks for the package!


Matthias Bach's avatar

Thanks for the heads-up. This has been on my TODO list for a very long time but since Qt4 worked fine for me I never got around to do it. At it now. :)


Hallvar Helle's avatar

Hey Marix, will we see a Fedora 27 build soon? Also i saw a new version is up on git.

Thank for the build


Hallvar Helle's avatar

Not on git i saw New version, vas on the gridcoinstats website. So never mind, but would love to see Fedora 27 added :)


Matthias Bach's avatar

Thanks for the hint. I don't use Fedora regularly. Thus, it happens that I miss the fact that a new release happened. Package is building now. Should be available in a couple of minutes.


Hallvar Helle's avatar

Wonderfull, i'll pull it later tonigth. Thanks :)


Hallvar Helle's avatar

Hello. Is there a solution for fedora on its way? I see it fails to build.


Matthias Bach's avatar

Sadly I haven't gotten around to further look at this yet. The issue is that the tests fail in the Fedora build. Now for a quick "fix" I could just disable them, which would get us back to the way it was on the previous versions (where there was no easy way to run the tests).


Hallvar Helle's avatar

I got a feeling this migth be due to changes in a recent changes in Fedora, but i have been unable to isolate it.

I see there is a new update 3.7.13.0 - Maybe it will build better?


Hallvar Helle's avatar

@theMarix

I see it uses boost 1.66 but should be 1.65.1


Jason DeTiberus's avatar

With some modifications to the spec I was able to get things working better for Fedora:

%pre -n %{name}d
getent group %{name} >/dev/null || groupadd -r %{name}
getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_localstatedir}/lib/%{name} -s /sbin/nologin -c "Gridcoin Research daemon" %{name}
%if 0%{?suse_version}
%service_add_pre %{name}d.service
%endif

%post -n %{name}d
%if 0%{?fedora_version}
%systemd_post %{name}d.service
%else
%service_add_post %{name}d.service
%endif
%tmpfiles_create %{_tmpfilesdir}/%{name}d.conf
test -f %{_sysconfdir}/%{name}/%{name}.conf || { echo -e "rpcuser=gridcoinrpc\nrpcpassword=$(pwgen -n 24)" > %{_sysconfdir}/%{name}/%{name}.conf && chown root:%{name} %{_sysconfdir}/%{name}/%{name}.conf && chmod 0640 %{_sysconfdir}/%{name}/%{name}.conf; }

%preun -n %{name}d
%if 0%{?fedora_version}
%systemd_ipreun %{name}d.service
%else
%service_del_preun %{name}d.service
%endif

%postun -n %{name}d
%if 0%{?fedora_version}
%systemd_postun %{name}d.service
%else
%service_del_postun %{name}d.service
%endif

%post qt
%if 0%{?suse_version} < 1330
%desktop_database_post
%endif

%postun qt
%if 0%{?suse_version} < 1330
%desktop_database_postun
%endif

Matthias Bach's avatar

Thanks. Now we only have to figure out what we do about the fact that modern Fedora does no longer ship Berkely 4 and it's not safe to just upgrade to version 5.


Matthias Bach's avatar

Actually, rereading the docs. As long as the build works we can actually use libdb5. It just won't be possible for users to open the wallet with an older build then.


Richard Leckinger's avatar

Yes the move from db4 to db5 is one way, although those db4 backups are still good in a pinch. Better to back up fresh after the upgrade to a db5 build.

openSUSE Build Service is sponsored by