Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chain width expansion DoS #924

Open
braydonf opened this issue Jan 7, 2020 · 1 comment
Open

Chain width expansion DoS #924

braydonf opened this issue Jan 7, 2020 · 1 comment
Milestone

Comments

@braydonf
Copy link
Contributor

braydonf commented Jan 7, 2020

The attacks leverage unprotected resources for a denial-of-service by filling the disk and exhausting the CPU with unnecessary header and block data. This forces the node to halt operation. The attack difficulty ranges from difficult to easy. There are currently limited guards for some of the attacks that require checkpoints to be enabled. This paper describes a solution that does not require enabling or maintaining checkpoints and provides improved security.

The complete paper:
https://bcoin.io/papers/bitcoin-chain-expansion.pdf

Further discussion:
https://www.mail-archive.com/[email protected]/msg08391.html

The branch:
https://github.com/bcoin-org/bcoin/tree/chain-expansion

@braydonf braydonf added this to the v3.0.0 milestone Jan 7, 2020
@braydonf braydonf changed the title Chain Width Expansion DoS Chain width expansion DoS Jan 8, 2020
@braydonf
Copy link
Contributor Author

braydonf commented Jan 8, 2020

Related time warp issue #925 that should be considered in relation to chain width expansion. It's further discussed on the mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant