FS#57317 - [zcash] zcashd.service is missing

Attached to Project: Community Packages
Opened by Konstantin Shalygin (k0ste) - Thursday, 01 February 2018, 06:46 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:07 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To kpcyrd (kpcyrd)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello.

In service for run deamon on boot is missing. Before zcash I was use monero (https://aur.archlinux.org/cgit/aur.git/tree/?h=monero) and so far so good - service works pretty well.


FYI:
https://github.com/zcash/zcash/issues/1732
https://github.com/zcash/zcash/pull/2363



k
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:07 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/zcash/issues/1
Comment by Nicola Squartini (tensor5) - Wednesday, 07 February 2018, 10:55 GMT
I added a user zcashd.service:

systemctl --user start zcashd.service

This will run zcash in your home directory and store the blockchain and wallet data in ~/.zcash as usual.
Comment by Konstantin Shalygin (k0ste) - Wednesday, 07 February 2018, 15:58 GMT
  • Field changed: Percent Complete (100% → 0%)
Why like this? This implementation requires have blockchain for all users separately. Why not use generic Arch way: blockchain is handled by user like 'bitcoin' or 'monero' in user home directory '/var/lib/bitcoin/'? This behavior is already used by:

https://www.archlinux.org/packages/community/x86_64/bitcoin-daemon/
https://aur.archlinux.org/packages/monero/
https://aur.archlinux.org/packages/aeon/
Comment by Nicola Squartini (tensor5) - Wednesday, 07 February 2018, 16:08 GMT
There is a problem with that. A user cannot write his wallet data in /var/lib/zcash. If you look at bitcoin's .service you can see --disable-wallet, means it only stores the blockchain. I thought about making 2 service files, one user level and one system level with wallet disabled. The problem is that Zcash requires running fetch-parameters on the first run; this download special keys in ~/.zcash-params and this location is not configurable. If there was a way to download to /var/lib/zcash, I would have done it. I'm open for suggestions.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...