mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-21 08:31:52 +03:00
e9bf0ec12b
* Check types of messages returned from other peers * Check message type data structures at startup, check that no peeer messages that expect replies are broadcast, and dynamically check return types of messages that do expect replies. * Type hint protocol message type check functions * lint * typo * add replay_type decorator * add api reply decorations * typo * Don't check non full-node broadcast messages * Distinguish internal vs peer protocol error Added Changelog Moved static check to import time Moved protocol timeouts to chia/protocols/protocol_timing.py Comment typos Rename create_request -> send_request Comment that INVALID_PROTOCOL_MESSAGE is bannable, not temporary * Call static check at module import time * Rename message_response_ok * Improve protocol checking for outgoing message validation * Type-o * reset submodule Co-authored-by: almog <almogdepaz@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
address_manager_store.py | ||
address_manager.py | ||
connection_utils.py | ||
introducer_peers.py | ||
node_discovery.py | ||
outbound_message.py | ||
rate_limits.py | ||
reconnect_task.py | ||
server.py | ||
ssl_context.py | ||
start_farmer.py | ||
start_full_node.py | ||
start_harvester.py | ||
start_introducer.py | ||
start_service.py | ||
start_timelord.py | ||
start_wallet.py | ||
upnp.py | ||
ws_connection.py |