LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 456 forks source link

Advanced test coverage related to PeerBook management and peer list poisoning #4283

Closed jondubois closed 4 years ago

jondubois commented 5 years ago

Description

More tests are needed to verify that PeerBook management is working under unusual scenarios. Some things to check (note that this is not an exhaustive list):

Related issue: https://github.com/LiskHQ/lisk-sdk/issues/4279

Motivation

PeerBook management is a complex feature which requires more thorough testing.

Acceptance Criteria

ManuGowda commented 4 years ago

Closing this issue as the tests are covered https://github.com/LiskHQ/lisk-sdk/blob/90372bbe6831249ceb7b1a97aa259de749964f2c/elements/lisk-p2p/test/unit/peer_book/new_list.ts#L131