revert txout api change

reverting txout script name change as per @lian request