calculateFee
Calculates the fee of a given transaction. Returns `Amount::ZERO` if tx
is a coinbase transaction.
To calculate the fee for a `Transaction` with inputs not owned by this wallet you must manually insert the TxOut(s) into the tx graph using the `insert_txout` function.
Note tx
does not have to be in the graph for this to work.