diff options
| author | Cory Fields <[email protected]> | 2017-01-18 18:15:00 -0500 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2017-02-02 16:13:52 -0500 |
| commit | 2046617b5e06ddb7f960b28219c155995542f029 (patch) | |
| tree | 53a62fc8ab3fc3361f026f7c1f6429d0456a5887 /src/httpserver.cpp | |
| parent | Dont deserialize nVersion into CNode, should fix #9212 (diff) | |
| download | discoin-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