Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: removed Arc and RwLock for triple/presignature storage #915

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

ChaoticTempest
Copy link
Member

No description provided.

@volovyks volovyks merged commit b654fba into serhii/presignature-storage Oct 30, 2024
3 checks passed
@volovyks volovyks deleted the phuong/simplify-storage branch October 30, 2024 10:46
ppca pushed a commit that referenced this pull request Oct 30, 2024
* basic redis setup in the same container

* formatting

* basic presignature-storage using redis

* presignature storage wrapped in arc and ewlock

* presignature storage redis functions implemented

* redis presignature storage used in presignature manager

* serialization for presignature

* warnings fixed

* presignature bad parameters error check

* min refactoring

* added redis config file path to dockerfile, added tf to mount /data volume

* it fix

* rust 2024 requirements

* start redis in it

* pull redis in it

* lock file update

* redis unit test

* comments 1

* comments 2

* triple manager functions renamed to match presiganture manager

* serialization simlified

* comments 3

* added start command to mpc-node and added redis URL format

* use account id as a part of redis storage key

* added full redis config, modified dockerfile to use it

* unnecessary port expose removed

* remove local redis config

* redis config update

* redis file ownership change

* fix persistent data issue

* fix redis unit test

* extend redis lifecycle

* clippy

* datastore triple storage removed

* refactor triple storage

* use redis to store triples

* fix rust typing issue

* 2 triple pre-check added

* add link to redis in setup-env

* use redis connection pool

* fmt

* change info to debug in storage layer

* rename count to lem

* develop

* Fix locks being acquired incorrectly (#914)

* chore: removed Arc and RwLock for triple/presignature storage (#915)

* Removed Arc and RwLock for triple/presignature storage

* fix conflicts

* changing dev workflow file to target Sig.Network AR

---------

Co-authored-by: kmaus-near <[email protected]>
Co-authored-by: Phuong Nguyen <[email protected]>
volovyks added a commit that referenced this pull request Nov 26, 2024
* basic redis setup in the same container

* formatting

* basic presignature-storage using redis

* presignature storage wrapped in arc and ewlock

* presignature storage redis functions implemented

* redis presignature storage used in presignature manager

* serialization for presignature

* warnings fixed

* presignature bad parameters error check

* min refactoring

* added redis config file path to dockerfile, added tf to mount /data volume

* it fix

* rust 2024 requirements

* start redis in it

* pull redis in it

* lock file update

* redis unit test

* comments 1

* comments 2

* triple manager functions renamed to match presiganture manager

* serialization simlified

* comments 3

* added start command to mpc-node and added redis URL format

* use account id as a part of redis storage key

* added full redis config, modified dockerfile to use it

* unnecessary port expose removed

* remove local redis config

* redis config update

* redis file ownership change

* fix persistent data issue

* fix redis unit test

* extend redis lifecycle

* clippy

* datastore triple storage removed

* refactor triple storage

* use redis to store triples

* fix rust typing issue

* 2 triple pre-check added

* add link to redis in setup-env

* use redis connection pool

* fmt

* change info to debug in storage layer

* rename count to lem

* develop

* Fix locks being acquired incorrectly (#914)

* chore: removed Arc and RwLock for triple/presignature storage (#915)

* Removed Arc and RwLock for triple/presignature storage

* fix conflicts

* in progress

* remove test output

* redis app storage removed

* remove starting block parameter

* remove redundant datastore setup

* add in memory variable for latest processed block

* remove datastore users and roles from tf

* datastore docker estup removed

* fix tf mistake

* fetch latest block using RPC

* clippy

* change log order

* revert mpc recovery tf changes

* revert mpc recovery tf changes

* renamings

* ignore RUSTSEC-2024-0399

* merge mistake fix

---------

Co-authored-by: kmaus-near <[email protected]>
Co-authored-by: Phuong Nguyen <[email protected]>
Co-authored-by: Serhii Volovyk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants