code: def calculate_fee(self, input_values):
          '''
          Tx, list(int) -> int
          Inputs don't know their value without the whole chain.
          '''
          return \
              sum(input_values) \
              - sum([utils.le2i(o.value) for o in self.tx_outs]f calculate_fee(self, input_values):
          '''
          Tx, list(int) -> int
          Inputs don't know their value without the whole chain.
          '''
          return \
              sum(input_values) \
              - sum([utils.le2i(o.value) for o in self.tx_outs])
docs: Tx, list(int) -> int
          Inputs don't know their value without the whole chain.