Skip to content

Commit

Permalink
Add proof of location example (#201)
Browse files Browse the repository at this point in the history
* feat: Add proof of location example

* Use dynamic number of iterations for square root

This increases the precision for small distances.

* feat: Add end to end test and fix scale

* fix: i64 neg implementation

* fix: Add better comments

* feat: Add convenience wrappers for i64_{add,sub}
  • Loading branch information
PhilippGackstatter authored Sep 26, 2024
1 parent bd4b5c0 commit 5432207
Show file tree
Hide file tree
Showing 2 changed files with 778 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/proof_of_location.inputs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"operand_stack": ["0","91657978","0","23348512"],
"advice_stack": ["0","91586434","0","23392655"]
}
Loading

0 comments on commit 5432207

Please sign in to comment.