dashpay / bls-signatures

BLS signatures in C++, using the relic toolkit
Apache License 2.0
10 stars 34 forks source link

feat(rust): allow to move G1 and G2 elements between threads #87

Closed shumkov closed 9 months ago

shumkov commented 9 months ago

In Drive ABCI we would like to move elements between threads since they are part of validators set abstraction. After the code expection it seems to me that we are safe to do that since G1 and G2 elements are immutable and we do not change internal state and do not keep refs in the other abstractions