Page MenuHomePhabricator

[mempool] Bless the mempool with it's own reference to config
AbandonedPublic

Authored by schancel on May 3 2018, 20:30.

Details

Reviewers
jasonbcox
Group Reviewers
Restricted Project
Summary

As per title

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
mempool-config
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2495
Build 3118: Bitcoin ABC Buildbot (legacy)
Build 3117: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.May 3 2018, 20:49
deadalnix added inline comments.
src/validation.cpp
686

So this is kind of a problem, because UpdateMempoolForReorg is passed a config, but then we end up using a potentially different config. WHat's the larger picture here ?

src/validation.cpp
686

Maybe logging a warning if the config mismatch ? As logging as we are moving toward something that's consistent by default, it's great.