diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-10-04 17:55:12 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-10-05 13:32:20 +0200 |
| commit | 1df311118d79c04df1d41e044b19444cfda015da (patch) | |
| tree | 1c9c03183975fc78c8d59afdb5eac3c5613ab6b7 /src/script/interpreter.cpp | |
| parent | protocol.h: Move MESSAGE_START_SIZE into CMessageHeader (diff) | |
| download | discoin-1df311118d79c04df1d41e044b19444cfda015da.tar.xz discoin-1df311118d79c04df1d41e044b19444cfda015da.zip | |
protocol.h: Make enums in GetDataMsg concrete values
This concretizes the numbers and adds a comment to make it clear that
these numbers are fixed by the protocol, and may avoid people forgetting
to claim numbers in the future (e.g. issue #8500).
Also gets rid of a weird unused `MSG_TYPE_MAX` in the middle of the
enumeration (thanks @paveljanik for noticing).
Diffstat (limited to 'src/script/interpreter.cpp')
0 files changed, 0 insertions, 0 deletions