Proof of replication and proof of location