Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何重置块计数值或完全重新启动 regtest?
现在getblockcount命令返回给我一个6120.
getblockcount
6120
$ bitcoin-cli getblockcount 6120
重新加载后bitcoind值getblockcount不会重置为 0
bitcoind
我只需要删除文件夹regtest内的子目录.bitcoin
regtest
.bitcoin
您可以安全地删除regtest子目录并重新启动 Bitcoin Core 以开始新的 regtest
https://developer.bitcoin.org/examples/testing.html