each device has its own database, 10 tables

Address : latest scanned address
bills : table of the bill inserts
btcout : tally of bitcoin sent from device (in USD)
price : last bitcoin trading price polled every 5seconds
rawRESPONCE: not used
rawSEND: not used
recipts: transaction log from the api interface
session: action based logging, polled every 5 seconds
status: no longer used
timer: i++ on polling if inbalance is detected (pending payout) set to delay send 30seconds