-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Limit version user agents to 256 bytes, rather than 2MB, needs failure tests * Limit all inv messages to 50,000 entries, existing tests cover this * Limit reject message strings based on network protocol, needs success and failure tests * Catch up as fast as possible if inventory rotation is delayed, existing tests cover this * Truncate inv channel hashes to 1000, needs success and failure tests * Limit inv registry size to 4 MB, needs over-limit tests for inv and addr * Test size constraints on version user agent, reject command, and reject reason (#13) * Test inventory registry memory limits for hashes and peers (#14) Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com> --------- Co-authored-by: teor <teor@riseup.net> Co-authored-by: Arya <aryasolhi@gmail.com>
- Loading branch information
1 parent
6ed1d49
commit 47cf0f4
Showing
9 changed files
with
531 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.