Skip to content

Commit

Permalink
P 893 enhance bitarcoss worker ceremony processing with multithreading (
Browse files Browse the repository at this point in the history
#2901)

* multithreading

* fix deadlock between workers

* change timeout to 30s

* remove some log

* remove some log

* optimize ceremony data sharing logic

* remove code for debugging

* fix fmt

* fix clippy

* change module name

* clean up code

* restore test_full_flow_with_3_ceremonies

* remove redundant match

* increase TCSNum to 64

* reorganize code structure

* fix test

* fix check_signBitcoin

* add SignBitcoinPayload to InitCeremony

* read threads count from cli (#2912)

* add CeremonyRoundCall

* change CreateSignTask to Request

* fix passing cli params

* fix timeout reply

* fix timeout reply

---------

Co-authored-by: Jayanring <[email protected]>
Co-authored-by: Kasper Ziemianek <[email protected]>
  • Loading branch information
3 people authored Jul 25, 2024
1 parent 4d41866 commit 1d0214f
Show file tree
Hide file tree
Showing 32 changed files with 1,596 additions and 1,623 deletions.
12 changes: 9 additions & 3 deletions bitacross-worker/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bitacross-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ members = [
"service",
"litentry/primitives",
"litentry/core/direct-call",
"bitacross/core/bc-task-receiver",
"bitacross/core/bc-task-processor",
"bitacross/core/bc-task-sender",
"bitacross/core/bc-enclave-registry",
"bitacross/core/bc-relayer-registry",
"bitacross/core/bc-signer-registry",
"bitacross/core/bc-musig2-ceremony",
"bitacross/core/bc-musig2-runner",
"bitacross/core/bc-musig2-event",
]

[patch."https://github.com/apache/teaclave-sgx-sdk.git"]
Expand Down
Loading

0 comments on commit 1d0214f

Please sign in to comment.