I've tried to run a Bitcoin node on Pi 4, but its SD card gave me errors due to (?)overheating so I've switched to a Rock 5B. It has 16GB RAM, a 1TB SD card works perfectly and it also has an M.2 slot (so I can replace the SD card with an NVME SSD drive). It's not an advertisement, just my own experience.