453 Commits

Author SHA1 Message Date
Rostyslav Tyshko
79d8bfb864 fix test_open_db_restart 2025-05-30 16:19:40 -04:00
Rostyslav Tyshko
b57d6f5d21 rm test for useless case 2025-05-30 15:58:57 -04:00
Rostyslav Tyshko
baf43f9780 fix build CI 2025-05-30 15:38:48 -04:00
Rostyslav Tyshko
4d7cda0001 Merge branch 'main' into start_from_block 2025-05-30 15:28:31 -04:00
Rostyslav Tyshko
0c9bbb5dde fmt 2025-05-30 15:25:21 -04:00
Rostyslav Tyshko
9cd81c62eb fix start_from_config_update_chain fn 2025-05-30 15:25:02 -04:00
Rostyslav Tyshko
9609595525 fix NodeChainStore's new fn according to snapshoting logic 2025-05-30 15:24:40 -04:00
Rostyslav Tyshko
6a351419d6 imports 2025-05-30 15:24:06 -04:00
Rostyslav Tyshko
a9f8dff7e9 same 2025-05-30 15:23:55 -04:00
Rostyslav Tyshko
9b8ddb0580 add deserialization of nullifier and transaction from snapshot 2025-05-30 15:23:41 -04:00
Rostyslav Tyshko
87e6363686 addblock id getter, deserialization of account and commintmant from snapshot 2025-05-30 15:23:09 -04:00
Rostyslav Tyshko
88da732d5c clear out situation when one tries to start a DB without a block 2025-05-30 15:22:15 -04:00
Rostyslav Tyshko
13d8c72a82 serialize/deserialize TopSecretKeyHolder and UTXOSecretKeyHolder 2025-05-30 15:20:52 -04:00
Rostyslav Tyshko
fe79365c63 serialize/deserialize AddressKeyHolder 2025-05-30 15:20:29 -04:00
Rostyslav Tyshko
5e9499873d serialize/deserialize Account 2025-05-30 15:20:14 -04:00
tyshko-rostyslav
6a5ec2d953
Merge pull request #77 from vacp2p/schouhy/update-utxo-crate-3-add-randomness
3/3 Update utxo crate: Add randomness to UTXO
2025-05-30 08:45:39 +02:00
Sergio Chouhy
014cbc3c4d Merge branch 'main' into schouhy/update-utxo-crate-3-add-randomness 2025-05-29 11:06:24 -03:00
Pravdyvy
0d577da288
Merge pull request #73 from vacp2p/Pravdyvy/sparse-merkle-tree-storage-preparation
Sparse Merkle Tree -> HashSet Migration
2025-05-28 21:17:40 +03:00
Oleksandr Pravdyvyi
9ad013253a fix: suggestions added 2 2025-05-28 20:32:43 +03:00
tyshko-rostyslav
81ae388ac4
Merge pull request #74 from vacp2p/storage-merkle-tree-preparation
Hash Storage merkle tree serialization
2025-05-28 07:29:34 +02:00
tyshko-rostyslav
880c0e6802
Merge pull request #80 from vacp2p/snapshhot_preparation
DB Snapshot preparation
2025-05-28 07:26:18 +02:00
Oleksandr Pravdyvyi
8d3ee36392 fix: suggersion added 1 2025-05-28 08:23:54 +03:00
Rostyslav Tyshko
a642946665 add asserts to test 2025-05-28 01:05:44 -04:00
tyshko-rostyslav
895c6490bb
Merge pull request #76 from vacp2p/schouhy/update-utxo-crate-2-remove-nullifier-attribute
2/3 Update utxo crate: Remove nullifier attribute from UTXO
2025-05-27 07:04:50 +02:00
Rostyslav Tyshko
0b1a1c03dc fmt 2025-05-23 15:51:31 -04:00
Rostyslav Tyshko
b69969942a add out fn for transaction, nullifier and account 2025-05-23 15:51:21 -04:00
Rostyslav Tyshko
c71e1b9f8b add out fn for block_id and commitment 2025-05-23 15:50:51 -04:00
Rostyslav Tyshko
611436a943 add getters for account 2025-05-23 15:50:16 -04:00
Rostyslav Tyshko
ee26147dde add getters for transaction and nullifier 2025-05-23 15:49:59 -04:00
Rostyslav Tyshko
4350b69a18 add getters for block_id and commitment 2025-05-23 15:49:27 -04:00
Rostyslav Tyshko
caaa6108d8 add handle for snapshot 2025-05-23 15:48:09 -04:00
Rostyslav Tyshko
a53e8f708c fix destroy fn 2025-05-23 15:47:51 -04:00
Rostyslav Tyshko
d9e82f4ffc fix new fn 2025-05-23 15:47:39 -04:00
Rostyslav Tyshko
b89dcb7fca add new db keys 2025-05-23 15:47:20 -04:00
Rostyslav Tyshko
e94173aa12 add new column family 2025-05-23 15:46:52 -04:00
Oleksandr Pravdyvyi
958e1dcb9c fix: tests fix 2025-05-23 09:10:34 +03:00
Oleksandr Pravdyvyi
9bf0ec9de7 fix: fmt 2025-05-23 09:07:53 +03:00
Oleksandr Pravdyvyi
cb22a95df2 fix: smt/imt replaced with sets 2025-05-23 09:04:04 +03:00
Oleksandr Pravdyvyi
00297db3ab feat: indexed tree migration 1 2025-05-22 00:13:17 +03:00
Oleksandr Pravdyvyi
00fe02c1d1 fix: merge updates 2025-05-21 08:34:03 +03:00
Oleksandr Pravdyvyi
77062e2e4e Merge branch 'main' into Pravdyvy/sparse-merkle-tree-storage-preparation 2025-05-21 08:31:15 +03:00
tyshko-rostyslav
f33c2f14e5
Merge pull request #75 from vacp2p/schouhy/update-utxo-crate-1-remove-utxo-tree
1/3 Update utxo crate: Remove UTXO Tree
2025-05-20 13:36:44 +02:00
tyshko-rostyslav
e6184e4bd8
Merge pull request #67 from vacp2p/schouhy/fix-shared-key-derivation
Fix AES key derivation for encryption / decryption
2025-05-20 13:36:27 +02:00
Sergio Chouhy
da5a0c8749 clippy 2025-05-17 17:01:50 -03:00
Sergio Chouhy
ecaa6874ce fix imports 2025-05-17 17:00:41 -03:00
Sergio Chouhy
67422a5cd8 fmt 2025-05-16 22:33:38 -03:00
Sergio Chouhy
81f0cf72ae fix unused imports 2025-05-16 22:25:28 -03:00
Sergio Chouhy
ef5d026074 fix tests 2025-05-16 22:23:35 -03:00
Sergio Chouhy
b6700f8adb fmt 2025-05-16 22:21:43 -03:00
Sergio Chouhy
efcd797648 fmt 2025-05-16 22:07:34 -03:00