# Finality in a Proof-of-Work (PoW)

In a proof-of-Work (PoW) system, finality is typically achieved through the use of confirmations, which refer to the number of blocks that have been added to the chain after a particular block. The more confirmations a block has, the more secure it is considered to be. From the [Bitcoin whitepaper](https://bitcoin.org/bitcoin.pdf):&#x20;

> "The longest chain not only serves as proof of the sequence of events witnessed, but proof that it came from the largest pool of CPU power."

A chain can split into two different forks when two different miners mine a block at the same time. When that happens, it is quite difficult to determine which fork is the valid chain. Once one of the chains validates a block before the other chain completes it becomes the longest chain. The longest chain is the one with the longest most valid blocks attached.

The longest chain becomes officially the accepted chain and the transactions mined on the shorter chain are rejected. However, it is possible the transactions rejected on the shorter chain have been included in other blocks on the longest chain.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.botanixlabs.com/botanix/get-to-know-botanix/advanced/finality/finality-in-a-proof-of-work-pow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
