near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.3k stars 600 forks source link

Consider moving transaction signature verification to a different thread #11708

Open bowenwang1996 opened 2 days ago

bowenwang1996 commented 2 days ago

As shown by @nagisa in this profile, signature verification takes a nontrivial amount of time when a chunk is applied. We should consider moving it to a separate thread and run signature verification concurrently with the rest of the chunk application. This will also allow use to utilize batch verification in the ed25519-dalek crate.