package sqlite

const getBlocksByMtimeQuery = `
select pos,data,mtime
from blocks b
where b.mtime > ?
order by b.mtime asc
limit ?
`

const countBlocksQuery = `
select count(*) from blocks b
`

const getBlockQuery = `
select pos,data,mtime from blocks b where b.pos = ?
`

const getTimestampQuery = `
select strftime('%s', 'now')
`
