def get_tx_status(self, txhash): return unwrap1( self.execute("SELECT status FROM tx_data WHERE txhash = ?", (txhash, )).fetchone())
def get_tx_status(self, txhash): return unwrap1(self.execute("SELECT status FROM tx_data WHERE txhash = ?", (txhash, )).fetchone())
def find_coin(self, txhash, outindex): return unwrap1( self.execute("SELECT id FROM coin_data WHERE txhash = ? and outindex = ?", (txhash, outindex)).fetchone() )
def find_coin(self, txhash, outindex): return unwrap1( self.execute( "SELECT id FROM coin_data WHERE txhash = ? and outindex = ?", (txhash, outindex)).fetchone())