HomePhabricator

Remove contention on signature cache during block validation
ef0f422519deUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Remove contention on signature cache during block validation

Since block validation happens in parallel, multiple threads may be
accessing the signature cache simultaneously. To prevent contention:

  • Turn the signature cache lock into a shared mutex
  • Make reading from the cache only acquire a shared lock
  • Let block validations not store their results in the cache

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Dec 8 2012, 21:49
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGf9cae832e6f5: Parallelize script verification
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGINGef0f422519de: Remove contention on signature cache during block validation (authored by Pieter Wuille <pieter.wuille@gmail.com>).Jan 8 2013, 01:00