Created by: dagurval
Backports for build, configuration and most importantly an infinate mempool bug.
cargo test && ./contrib/run_functional_tests.sh