Pool txns according to input tx curve
use a tempdir for chainserver datadir