> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usexfg.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Run a Fuego Full Node with fuegod

> Start fuegod to join the Fuego P2P network, monitor sync progress, manage peer connections, and control mining using the interactive daemon console.

Running a full node with `fuegod` keeps you connected to the Fuego peer-to-peer network, validates transactions, and contributes to the health of the chain. You don't need to mine or hold XFG to run a node — it runs as a local daemon process with an interactive console you can use to inspect the blockchain, manage peers, and more.

## Start the daemon

<Steps>
  <Step title="Navigate to the build output directory">
    After building from source, the binaries are in `build/release/src` on Linux/macOS or `src/Release` on Windows.

    ```bash theme={null}
    cd fuego/build/release/src
    ```
  </Step>

  <Step title="Start fuegod">
    Run the daemon with no arguments to connect using default settings:

    ```bash theme={null}
    ./fuegod
    ```

    The daemon opens an interactive console and begins syncing the blockchain from the network's seed nodes.
  </Step>

  <Step title="Verify it's connecting">
    Once running, type `status` in the daemon console to check sync progress:

    ```
    status
    ```

    You'll see output similar to:

    ```
    FUEGO | MAINNET | syncing 123456/895000 (13.8%)
    **************************************************
    Network Hashrate: 12.34 kH/s, Difficulty: 5923740
    Block Major version: 9, Alt Blocks: 0
    Total active (unlocked) XFG :  4200000.0000000 (84%)
    Total XFG locked in COLD : 800000.0000000 (16%)
    Current amount of XFG in Network :  5000000.0000000 XFG
    **************************************************
    ```
  </Step>
</Steps>

<Note>
  Initial sync can take several hours depending on your hardware and internet connection, as the daemon downloads and verifies the full chain history. Leave the node running until the height shown by `status` matches the network height.
</Note>

## Common startup flags

You can customize network ports and verbosity at startup:

```bash theme={null}
./fuegod --rpc-bind-port 18180 --p2p-bind-port 10808 --log-level 2
```

| Flag              | Default | Description                                                |
| ----------------- | ------- | ---------------------------------------------------------- |
| `--rpc-bind-port` | `18180` | Port for the local RPC interface used by wallets and tools |
| `--p2p-bind-port` | `10808` | Port for peer-to-peer network connections                  |
| `--log-level`     | `2`     | Verbosity level from 0 (silent) to 4 (trace)               |

For a full list of available flags, run `./fuegod --help` before starting the daemon.

## Seed nodes

On first launch, `fuegod` connects to these hardcoded seed nodes to discover peers:

* `3.16.217.33:10808`
* `80.89.228.157:10808`
* `207.244.247.64:10808`
* `216.145.66.224:10808`

## Daemon console commands

Once `fuegod` is running, you can type commands directly into its interactive console. Use `help` at any time to list all available commands.

| Command                            | Description                                                      |
| ---------------------------------- | ---------------------------------------------------------------- |
| `status`                           | Print sync status, network hashrate, difficulty, and coin supply |
| `help`                             | Show all available commands                                      |
| `print_pl`                         | Print the current peer list (white and gray lists)               |
| `print_cn`                         | Print active peer connections                                    |
| `print_bc <start> [end]`           | Print blockchain info for a range of block heights               |
| `print_bci`                        | Print blockchain index information                               |
| `height`                           | Print the current local blockchain height                        |
| `print_block <hash\|height>`       | Print details for a specific block                               |
| `print_tx <hash>`                  | Print details for a specific transaction                         |
| `print_pool`                       | Print pending transactions in the mempool (long format)          |
| `print_pool_sh`                    | Print pending transactions in the mempool (short format)         |
| `set_log <0-4>`                    | Change the log verbosity level without restarting                |
| `save`                             | Flush and save blockchain data to disk safely                    |
| `start_mining <address> [threads]` | Start the built-in CPU miner for the given XFG address           |
| `stop_mining`                      | Stop the built-in miner                                          |
| `show_hr`                          | Display the current mining hashrate (requires active mining)     |
| `hide_hr`                          | Stop displaying the hashrate                                     |
| `print_ban`                        | List currently banned peer IPs                                   |
| `ban <IP> [seconds]`               | Ban a peer IP for an optional duration                           |
| `unban <IP>`                       | Remove a ban for a peer IP                                       |
| `rollback_chain <height>`          | Roll the chain back to a specific block height                   |
| `exit`                             | Gracefully shut down the daemon                                  |
