arnaucube
e5a3d7e049
Upgrade linter rules
4 years ago
arnau
730707e565
Merge pull request #12 from iden3/feature/fixroot
Fix loading root key
4 years ago
Eduard S
2b4090bb7d
Fix loading root key
4 years ago
Eduard S
4a8397a456
Merge pull request #11 from iden3/feature/upd-circomproof
Add lvl on proof siblings for circom compatibility
4 years ago
arnaucube
b45fb42b32
Add lvl on proof siblings for circom compatibility
Add extra level on circom siblings proof generation for circom circuits
compatibility.
4 years ago
Eduard S
ad30c8309b
Merge pull request #10 from iden3/feature/circomproofs-upd
Update Circom proofs for compatibility, add parsers
4 years ago
arnaucube
566079f626
Update Circom proofs for compatibility,add parsers
Update Circom proofs for compatibility,add parsers.
CircomProcessorProof & CircomVerifierProof have been tested to be
compatible into a circom circuit at versions:
```
"circom": "0.5.27",
"circomlib": "0.2.4"
```
4 years ago
arnau
a7d8f38bc5
Merge pull request #9 from iden3/feature/update
Feature/update
4 years ago
Eduard S
b03ccf232a
Improve PebbleStorage.Iterate performance
4 years ago
Eduard S
5a00ae9be5
Return ErrReachedMaxLevel in Get when appropriate
4 years ago
arnau
e76f9f6ce0
Merge pull request #8 from iden3/fix/hash-parsers
Fix Hash bytes & *big.int parsers
4 years ago
arnaucube
acf3838e06
Fix Hash bytes & *big.int parsers
4 years ago
arnaucube
fb20b52185
Add Hash type hex parser
4 years ago
arnaucube
eeb949f8c3
Add pebble Batch implementation for db.Tx
Add pebble Batch implementation for db.Tx, and update db.Tx Put & Add methods
to return error.
4 years ago
arnaucube
3093442590
Add golangci-lint to GHA & fix lint warnings
4 years ago
arnaucube
3232fdd5a4
Add NewHashFromBytes & update comments
4 years ago
arnaucube
cda85ddc27
Fix mt.Update existing leaf & GenerateCircomVerifierProof
4 years ago
a_bennassar
dc656fdd32
Merge pull request #7 from iden3/circomproofs
Add CircomProofs for Addition & Update
4 years ago
arnaucube
d9271ab11b
Update to new Poseidon version
4 years ago
arnaucube
1f1bd54b93
mt.Update CircomProof generator w/ test
4 years ago
arnaucube
7b7b9a12fc
AddAndGetCircomProof generating CircomProcessorProof
4 years ago
arnaucube
2a9b5651a7
Add CircomProcessorProof & CircomVerifierProof
4 years ago
arnaucube
93b40ef73e
Add PebbleDB db-Storage interface implementation
4 years ago
arnaucube
75e24244a1
Small fixes
4 years ago
arnau
cdad1f2608
Merge pull request #5 from iden3/feature/update
Add mt.Update(key, value) method
4 years ago
arnaucube
3cba052c2a
Add mt.Update(key, value) method
4 years ago
arnau
4768d854db
Merge pull request #4 from iden3/feature/get
Add mt.Get to retrieve a value for the given key
4 years ago
arnaucube
c01a9f4e46
Add mt.Get to retrieve a value for the given key
4 years ago
arnaucube
f7a00186cd
Update Poseidon version, add mt.Snapshot
4 years ago
arnaucube
716a0ede91
Add db package
Add own db (storage) package with db.Storage interface, with Memory & Leveldb
implementations, and with tests.
Adapted with several changes from
https://github.com/iden3/go-iden3-core/tree/v0.0.8/db
4 years ago
arnaucube
3d1b7886ea
Add DumpLeafs & ImportDumpedLeafs for MerkleTree backup functionality
4 years ago
arnaucube
1883b404ba
Update mt.Delete for empty Tree cases
4 years ago
arnau
e68d9e31d4
Merge pull request #3 from iden3/feature/delete-leaf
Add mt.Delete(key) with test vectors
4 years ago
arnaucube
3b1436b495
Add mt.Delete(key) with test vectors
4 years ago
arnau
adf72a1f9c
Merge pull request #2 from iden3/GraphViz
Correction to the GraphViz function when drawing empty nodes
4 years ago
arnaucube
f54d9b4072
Update hash.String(), fix hash.Hex(), add TestGraphViz, add Hash parsers tests
4 years ago
ToniRamirezM
92522104d8
Correction to the GraphViz function when drawing empty nodes
4 years ago
arnaucube
532de89fa7
Add more tests, update README.md
4 years ago
arnaucube
39f0736eaf
Add proof Siblings methods for circom compatibility
4 years ago
arnau
b07b7ea325
Merge pull request #1 from iden3/feature/add-gha
Add GHA
4 years ago
arnau
414882d194
Add GHA
4 years ago
arnaucube
28d9e9badb
Update golint warnings
4 years ago
arnaucube
cc927fae93
Add Graphviz methods
4 years ago
arnaucube
e8f819d8a0
Add Proof verification
4 years ago
arnaucube
6254619875
Add Proof generation
4 years ago
arnaucube
ade873256a
Add(k, v), add tests compatible with circomlib
4 years ago
arnaucube
dcacaf11e7
Add node methods
4 years ago
arnaucube
e5a087d93c
Add used utils
4 years ago
arnaucube
95070a7878
Init MT adapting from https://github.com/iden3/go-iden3-core/tree/v0.0.8
4 years ago