I don't see any reason to make the calls independently. In fact I don't see a reason to get the index at all.
e
-----Original Message-----
From: Libbitcoin [
mailto:libbitcoin-bounces@lists.dyne.org] On Behalf Of Amir Taaki
Sent: Tuesday, August 26, 2014 6:34 PM
To: libbitcoin@???
Subject: [Libbitcoin] merge fetch_transaction_index() with fetch_transaction() or keep separate?
hey guys, how often is getting the height and index in a block useful
for a transaction? does it make sense to merge the fetch_transaction()
and fetch_transaction_index() calls simplifying the interface but
lowering the fetch_transaction() performance (which is very high).