> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://exgo.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 為什麼有區塊沒有打包交易，礦工忘記了？

礦工打包空塊主要的原因是，礦工為了充分利用礦機，在接收到新區塊的區塊頭資訊且還沒來得及驗證該區塊內的交易，在這個時間差內，礦工進行挖礦，如果在這個時間窗口內，剛好挖到區塊，礦工就會選擇打包空塊，發佈區塊。因為在不清楚上一個區塊打包了哪些交易的情況下，礦工打包交易，可能會與前一個區塊打包的交易相同，這將導致礦工挖出的區塊被判無效（非法），有撿了芝麻丟了西瓜的風險。