> For the complete documentation index, see [llms.txt](https://docs.aeternity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aeternity.com/aeternity-developer-tools/protocol/network-layer/sync.md).

# Sync

The Sync protocol is a fundamental component of æternity's network infrastructure, enabling nodes to exchange and synchronize state transitions across the distributed ledger in a secure and efficient manner. It defines how peers discover each other, communicate, and share blockchain data, even in environments where participants may not trust each other or could be acting maliciously. The documentation provides detailed specifications of the sync protocol, covering transport layer security, peer-to-peer networking, bootstrapping mechanisms, and synchronization procedures for blocks and transactions. Special attention is given to security considerations, including threat models and protection against various attack vectors.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Sync Overview</td><td><a href="/developer-documentation/protocol/sync.md">SYNC</a></td><td><a href="https://839505583-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FggVl0Jqy6Dd8f38hGk63%2Fuploads%2FO7MHc7XJYKrtCX2zPCz5%2Fflip-30deg-gradient2.svg?alt=media&amp;token=9a5fcdda-f853-495e-a65b-ac9c4272af37">flip-30deg-gradient2.svg</a></td></tr><tr><td>P2P Messages</td><td><a href="/developer-documentation/protocol/sync-1/p2p_messages.md">P2P messages</a></td><td><a href="https://839505583-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FggVl0Jqy6Dd8f38hGk63%2Fuploads%2FuCuUz6N9JVi7JNEARpet%2F30deg-gradient.svg?alt=media&amp;token=14b19a78-76dd-40be-b953-2b92048cd356">30deg-gradient.svg</a></td></tr><tr><td>Mempool/TX-pool Synchronization</td><td><a href="/developer-documentation/protocol/sync-1/tx_pool_sync.md">Mempool/TX-pool synchronization</a></td><td><a href="https://839505583-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FggVl0Jqy6Dd8f38hGk63%2Fuploads%2FFg8uXb2tgWcUjB3yscps%2Fflip-30deg-gradient.svg?alt=media&amp;token=7011595e-bad7-4b5e-926e-501080d42820">flip-30deg-gradient.svg</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aeternity.com/aeternity-developer-tools/protocol/network-layer/sync.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
