This is an attempt to implement CouchDB checkpoint comparison for PouchDB, to be able to pick up interrupted replications even though checkpoint writing is in an unknown state. Mismatching checkpoints causes replication to start over from change 0
This gist is a request for comments from people familiar with both JS and Erlang, to see if they are functionally identical