<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/ValidationInterfaceCallbacks/blockConnected",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel28ValidationInterfaceCallbacksC14blockConnectedyAA5BlockC_AA0H17TreeEntrySnapshotVtcSgvp"
  },
  "title" : "blockConnected"
}
-->

# blockConnected

Called when a valid block has been connected to the best chain.

```
let blockConnected: ((Block, BlockTreeEntrySnapshot) -> Void)?
```

## Parameters

`block`

The connected block (owned copy).

`entry`

An owned snapshot of the block tree entry.