use getFromTx method.
remove unused txdb methods.
more unused methods.