72 Commits (30d8b42fd35707dea5cc4c3360568114c7b84e19)
 

Author SHA1 Message Date
  arnaucube 30d8b42fd3 Add checks that len(key)<=maxKeyLen 3 years ago
  arnaucube 0921cac304 Update keyPath to be ceil(maxLevels/8) 3 years ago
  arnau 9eb7c8e265
Merge pull request #19 from vocdoni/feature/panic-toobig 3 years ago
  arnaucube cb14f1c75b Update err msgs,update maxUint8&16, comment checks 3 years ago
  Eduard S a8c13ab0db Return err before silently discarding bytes 3 years ago
  arnau d7c7563413
Merge pull request #20 from vocdoni/feature/SetRoot 3 years ago
  arnaucube 6062549cf0 Add tree.SetRoot (& WithTx) 3 years ago
  arnau 4227039df1
Merge pull request #16 from vocdoni/feature/rlocks 3 years ago
  arnaucube ed0cf70d57 Update VT goroutines errs & Update Pack&UnpackSibl 3 years ago
  arnau f09b0b0392
Merge pull request #14 from vocdoni/fix/missing-emptyHash-in-snapshottree 3 years ago
  arnaucube 64c8f8d0bc Add missing emptyHash in Snapshot Tree 3 years ago
  arnau de5914f453
Merge pull request #11 from vocdoni/fix/incNLeafs 3 years ago
  Eduard S baa1d7af48 Fix: Use GetNLeafsWithTx in incNLeafs 3 years ago
  arnau 4836f19755
Merge pull request #9 from vocdoni/fix/level 3 years ago
  arnaucube dff11f4a7f Fix level when going down & in computeHashes 3 years ago
  arnau 61b823d444
Merge pull request #8 from vocdoni/fix/vt-addbatch 3 years ago
  arnaucube 01408fba86 Use Prefix consts instead of hardcoded values in newLeafValue & newIntermediate methods 3 years ago
  arnaucube 1638860da0 Fix VirtualTree.addBatch bucket levels 3 years ago
  arnaucube bc23beb813 Add NewTreeWithTx function 3 years ago
  arnaucube 5b1a40f7f4 Small update on errors of UpdateWithTx, GenProofWithTx, ImportDump 3 years ago
  arnaucube 5f6c35e435 Update Snapshot & Root approach 3 years ago
  arnaucube 2514b3188f Update db usage to new dvote.db interface version 3 years ago
  arnaucube abc04a5868 Add AddBatch explanation in README.md 3 years ago
  arnaucube 01ec075b35 Update missing errors management 3 years ago
  arnaucube df896f6e96 Add option to input empty values at AddBatch 3 years ago
  arnaucube a8c7ea9808 Add circom test w/ circuit for CircomVerifierProof 3 years ago
  arnaucube 43cad713b0 Add Tree Circom Verifier Proofs 3 years ago
  arnaucube 465f0ed172 Add Tree.Snapshot method 3 years ago
  arnaucube f10265ed40 Migrate repository to github.com/vocdoni/arbo 3 years ago
  arnaucube f2d5037862 Add Usage section to README.md 3 years ago
  arnaucube 2c62f31446 Update upFromNodes function for unbalanced tree 3 years ago
  arnaucube c6059fcb75 Migrate kv db to go.vocdoni.io/dvote/db interface 3 years ago
  arnaucube 467f063129 Update check of already existing key on add 3 years ago
  arnaucube 0b2c3b07ed Update public methods signatures 3 years ago
  arnaucube f24fb28266 Small update addbatch_test.go org 3 years ago
  arnaucube d16ebd0c80 Rm functions related to Old AddBatch 3 years ago
  arnaucube f31ed1d2d1 AddBatch implement using VirtualTree.AddBatch 3 years ago
  arnaucube d09bd605bb Implement VirtualTree.addBatch with cpu parallelization 3 years ago
  arnaucube 4167583b8d Add dbgStats metrics 3 years ago
  arnaucube 2a57e223ef Add TestAddBatchBench 3 years ago
  arnaucube 13378d338e Remove cropping on pow of two the kvs for AddBatch 3 years ago
  arnaucube 03bb9f7447 AddBatch use Virtual Tree for empty trees/subtrees 3 years ago
  arnaucube 66f6ae14bb Add computeHashes at virtual tree 3 years ago
  arnaucube e13b09215e Add virtual tree graphviz printing methods 3 years ago
  arnaucube 8a8ec8c49e Implement Virtual Tree construction 3 years ago
  arnaucube 6dcbbdf4a5 Replace naive AddBatch by optimized AddBatch 3 years ago
  arnaucube 0eda440d93 Update CaseB to handle repeated keys cases 3 years ago
  arnaucube 0dee3bc050 AddBatch tests abstract code reusage 3 years ago
  arnaucube da268badbb Simplify cyclomatic complexity of AddBatch 3 years ago
  arnaucube f364cf6137 AddBatch: add CaseE, add parallelization on CaseB 3 years ago