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.

  • Download package
  • osc -A https://api.opensuse.org checkout home:theMarix/gridcoin && cd $_
  • Create Badge
Refresh
Refresh
Source Files
Filename Size Changed
_constraints 0000000113 113 Bytes
_service 0000000750 750 Bytes
_servicedata 0000000243 243 Bytes
gridcoinresearch-5.4.5.0.1c6227bf6.tar.xz 0031430860 30 MB
gridcoinresearch.changes 0000105724 103 KB
gridcoinresearch.spec 0000007258 7.09 KB
gridcoinresearch.xml 0000000204 204 Bytes
gridcoinresearchd.conf 0000000051 51 Bytes
gridcoinresearchd.service 0000000364 364 Bytes
Comments 14

Sebastian Kung's avatar

DrGrid wrote

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


Matthias Bach's avatar

theMarix wrote

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

skjeggape wrote

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

skjeggape wrote

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

theMarix wrote

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

skjeggape wrote

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


Hallvar Helle's avatar

skjeggape wrote

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


Matthias Bach's avatar

theMarix wrote

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

skjeggape wrote

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

skjeggape wrote

@theMarix

I see it uses boost 1.66 but should be 1.65.1


Jason DeTiberus's avatar

jdetiber wrote

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

theMarix wrote

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

theMarix wrote

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

caraka wrote

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