aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <[email protected]>2018-05-21 12:37:44 +0900
committerKarl-Johan Alm <[email protected]>2018-06-11 19:04:55 +0900
commit46847d69d2c1cc908fd779daac7884e365955dbd (patch)
tree03b2ab8a66fcf7a3f09f99d087faaed4ba0d7e75 /src/httpserver.cpp
parentmempool: Add explicit max_descendants (diff)
downloaddiscoin-46847d69d2c1cc908fd779daac7884e365955dbd.tar.xz
discoin-46847d69d2c1cc908fd779daac7884e365955dbd.zip
mempool: Fix max descendants check
The chain limits check for max descendants would check the descendants of the transaction itself even though the description for -limitdescendantcount says 'any ancestor'. This commit corrects the descendant count check by finding the top parent transaction in the mempool and comparing against that.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions