#NEWLINE# def get_affecting_inputs( self , tx , output_set ) : #NEWLINE# #INDENT# tag = self . get_tag ( tx ) #NEWLINE# if ( ( tag is None ) or tag . is_genesis ) : #NEWLINE# #INDENT# return set ( ) #NEWLINE# #UNINDENT# tx . ensure_input_values ( ) #NEWLINE# aii = set ( ) #NEWLINE# for out_idx in output_set : #NEWLINE# #INDENT# aii . update ( self . get_xfer_affecting_inputs ( tx , tag . get_padding ( ) , inputs ) ) #NEWLINE# #UNINDENT# inputs = set ( [ tx . inputs [ i ] for i in aii ] ) #NEWLINE# return inputs