refactored trustchain verification, this should fix #33