# 4.5 严格的黑名单管理

为了保证链上交易的安全性，DxChain将从EVM底层和系统内置合约两个方面控制黑名单地址：系统内置合约提供黑名单管理机制，EVM底层验证内部合约交易。

每笔交易的地址验证流程如下：

1. 交易在被打包执行时，将优先查询交易发送方、接收方的地址是否合法（例如是否被拉黑，是否为黑客地址等）。若地址不合法则不会执行交易。
2. 当交易在EVM中被执行时，查询交易中可能存在的内部合约地址是否合法。

<figure><img src="/files/IBNcF1NW40qIR5sMqLah" alt=""><figcaption><p>图7：交易检测流程</p></figcaption></figure>

经过EVM底层和系统内置合约两层机制的筛选，可以确保任一包含黑名单地址的交易都被精准拦截，保护用户的资产安全。其中黑名单地址主要由用户自行举报或来自其他区块链资产失窃案件，所有相关地址都会被拉黑添加至黑名单数据库。


---

# 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://dxchain.gitbook.io/dxchain-wiki/zhong-wen-she-qu/dxchain-v3-ji-shu-wen-dang/4.-ji-shu-de-she-ji-yuan-li-yu-jia-gou/4.5-yan-ge-de-hei-ming-dan-guan-li.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.
