> For the complete documentation index, see [llms.txt](https://service.block-pro.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://service.block-pro.net/testnet/celestia/services/addrbook.md).

# Addrbook

**Mocha testnet** · Chain ID `mocha-5`

An address book helps a consensus node discover peers. It does not contain blockchain state and cannot synchronize a node by itself.

Published URL: <https://files.block-pro.net/testnet/celestia/addrbook.json>

The existing service page describes hourly updates; freshness has not been independently confirmed. The original listing contains a double slash before addrbook.json; the address above is normalized and still requires a live check.

## Replace an address book

Download to a temporary file, leaving the current address book untouched.

```bash
curl -fL --retry 3 -o "$HOME/addrbook.download.json" https://files.block-pro.net/testnet/celestia/addrbook.json
```

Check that the downloaded file has an address list. This does not prove reachability or network membership.

```bash
jq -e '.addrs | type == "array"' "$HOME/addrbook.download.json"
```

Stop the node before changing its address book.

```bash
sudo systemctl stop celestia-appd
```

Back up the existing file. Skip only if this is a new node with no addrbook yet.

```bash
cp -p "$HOME/.celestia-app/config/addrbook.json" "$HOME/.celestia-app/config/addrbook.json.backup"
```

Install the downloaded file as the node user.

```bash
install -m 600 "$HOME/addrbook.download.json" "$HOME/.celestia-app/config/addrbook.json"
```

Start the node and check peer connections in the logs.

```bash
sudo systemctl start celestia-appd
```

Source: [BlockPro services](https://service.block-pro.net/testnet/celestia/validator-node/services-or-snapshot).
