コード例 #1
0
 def get_tx_status(self, txhash):
     return unwrap1(
         self.execute("SELECT status FROM tx_data WHERE txhash = ?",
                      (txhash, )).fetchone())
コード例 #2
0
ファイル: txdb.py プロジェクト: Andymeows/ngcccbase
 def get_tx_status(self, txhash):
     return unwrap1(self.execute("SELECT status FROM tx_data WHERE txhash = ?",
                                 (txhash, )).fetchone())
コード例 #3
0
ファイル: coindb.py プロジェクト: jimmysong/ngcccbase
 def find_coin(self, txhash, outindex):
     return unwrap1(
         self.execute("SELECT id FROM coin_data WHERE txhash = ? and outindex = ?", (txhash, outindex)).fetchone()
     )
コード例 #4
0
ファイル: coindb.py プロジェクト: ligi/ngcccbase
 def find_coin(self, txhash, outindex):
     return unwrap1(
         self.execute(
             "SELECT id FROM coin_data WHERE txhash = ? and outindex = ?",
             (txhash, outindex)).fetchone())