aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorJon Atack <[email protected]>2020-08-05 17:46:31 +0200
committerJon Atack <[email protected]>2020-08-26 11:56:59 +0200
commit39f1dc944554218911b0945fff7e6d06f3dab284 (patch)
tree297ad7f7e79d411fd5f69516d1edf91f7c12f742 /src/script/script_error.cpp
parentp2p: add CInv block message helper methods (diff)
downloaddiscoin-39f1dc944554218911b0945fff7e6d06f3dab284.tar.xz
discoin-39f1dc944554218911b0945fff7e6d06f3dab284.zip
p2p: remove nFetchFlags from NetMsgType TX and INV processing
The nFetchFlags code can be removed here because GetFetchFlags() can only add the MSG_WITNESS_FLAG, which is added to the CInv::type field. That CInv is only passed to AlreadyHave() or ToGenTxid(), and neither of those functions do anything different depending on whether the CInv type is MSG_TX or MSG_WITNESS_TX. Co-authored by: John Newbery <[email protected]>
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions