Package Details: bitcoin-cash-node 27.0.0-1

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.000000
First Submitted: 2020-02-27 07:19 (UTC)
Last Updated: 2023-12-14 04:40 (UTC)

Required by (7)

Sources (6)

Latest Comments

jettscythe commented on 2023-10-21 06:59 (UTC)

Never mind! Fixed it with a clean build :p

jettscythe commented on 2023-10-21 06:41 (UTC)

error while loading shared libraries: libboost_filesystem.so.1.81.0: cannot open shared object file: No such file or directory, which makes sense: https://archlinux.org/packages/extra/x86_64/boost-libs/ provides 1.83 now

JKAbrams commented on 2021-06-07 04:48 (UTC)

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 (UTC) (edited on 2021-02-18 00:04 (UTC) by AlD)

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 (UTC)

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 (UTC) (edited on 2020-11-20 23:51 (UTC) by pizzaman)

@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 (UTC)

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 (UTC) (edited on 2020-11-19 20:56 (UTC) by pizzaman)

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.