Package Details: bitcoin-cash-node 23.0.0-0

Git Clone URL: https://aur.archlinux.org/bitcoin-cash-node.git (read-only, click to copy)
Package Base: bitcoin-cash-node
Description: Bitcoin Cash Node with bitcoind, bitcoin-tx, bitcoin-seeder and bitcoin-cli
Upstream URL: https://bitcoincashnode.org
Licenses: MIT
Conflicts: bitcoin-cli, bitcoin-daemon, bitcoin-seeder, bitcoin-tx
Provides: bitcoin-cli, bitcoin-daemon, bitcoin-seeder, bitcoin-tx
Submitter: quest
Maintainer: quest
Last Packager: quest
Votes: 1
Popularity: 0.012488
First Submitted: 2020-02-27 07:19
Last Updated: 2021-04-15 04:05

Required by (10)

Sources (6)

Latest Comments

JKAbrams commented on 2021-06-07 04:48

Conflicts: bitcoin-cli, bitcoin-daemon, bitcoin-seeder, bitcoin-tx

This is just stupid, makes it not possible to run bitcoin and bitcoin cash on the same machine.

The ticker war is over, please start playing nice by renaming to bitcoincash-cli etc.

AlD commented on 2021-02-18 00:04

I created the bitcoin-cash(-qt) packages that address the below concerns and then some. Here's the commit message (https://aur.archlinux.org/cgit/aur.git/commit/?h=bitcoin-cash&id=3224ab8b548e35bb3550222d99b0c10fd57282e1):

bitcoin-cash(-qt)

  • Remove hacky user/directory management in postinstall scripts
  • Add systemd-sysusers and systemd-tmpfiles configs
  • Make bitcoin user a system user
  • Get rid of potentially harmful directory removals
  • Only bundle the GUI binary stuff in the -qt package and make it depend on the base package
  • Merge packages into a single split PKGBUILD
  • Add RuntimeDirectory to service units

Feel free to merge the changes back into this pkgbuild. Otherwise I'll try to keep the fork up to date.

quest commented on 2020-11-21 01:53

If you want to send me a diff for the PKGBUILD that can rename the directory on removal, and restore it on install that would be great.

pizzaman commented on 2020-11-20 23:50

@quest That makes sense, but also you have to consider the possible MAJOR catastrophic monetary and time consequences of deleting people's wallet.dat and 100s GB of blockchain without any warning. I couldn't find references Archlinux's policy regarding user data, but I see this akin to deleting /user/pictures when you uninstall GIMP.

What about one of these:
- Rename vs Remove and inform user it has been renamed?
- Information on the package about the possibility of deleted user data https://bbs.archlinux.org/viewtopic.php?id=234413
- Leave to the user to remove/rename folder after uninstall

quest commented on 2020-11-20 02:45

I can't replicate your error, in fact the install script creates /run/bitcoin, just double checked.

As for the srv directory, I remove it because the bitcoin packages use the same path. There are many packages that are not compatible with that data directory.

pizzaman commented on 2020-11-19 20:53

bitcoind[903]: Error: Unable to create the PID file '/run/bitcoin/bitcoind.pid': No such file or directory

Directory /run/bitcoin doesn't exist. Creating it manually and changing owership to bitcoin:bitcoin fixes the problem until the next reboot.

You might want to pass along a tmpfile.d config https://wiki.archlinux.org/index.php/Systemd#systemd-tmpfiles_-_temporary_files

Also in your post_remove you "rm -rf /srv/bitcoin /run/bitcoin" imo, this is quite dangerous since it might accidentally delete wallet.dat/blockchain if people decide to upgrade to a different package or whatnot.