mempool: rename functions with confusing names