No more PEM in crypto interface
Fix for purge_batch_cache, and _check_full_sync
Renamed seq to last_seq
Merge pull request #256 from NielsZeilemaker/fix_sequence_number_check

Fix sequence number check