TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby freeworkalmost 8 years ago
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>

no comments

no comments