Commit Graph

  • 07ccfd3090 add tree.RootExists() to query for a root existence in the database main p4u 2025-09-05 00:07:09 +02:00
  • 6dee1243bb update dependecy to davinci-node Lucas Menendez 2025-07-07 15:59:34 +02:00
  • 84e8a18844 update dependecy to davinci-node f/remove_vocdoni_node_dependencies Lucas Menendez 2025-07-07 15:59:34 +02:00
  • 3263cce4e3 add CloneAndVacuum() p4u 2025-06-27 16:37:54 +02:00
  • 703dba35f5 fix: replace parallel processing error with fallback to sequential processing p4u 2025-06-27 13:47:04 +02:00
  • 64090db004 add importDumpKeysPerBatch constant to limit the number of keys added at once when imorting p4u 2025-06-27 09:02:14 +02:00
  • 1f0789e5cb expose tree database p4u 2025-06-27 02:18:16 +02:00
  • a9d4b8c0e9 update testvectors go module to use last davinci-node p4u 2025-06-17 20:18:24 +02:00
  • add4d97e38 fix HashBigInts() append fix/tree_big/HashBigInts Jordi Pinyana 2025-06-17 17:20:51 +01:00
  • 58f6f1404a update davinci-node p4u 2025-06-10 09:40:08 +02:00
  • aa44b532ff rename package vocdoni-z-sandbox to davinci-node p4u 2025-06-10 09:36:04 +02:00
  • b35dcc9c1f replace the key of the bigints values db by the hash of the values Lucas Menendez 2025-05-13 12:48:16 +02:00
  • 3128ae3b77 replace the key of the bigints values db by the hash of the values f/fix_bigints_db_key Lucas Menendez 2025-05-13 12:48:16 +02:00
  • ba865f55fa use the smt verifier for testing compatibility with gnark f/add_poseidon2_on_bn254 p4u 2025-04-29 16:32:27 +02:00
  • 21b6eda5d5 add working poseidon2 p4u 2025-04-29 15:02:46 +02:00
  • 6675a28002 poseidon2: normalize inputs p4u 2025-04-28 23:20:59 +02:00
  • 2b68f3f093 add poseidon2 bn254 hash function p4u 2025-04-26 10:53:20 +02:00
  • 84e7901031 feature: multiple big int keys and multi values support (#35) Lucas Menéndez 2025-04-14 10:56:42 +02:00
  • 2de3a30bb7 named returns f/multi-big-value-support Lucas Menendez 2025-04-11 13:57:50 +02:00
  • 710bece00a make required bigint helper public and remove ExplicitZero from SwapEndianess Lucas Menendez 2025-04-11 12:39:27 +02:00
  • e1622c1ead more renames Guido Iribarren 2025-04-11 11:56:42 +02:00
  • 25cacc52ff rename fullValue and methods Guido Iribarren 2025-04-11 11:27:18 +02:00
  • 0e45a2b291 fix lock Guido Iribarren 2025-04-11 11:11:41 +02:00
  • 7da2881324 final changes Lucas Menendez 2025-04-11 09:37:34 +02:00
  • c5b8b9def3 go version upgraded to 1.24 Lucas Menendez 2025-04-11 09:24:43 +02:00
  • ad9158e682 debug traces removed Lucas Menendez 2025-04-11 09:08:06 +02:00
  • a0d38076e6 fix GenerateGnarkVerifierProof Guido Iribarren 2025-04-10 12:47:18 +02:00
  • 78afacef5d debug traces Lucas Menendez 2025-04-10 10:23:09 +02:00
  • fe46bde657 fix key encoding Lucas Menendez 2025-04-10 10:11:10 +02:00
  • 32eb6a6930 update multiposeidon to work with large bigints Lucas Menendez 2025-04-08 08:34:14 +02:00
  • a7ce325c13 smal fixes for safe use of big ints Lucas Menendez 2025-04-02 13:07:16 +02:00
  • 10be9eebaa tests fixed Lucas Menendez 2025-03-28 14:29:13 +01:00
  • 7f346d7909 fix issues with multiple large values with some hashes Lucas Menendez 2025-03-28 13:10:28 +01:00
  • 63b7d46e88 dependencies updated Lucas Menendez 2025-03-27 12:26:11 +01:00
  • d3c9062d6e gnark proof generation and test Lucas Menendez 2025-03-26 22:28:59 +01:00
  • 7cf58a4cc6 include mimc7 as hasher Lucas Menendez 2025-03-26 13:02:36 +01:00
  • 396e933ebd linter suggestions Lucas Menendez 2025-03-26 12:52:22 +01:00
  • 72ab6fc585 new internal datase to store large and multiple values encoded, new methods to handle big ints as keys and multiple big ints as values of tree leaves Lucas Menendez 2025-03-26 12:49:13 +01:00
  • b775477907 Revert "dirty commit" Lucas Menendez 2025-03-25 17:15:45 +01:00
  • f5d41490b8 dirty commit Lucas Menendez 2025-03-25 16:34:14 +01:00
  • ebebc60ea9 new tests f/davinci-arbo Lucas Menendez 2025-03-21 13:57:50 +01:00
  • b09faf8bdb simple test fails going down in the tree Lucas Menendez 2025-03-21 13:38:00 +01:00
  • 7a328a8e0c initial refactor to handle mk with bigints Lucas Menendez 2025-03-20 18:27:24 +01:00
  • fe435211c9 add collision check at test TestHashMoreThan32BytesMiMC arithmetic-hash-bytes-collision arnaucube 2025-01-27 13:36:48 +01:00
  • 5a0f6981f7 add hash bytes collision test arnaucube 2025-01-09 08:43:00 +01:00
  • a7c0c5f8c3 implement modulo chunking on mimc hashing p4u 2024-12-17 09:26:35 +01:00
  • d5171b4191 implement modulo chunking on mimc hashing mimc_modulo p4u 2024-12-17 09:26:35 +01:00
  • e64315269b update deps p4u 2024-12-16 11:39:34 +01:00
  • 4aa3818aa9 add HashFunctionMiMC_BN254 Gui Iribarren 2024-12-11 13:04:08 +01:00
  • cfebf3e7fd add HashMultiPoseidon Gui Iribarren 2024-12-10 11:53:49 +01:00
  • d6f2552bc8 add HashFunctionMiMC_BN254 f/multiposeidon Gui Iribarren 2024-12-11 13:04:08 +01:00
  • 67a67bacd6 add HashMultiPoseidon Gui Iribarren 2024-12-10 11:53:49 +01:00
  • 8e1cc943f4 feature: mimc bls12 377 (#31) Lucas Menéndez 2024-11-20 12:26:23 +01:00
  • f9dbfaa82c missing tests f/mimc_bls12_377 Lucas Menéndez 2024-11-18 10:16:06 +01:00
  • 5c73e593c7 fixing endianess issues Lucas Menéndez 2024-11-18 09:17:54 +01:00
  • 8b237b4e83 missing constant Lucas Menéndez 2024-11-14 13:32:38 +01:00
  • 8c64011235 initiañ mimc hash implementation over bls12_377 ecc from gnark Lucas Menéndez 2024-11-14 13:27:51 +01:00
  • d65a4c3a43 last linter fixes Lucas Menéndez 2024-11-14 13:01:33 +01:00
  • 168f95711d more handling missing errors Lucas Menéndez 2024-11-14 12:55:06 +01:00
  • 1bc882bdb4 handling missing errors Lucas Menéndez 2024-11-14 12:51:36 +01:00
  • e0f0cf73b7 trying to fix some linter errors Lucas Menéndez 2024-11-14 12:47:07 +01:00
  • d55ce63204 disabling unused Lucas Menéndez 2024-11-14 12:44:08 +01:00
  • 06824ce44d update github workflows actions Lucas Menéndez 2024-11-14 12:11:29 +01:00
  • ffd61a98c8 update node version on github workflow p4u 2024-11-06 10:05:29 +01:00
  • 9388fcd6e4 update go version on github workflow p4u 2024-11-06 09:51:02 +01:00
  • 015a3c8d9a update README archive notice p4u 2024-11-06 09:48:40 +01:00
  • 3554342282 update dependencies, upgrade code and add a memory database p4u 2024-11-06 09:45:28 +01:00
  • 8a3b3769d1 Merge pull request #30 from vocdoni/mvdan-patch-1 arnaucube 2023-01-28 08:34:09 +01:00
  • 6abaac3b84 README: note the archival mvdan-patch-1 Daniel Martí 2023-01-27 21:54:55 +00:00
  • c3e910e2af Update value len limit,add checks on leaf addition arnaucube 2022-09-03 16:42:04 +02:00
  • c31f1a57c1 Merge pull request #29 from vocdoni/use_io_writer arnaucube 2022-08-26 08:52:15 +02:00
  • c9650553a1 use io.Writer interface for Dump methods use_io_writer p4u 2022-08-25 22:36:28 +02:00
  • 40a0fb9bff Merge pull request #28 from vocdoni/feature/dump-writer-reader Pau 2022-08-25 16:27:37 +02:00
  • 2380214412 Extend Dump methods to work with Writer&Reader feature/dump-writer-reader arnaucube 2022-08-25 10:04:09 +02:00
  • 688a2e814d Update README.md arnaucube 2022-02-04 11:12:22 +01:00
  • a5eeb50d5e Upgrade to last goff version arnaucube 2022-01-07 11:33:41 +01:00
  • d56ab859f1 Use DefaultThresholdNLeafs if cfg.ThresholdNLeafs is not defined arnaucube 2021-12-17 09:57:03 +01:00
  • 96ccfdb50f Merge pull request #26 from vocdoni/feature/addbatch-bigtrees-indisk arnau 2021-12-17 09:42:07 +01:00
  • e8094038ee Complete upFromSubRoots cases & add test feature/addbatch-bigtrees-indisk arnaucube 2021-11-23 13:32:50 +01:00
  • 4b6d6efdca Add thresholdNLeafs configurable arnaucube 2021-11-22 21:09:16 +01:00
  • 17bf867f61 Add bytes-bitmap test vectors arnaucube 2021-11-12 18:59:08 +01:00
  • fc45fbde3f Add Pack & Unpack siblings test vectors arnaucube 2021-11-11 11:40:11 +01:00
  • 6cf1e58d9f Implement addBatchInDisk for big trees arnaucube 2021-10-14 16:59:26 +02:00
  • 3f7e769974 Merge pull request #24 from vocdoni/feature/addbatch-invalids-error-struct arnau 2021-10-11 15:45:49 +02:00
  • 7c6316dcbd Update AddBatch to return invalids index + error feature/addbatch-invalids-error-struct arnaucube 2021-10-06 19:19:16 +02:00
  • 63f7e8866e Merge pull request #21 from vocdoni/feature/keyPath-key-len-check arnau 2021-10-05 18:08:55 +02:00
  • e8404e16f3 Fix oldLeafKeyFull size at method tree.down feature/keyPath-key-len-check arnaucube 2021-10-05 17:28:47 +02:00
  • 30d8b42fd3 Add checks that len(key)<=maxKeyLen arnaucube 2021-10-04 11:27:21 +02:00
  • 0921cac304 Update keyPath to be ceil(maxLevels/8) arnaucube 2021-09-30 17:34:47 +02:00
  • 9eb7c8e265 Merge pull request #19 from vocdoni/feature/panic-toobig arnau 2021-09-30 17:31:44 +02:00
  • cb14f1c75b Update err msgs,update maxUint8&16, comment checks feature/panic-toobig arnaucube 2021-09-30 16:12:00 +02:00
  • a8c13ab0db Return err before silently discarding bytes Eduard S 2021-09-23 17:44:14 +02:00
  • d7c7563413 Merge pull request #20 from vocdoni/feature/SetRoot arnau 2021-09-27 15:14:31 +02:00
  • 6062549cf0 Add tree.SetRoot (& WithTx) feature/SetRoot arnaucube 2021-09-27 12:33:09 +02:00
  • 7485896579 Add hash benchmarks feature/some-benches Eduard S 2021-09-23 17:25:45 +02:00
  • 4227039df1 Merge pull request #16 from vocdoni/feature/rlocks arnau 2021-09-21 17:40:09 +02:00
  • ed0cf70d57 Update VT goroutines errs & Update Pack&UnpackSibl feature/rlocks arnaucube 2021-09-20 18:09:32 +02:00
  • d897d70962 Add comments for code review review/edu0 Eduard S 2021-09-13 15:54:50 +02:00
  • f09b0b0392 Merge pull request #14 from vocdoni/fix/missing-emptyHash-in-snapshottree arnau 2021-09-09 12:29:59 +02:00
  • 64c8f8d0bc Add missing emptyHash in Snapshot Tree fix/missing-emptyHash-in-snapshottree arnaucube 2021-09-09 11:42:41 +02:00