Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidp94 committed Nov 11, 2018
1 parent df7aa6f commit 012f731
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ These problem should be mitigated or solved at the consensus level.
If you want to run at noTx greater than 10 you will need more than 7GB
to add a bunch of swap space https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04

build everything
### Build everything

```
mkdir keys
Expand All @@ -128,14 +128,29 @@ cd build
cmake .. && make
```

### Run the tests

NOTE: Make sure you have a node running so the smart contract would be deployed and validate the transaction, you can use
`testrpc` or `ganache-cli`

```
cd ../tests/
python3 test.py
```

make sure you have a node running so the smart contract be be deployed and validate the transaction.
### Change the merkle tree depth and number of transactions to be aggregated

You'd need to update two files, and re-build the prover.

`testrpc`
In `pythonWrapper/helper.py`

```
tree_depth = 2
noTx = 4
```

In `src/roll_up_wrapper.hpp`

```
const int tree_depth = 2;
```

0 comments on commit 012f731

Please sign in to comment.