TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: I wrote a script to perform a “replay attack” on the Bitcoin network

2 点作者 freework将近 8 年前
To install, run: pip install moneywagon<p>and to perform the action:<p>moneywagon network-replay btc bch latest --verbose<p>That replays all transactions from the latest BTC block to the BCH network. You can also replay in the other direction:<p>moneywagon network-replay bch btc latest --verbose<p>It seems that the BCH devs did a good job of implementing replay protection, because every block I&#x27;ve tried to replay has failed. Maybe this tool can be useful when another currency tries to hard fork and they may not get replay protection quite right.<p>The code is here: <a href="https:&#x2F;&#x2F;github.com&#x2F;priestc&#x2F;moneywagon&#x2F;blob&#x2F;master&#x2F;moneywagon.." rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;priestc&#x2F;moneywagon&#x2F;blob&#x2F;master&#x2F;moneywagon...</a>.<p>Output of running the script looks like this: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;priestc&#x2F;09c945cad4ebeaa3f8a35deed1f5a4af" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;priestc&#x2F;09c945cad4ebeaa3f8a35deed1f5...</a>

暂无评论

暂无评论