diff options
| author | Troy Giorshev <[email protected]> | 2020-06-29 14:15:06 -0400 |
|---|---|---|
| committer | Troy Giorshev <[email protected]> | 2020-09-22 22:01:14 -0400 |
| commit | 890b1d7c2b8312d41d048d2db124586c5dbc8a49 (patch) | |
| tree | 8ef643a06cbda557a380e7fa261af30c47bcac35 /src/script/script_error.cpp | |
| parent | Give V1TransportDeserializer an m_node_id member (diff) | |
| download | discoin-890b1d7c2b8312d41d048d2db124586c5dbc8a49.tar.xz discoin-890b1d7c2b8312d41d048d2db124586c5dbc8a49.zip | |
Move checksum check from net_processing to net
This removes the m_valid_checksum member from CNetMessage. Instead,
GetMessage() returns an Optional.
Additionally, GetMessage() has been given an out parameter to be used to
hold error information. For now it is specifically a uint32_t used to
hold the raw size of the corrupt message.
The checksum check is now done in GetMessage.
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions