aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorTom Harding <[email protected]>2015-08-24 14:02:24 -0700
committerTom Harding <[email protected]>2015-09-03 10:16:59 -0700
commit9524c4d35cb6ec4bd7becf1d938d21c536669d1f (patch)
tree43a091af6800d6e88828f0abb04c35cb34046192 /src/script/script.cpp
parentMerge pull request #6576 (diff)
downloaddiscoin-9524c4d35cb6ec4bd7becf1d938d21c536669d1f.tar.xz
discoin-9524c4d35cb6ec4bd7becf1d938d21c536669d1f.zip
In (strCommand == "tx"), return if AlreadyHave()
The main effect is to exit processing for recently-rejected hashes, in case they are pushed to us without prior advertisement. This behavior was seen in the wild. An additional effect is to do early checks for mempool or mapOrphan existence. No logging or nDoS tracking is needed for failures of these checks.
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions