49 Commits (40a0fb9bff5415e10cdec79b42e0bffcf0d6edc8)

Author SHA1 Message Date
  arnaucube 2380214412 Extend Dump methods to work with Writer&Reader 2 years ago
  arnaucube d56ab859f1 Use DefaultThresholdNLeafs if cfg.ThresholdNLeafs is not defined 2 years ago
  arnaucube e8094038ee Complete upFromSubRoots cases & add test 2 years ago
  arnaucube 4b6d6efdca Add thresholdNLeafs configurable 2 years ago
  arnaucube 6cf1e58d9f Implement addBatchInDisk for big trees 3 years ago
  arnaucube 7c6316dcbd Update AddBatch to return invalids index + error 3 years ago
  arnaucube e8404e16f3 Fix oldLeafKeyFull size at method tree.down 3 years ago
  arnaucube 30d8b42fd3 Add checks that len(key)<=maxKeyLen 3 years ago
  arnaucube 0921cac304 Update keyPath to be ceil(maxLevels/8) 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
  arnaucube 6062549cf0 Add tree.SetRoot (& WithTx) 3 years ago
  arnaucube ed0cf70d57 Update VT goroutines errs & Update Pack&UnpackSibl 3 years ago
  arnaucube 64c8f8d0bc Add missing emptyHash in Snapshot Tree 3 years ago
  Eduard S baa1d7af48 Fix: Use GetNLeafsWithTx in incNLeafs 3 years ago
  arnaucube dff11f4a7f Fix level when going down & in computeHashes 3 years ago
  arnaucube 01408fba86 Use Prefix consts instead of hardcoded values in newLeafValue & newIntermediate methods 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 01ec075b35 Update missing errors management 3 years ago
  arnaucube df896f6e96 Add option to input empty values at AddBatch 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 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 4167583b8d Add dbgStats metrics 3 years ago
  arnaucube 03bb9f7447 AddBatch use Virtual Tree for empty trees/subtrees 3 years ago
  arnaucube 6dcbbdf4a5 Replace naive AddBatch by optimized AddBatch 3 years ago
  arnaucube 890057cd82 Add AddBatch CaseD 3 years ago
  arnaucube a4ada7e2ee Add CPU parallelization to buildTreBottomUp 3 years ago
  arnaucube a3473079de Add AddBatch CaseC 3 years ago
  arnaucube 6f43980c0f Add Tree.emptyHash & nLeafs methods 3 years ago
  arnaucube 8ede441191 Add Graphviz generation methods 3 years ago
  arnaucube c26b23c544 Add Mutex, integrate tx into Tree struct 3 years ago
  arnaucube 8af921667f Add tree.Update(k, v) method 3 years ago
  arnaucube f8ac4be02b Tests migrate from stretchr/testify to frankban/quicktest 3 years ago
  arnaucube f1665b1a15 Add Iterate, Dump, ImportDump methods to Tree 3 years ago
  arnaucube cf572f628e Add tree.AddBatch (using db.Tx) 3 years ago
  arnaucube 4cd2ff6182 Add tree.Get 3 years ago
  arnaucube bde87ca844 Add proof verification 3 years ago
  arnaucube 8c63b5d192 Add proof generation 3 years ago
  arnaucube 43cb6041c9 Add Tree.Add compatible with circomlib 3 years ago