diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-12-07 15:31:32 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-12-10 12:14:06 +0100 |
| commit | 9bbe71b641e2fc985daf127988a14a67c99da50a (patch) | |
| tree | 6d13cf5ecbceb44ec633ad07b435799c6c73e4f5 /src/chainparams.cpp | |
| parent | Merge pull request #7179 (diff) | |
| download | discoin-9bbe71b641e2fc985daf127988a14a67c99da50a.tar.xz discoin-9bbe71b641e2fc985daf127988a14a67c99da50a.zip | |
net: Add and document network messages in protocol.h
- Avoids string typos (by making the compiler check)
- Makes it easier to grep for handling/generation of a certain message type
- Refer directly to documentation by following the symbol in IDE
- Move list of valid message types to protocol.cpp:
protocol.cpp is a more appropriate place for this, and having
the array there makes it easier to keep things consistent.
Diffstat (limited to 'src/chainparams.cpp')
0 files changed, 0 insertions, 0 deletions