diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-12-07 15:31:32 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-12-11 11:18:50 +0100 |
commit | 8fc174aae64882d43549ad57bece0c23805e567b (patch) | |
tree | 8355916a07305d3b08bd9ec83c1309821901bd02 /src/qt | |
parent | 44fef99e666e85caa7616765412d7becf97ab673 (diff) | |
download | bitcoin-8fc174aae64882d43549ad57bece0c23805e567b.tar.xz |
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.
Github-Pull: #7181
Rebased-From: 9bbe71b641e2fc985daf127988a14a67c99da50a
Diffstat (limited to 'src/qt')
0 files changed, 0 insertions, 0 deletions