For a given transaction, I have its incoming transactions and I am trying to get the number of the block of those transactions. This seems like something that cannot achieve directly.
I am working on python with Json RPC and I want to work directly on the block-chain on my computer and not to use online API such as blockchain.info.
How can I get efficiently the block number of a given transaction?