mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-11 01:28:17 +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 | ||
farmer_protocol.py | ||
full_node_protocol.py | ||
harvester_protocol.py | ||
introducer_protocol.py | ||
pool_protocol.py | ||
protocol_message_types.py | ||
protocol_state_machine.py | ||
protocol_timing.py | ||
shared_protocol.py | ||
timelord_protocol.py | ||
wallet_protocol.py |