I have bitcoind
version 23.0 running on a machine in regtest
mode.
I then start another instance on another machine and perform addnode "x.x.x.x:xxxx" "add"
to connect to the first instance.
The result: the new instance connects fine, syncs block headers, but not blocks.
getpeerinfo
shows:
[
{
"id": 0,
<snip>
"network": "ipv4",
"services": "0000000000000408",
"servicesnames": [
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"last_transaction": 0,
"last_block": 0,
"bytessent": 1045,
"bytesrecv": 1329,
"timeoffset": 0,
"version": 70016,
"subver": "/Satoshi:23.0.0/",
"inbound": false,
"bip152_hb_to": false,
"bip152_hb_from": false,
"startingheight": 110,
"synced_headers": 110,
"synced_blocks": -1,
"inflight": [
],
"addr_relay_enabled": true,
"addr_processed": 1,
"addr_rate_limited": 0,
"permissions": [
],
"minfeefilter": 0.00001000,
<snip>
"connection_type": "manual"
}
]
My bitcoin.conf
looks like this:
listen=1
server=1
prune=2000
regtest=1
rpcauth=<snip>
port=<snip>
rpcport=18443
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
getblockcount
returns 110
on the first machine and 0
on the second, confirming that no blocks were synced.
Why is this happening and how to get block sync going?