HomePhabricator

Further DoS prevention: Verify signatures last
4add41a2a6faUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Further DoS prevention: Verify signatures last

Loop over all inputs doing inexpensive validity checks first,
and then loop over them a second time doing expensive signature
checks. This helps prevent possible CPU exhaustion attacks
where an attacker tries to make a victim waste time checking
signatures for invalid transactions.

Details

Provenance
Gavin Andresen <gavinandresen@gmail.com>Authored on May 16 2012, 15:26
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING7a15109c043f: Remove invalid dependent orphans from memory
Branches
Unknown
Tags
Unknown

Event Timeline

Gavin Andresen <gavinandresen@gmail.com> committed rSTAGING4add41a2a6fa: Further DoS prevention: Verify signatures last (authored by Gavin Andresen <gavinandresen@gmail.com>).May 18 2012, 14:41