aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2017-01-18 18:15:00 -0500
committerCory Fields <[email protected]>2017-02-02 16:13:52 -0500
commit2046617b5e06ddb7f960b28219c155995542f029 (patch)
tree53a62fc8ab3fc3361f026f7c1f6429d0456a5887 /src/httpserver.cpp
parentDont deserialize nVersion into CNode, should fix #9212 (diff)
downloaddiscoin-2046617b5e06ddb7f960b28219c155995542f029.tar.xz
discoin-2046617b5e06ddb7f960b28219c155995542f029.zip
net: deserialize the entire version message locally
This avoids having some vars set if the version negotiation fails. Also copy it all into CNode at the same site. nVersion and fSuccessfullyConnected are set last, as they are the gates for the other vars. Make them atomic for that reason.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions