Post
Topic
Board Electrum
Re: Electrum server discussion thread
by
Tachikoma
on 23/06/2012, 07:04:01 UTC

Code:
        current_id = self.safe_sql("""SELECT max(id) FROM tx_seq""");

If the table is indexed properly, it should be just as fast, too.  I'll try it on my node later and let you know how it works.


I tried that first but I got a tuple error of some kind. Let me know if you have more luck.