recompile pb, adjust TransactionType constructors