Eduard S
8b63ca8661
Merge pull request #17 from iden3/feature/update-poseidon
...
Update to last Poseidon (go-iden3-crypto) version
2021-03-08 15:33:13 +01:00
arnaucube
01751931ef
Update to last Poseidon (go-iden3-crypto) version
...
Update to last Poseidon version (which includes the changes of the reference implementation from
26ddaa91db )
Compatible with update at circomlib
(cf853c1cc9 )
2021-03-08 15:25:42 +01:00
arnau
bb53e6ad1a
Merge pull request #16 from iden3/feature/nolog
...
Remove Database closed log message
2021-01-19 16:58:51 +01:00
Eduard S
ba186604a7
Remove Database closed log message
2021-01-19 16:56:30 +01:00
Eduard S
5a669a1b39
Merge pull request #15 from iden3/feagture/pebble-upd
...
Upgrade Pebble version & go mod tidy
2021-01-05 11:50:53 +01:00
arnaucube
3d074f3195
Upgrade Pebble version & go mod tidy
...
To include the last changes of Pebble that fixes the cgo issues, from:
c2b05f12d7
2021-01-05 10:57:43 +01:00
arnaucube
d73b96c55f
Initialize Siblings to avoid null on json marshal
...
Initialize Siblings to avoid null on json marshal of empty siblings
2020-12-31 10:11:58 +01:00
Eduard S
4280a9914f
Merge pull request #14 from iden3/feature/sc-siblings
...
Add SC proof generator (siblings)
2020-12-30 10:34:51 +01:00
arnaucube
48e4633d12
Add SC proof generator (siblings)
2020-12-30 10:20:45 +01:00
Eduard S
8f3905f15f
Merge pull request #13 from iden3/feature/upgrade-linters
...
Upgrade linter rules
2020-12-18 13:02:19 +01:00
arnaucube
5c7c03eca1
Rm db.Info, rm go-iden3-core dependency
...
Rm db.Info, rm go-iden3-core dependency, update version of
go-iden3-crypto
2020-12-18 12:34:52 +01:00
arnaucube
e5a3d7e049
Upgrade linter rules
2020-12-18 11:56:07 +01:00
arnau
730707e565
Merge pull request #12 from iden3/feature/fixroot
...
Fix loading root key
2020-12-15 15:20:17 +01:00
Eduard S
2b4090bb7d
Fix loading root key
2020-12-15 15:12:18 +01:00
Eduard S
4a8397a456
Merge pull request #11 from iden3/feature/upd-circomproof
...
Add lvl on proof siblings for circom compatibility
2020-12-03 10:53:30 +01:00
arnaucube
b45fb42b32
Add lvl on proof siblings for circom compatibility
...
Add extra level on circom siblings proof generation for circom circuits
compatibility.
2020-12-02 22:03:03 +01:00
Eduard S
ad30c8309b
Merge pull request #10 from iden3/feature/circomproofs-upd
...
Update Circom proofs for compatibility, add parsers
2020-11-03 12:56:30 +01:00
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"
```
2020-11-03 12:03:14 +01:00
arnau
a7d8f38bc5
Merge pull request #9 from iden3/feature/update
...
Feature/update
2020-10-21 13:08:05 +02:00
Eduard S
b03ccf232a
Improve PebbleStorage.Iterate performance
2020-10-20 12:35:58 +02:00
Eduard S
5a00ae9be5
Return ErrReachedMaxLevel in Get when appropriate
2020-10-20 12:26:52 +02:00
arnau
e76f9f6ce0
Merge pull request #8 from iden3/fix/hash-parsers
...
Fix Hash bytes & *big.int parsers
2020-09-27 21:28:45 +02:00
arnaucube
acf3838e06
Fix Hash bytes & *big.int parsers
2020-09-27 21:27:41 +02:00
arnaucube
fb20b52185
Add Hash type hex parser
2020-09-19 11:57:36 +02:00
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.
2020-09-02 14:33:54 +02:00
arnaucube
3093442590
Add golangci-lint to GHA & fix lint warnings
2020-08-29 18:35:05 +02:00
arnaucube
3232fdd5a4
Add NewHashFromBytes & update comments
2020-08-29 18:11:52 +02:00
arnaucube
cda85ddc27
Fix mt.Update existing leaf & GenerateCircomVerifierProof
2020-08-25 12:04:32 +02:00
a_bennassar
dc656fdd32
Merge pull request #7 from iden3/circomproofs
...
Add CircomProofs for Addition & Update
2020-08-19 11:24:43 +02:00
arnaucube
d9271ab11b
Update to new Poseidon version
2020-08-19 10:37:12 +02:00
arnaucube
1f1bd54b93
mt.Update CircomProof generator w/ test
2020-08-15 16:42:08 +02:00
arnaucube
7b7b9a12fc
AddAndGetCircomProof generating CircomProcessorProof
2020-08-15 16:42:08 +02:00
arnaucube
2a9b5651a7
Add CircomProcessorProof & CircomVerifierProof
2020-08-15 16:42:01 +02:00
arnaucube
93b40ef73e
Add PebbleDB db-Storage interface implementation
2020-08-15 16:33:54 +02:00
arnaucube
75e24244a1
Small fixes
2020-07-23 22:27:38 +02:00
arnau
cdad1f2608
Merge pull request #5 from iden3/feature/update
...
Add mt.Update(key, value) method
2020-07-23 22:10:10 +02:00
arnaucube
3cba052c2a
Add mt.Update(key, value) method
2020-07-23 22:05:53 +02:00
arnau
4768d854db
Merge pull request #4 from iden3/feature/get
...
Add mt.Get to retrieve a value for the given key
2020-07-23 21:36:07 +02:00
arnaucube
c01a9f4e46
Add mt.Get to retrieve a value for the given key
2020-07-23 21:34:35 +02:00
arnaucube
f7a00186cd
Update Poseidon version, add mt.Snapshot
2020-07-23 12:24:38 +02:00
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
2020-07-14 22:37:56 +02:00
arnaucube
3d1b7886ea
Add DumpLeafs & ImportDumpedLeafs for MerkleTree backup functionality
2020-07-08 15:40:16 +02:00
arnaucube
1883b404ba
Update mt.Delete for empty Tree cases
2020-07-08 08:48:53 +02:00
arnau
e68d9e31d4
Merge pull request #3 from iden3/feature/delete-leaf
...
Add mt.Delete(key) with test vectors
2020-07-08 00:06:52 +02:00
arnaucube
3b1436b495
Add mt.Delete(key) with test vectors
2020-07-08 00:05:30 +02:00
arnau
adf72a1f9c
Merge pull request #2 from iden3/GraphViz
...
Correction to the GraphViz function when drawing empty nodes
2020-07-03 21:21:21 +02:00
arnaucube
f54d9b4072
Update hash.String(), fix hash.Hex(), add TestGraphViz, add Hash parsers tests
2020-07-03 21:16:59 +02:00
ToniRamirezM
92522104d8
Correction to the GraphViz function when drawing empty nodes
2020-07-03 18:07:33 +02:00
arnaucube
532de89fa7
Add more tests, update README.md
2020-07-01 17:41:41 +02:00
arnaucube
39f0736eaf
Add proof Siblings methods for circom compatibility
2020-07-01 14:57:44 +02:00