I need to configure port forwarding, perhaps?
Forwarding port 8333
To have a fully functional Bitcoin node, you need to forward incoming connections on port 8333 to the device running Bitcoin core.
We first assign a static local IP to our bitcoin core host, e.g., 192.168.1.201, then we create a forwarding rule to that host for all incoming connections on port 8333.
I use pfSense, and this is my config for a static IP. Consult online to accomplish this on your router.
Where is the conf
file for bitcoin-core
? The wiki says to check:
/home/username/.bitcoin/bitcoin.conf
But I see:
nicholas@mordor:~$
nicholas@mordor:~$ tree snap/bitcoin-core/
snap/bitcoin-core/
├── 81
├── common
└── current -> 81
3 directories, 0 files
nicholas@mordor:~$
nicholas@mordor:~$ snap info bitcoin-core
name: bitcoin-core
summary: peer-to-peer network based digital currency
publisher: Bitcoin Core
store-url: https://snapcraft.io/bitcoin-core
contact: https://github.com/bitcoin-core/packaging/issues/new?title=snap:
license: unset
description: |
Bitcoin is a free open source peer-to-peer electronic cash system that
is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to
check for double-spending.
commands:
- bitcoin-core.cli
- bitcoin-core.daemon
- bitcoin-core.qt
snap-id: lGr3hNoqLtHTp2yV1BgnqyElQtLUDPeA
tracking: latest/stable
refresh-date: today at 00:40 PST
channels:
latest/stable: 0.20.1 2020-08-31 (81) 105MB -
latest/candidate: ↑
latest/beta: ↑
latest/edge: 0.20.1 2020-08-31 (81) 105MB -
0.20/stable: 0.20.1 2020-08-02 (75) 105MB -
0.20/candidate: ↑
0.20/beta: ↑
0.20/edge: 0.20.1 2020-08-02 (75) 105MB -
0.19/stable: 0.19.1 2020-03-13 (64) 106MB -
0.19/candidate: ↑
0.19/beta: ↑
0.19/edge: 0.19.1 2020-08-02 (78) 106MB -
0.18/stable: 0.18.1 2019-08-09 (50) 107MB -
0.18/candidate: ↑
0.18/beta: ↑
0.18/edge: 0.18.1 2019-08-09 (50) 107MB -
0.17/stable: 0.17.1 2019-08-08 (42) 106MB -
0.17/candidate: ↑
0.17/beta: ↑
0.17/edge: 0.17.1 2019-08-08 (42) 106MB -
installed: 0.20.1 (81) 105MB -
nicholas@mordor:~$
nicholas@mordor:~$ man bitcoin-core
No manual entry for bitcoin-core
nicholas@mordor:~$
nicholas@mordor:~$ bitcoin-core.cli status
error: Could not connect to the server 127.0.0.1:8332
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
nicholas@mordor:~$
nicholas@mordor:~$ bitcoin-core.cli start
error: Could not connect to the server 127.0.0.1:8332
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
nicholas@mordor:~$
How do I run bitcoin-core
in prune mode? And, where is the conf
file?
The GUI:
But I'm just looking to use the console, and have no need, nor space, for the blockchain. Never mind the bandwidth.
I also checked: