Zebra/zebra-network/src
Alfredo Garcia 4543a25639
fix(network messages): add limits to rejection message and reason (#4687)
* add limits to rejection message and reason

* truncate bytes instead of characters

* change `MAX_REJECT_REASON_LENGTH` to match zcashd

* clippy

* avoid panix in the slice

* Escape and truncate error messages

Co-authored-by: teor <teor@riseup.net>
2022-06-29 21:58:00 +00:00
..
address_book fix(network): when connecting to peers, ignore invalid ports, and prefer canonical ports (#4564) 2022-06-14 04:58:37 +00:00
config fix(network): allow more inbound than outbound connections (#3527) 2022-02-14 16:00:31 +00:00
isolated fix(doc): Fix various doc warnings, part 3 (#4611) 2022-06-15 03:57:19 +00:00
meta_addr fix(network): when connecting to peers, ignore invalid ports, and prefer canonical ports (#4564) 2022-06-14 04:58:37 +00:00
peer lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
peer_set lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
protocol fix(network messages): add limits to rejection message and reason (#4687) 2022-06-29 21:58:00 +00:00
address_book.rs lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
address_book_updater.rs Add some missing tracing spans (#4660) 2022-06-23 07:46:02 +00:00
config.rs tests(config): Add tests for old configs (#4676) 2022-06-27 00:07:37 +00:00
constants.rs Release Zebra 1.0.0-beta.12 (#4714) 2022-06-29 17:14:16 +00:00
isolated.rs fix(doc): Fix various doc warnings, part 2 (#4561) 2022-06-14 01:22:16 +00:00
lib.rs Use `config.toml` instead of inner attributes for private links (#4627) 2022-06-15 23:21:27 +00:00
meta_addr.rs lint(clippy): add `unwrap_in_result` lint (#4667) 2022-06-28 06:22:07 +00:00
peer.rs fix(network): when connecting to peers, ignore invalid ports, and prefer canonical ports (#4564) 2022-06-14 04:58:37 +00:00
peer_set.rs 1. Create an API for a missing inventory registry, but don't register any missing inventory yet (#3255) 2022-02-06 23:05:52 +00:00
policies.rs fix(doc): Fix the syntax of links in comments (#4494) 2022-05-30 20:12:11 +00:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00