Miner Prerequisites
Last updated
Was this helpful?
Last updated
Was this helpful?
The VM will not need a lot of resources to run a miner - the most resources will be consumed during the blockchain syncs (for both Bitcoin and Stacks). For this example, we'll be assuming a host with x86_64
architecture (commands may also work on any Debian-derived distribution)
A single CPU system with at least 4GB of memory and 1TB of disk space should be considered the minimum required specs to run the miner.
Minimum CPU of: 1 vCPU
Minimum Memory of: 4GB Memory
Minimum Storage of: 1TB Disk
to allow for chainstate growth
as of July 2022:
Bitcoin chainstate is roughly 420GB
Stacks chainstate is roughly 45GB
Disk Configuration
Two options here - either are fine but it's recommended to mount the chainstate from a separate disk that only contains the chainstate (option 1)
Separate disks for chainstate(s) and OS:
mount a dedicated disk for bitcoin at /bitcoin
of 1TB
mount a dedicated disk for stacks-blockchain at /stacks-blockchain
of at least 100GB
root volume /
of at least 25GB
Combined Disk for all data:
root volume /
of at least 1TB
Create the required directories:
If using mounted disks: mount the disks to each filesystem created above - edit /etc/fstab
to automount these disks at boot.
Example:
Mount the disks sudo mount -a
You can use the scripts/prerequisites.sh to install everything:
The following packages are required, and used by the rest of these docs