massa
massa copied to clipboard
Tests for bootstrap flood resilience
Using the massa-test-framework, we can write functional tests that ensures:
- [ ] A bootstrap server is resilient to Denial of Service attacks (if one attacker tries to flood it with requests, the server can still handle some of the normal bootstrap load)
- [ ] A flood on the bootstrap does not impact negatively other modules (the server should still finalize blocks, serve the API, etc.)
- [ ] Clients can, eventually, all bootstrap successfully even if the network is flooded,
- [ ] Having a large ledger may put more stress on the bootstrap process, but it should still work as expected