many change from clams

cache txdb to disk
snd db ver
Commits on Aug 16, 2013
change int64 to int64_t Mar 31, 2014