Пример #1
0
 def get_tx_status(self, txhash):
     return unwrap1(
         self.execute("SELECT status FROM tx_data WHERE txhash = ?",
                      (txhash, )).fetchone())
Пример #2
0
 def get_tx_status(self, txhash):
     return unwrap1(self.execute("SELECT status FROM tx_data WHERE txhash = ?",
                                 (txhash, )).fetchone())
Пример #3
0
 def find_coin(self, txhash, outindex):
     return unwrap1(
         self.execute("SELECT id FROM coin_data WHERE txhash = ? and outindex = ?", (txhash, outindex)).fetchone()
     )
Пример #4
0
 def find_coin(self, txhash, outindex):
     return unwrap1(
         self.execute(
             "SELECT id FROM coin_data WHERE txhash = ? and outindex = ?",
             (txhash, outindex)).fetchone())