diff options
| author | Gavin Andresen <[email protected]> | 2012-05-16 11:26:56 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-05-18 10:41:18 -0400 |
| commit | 4add41a2a6fa1229277e00e01a8b4111e7cb21d6 (patch) | |
| tree | e14aa5904fa0d5597074ee80585db52ff3789612 /src/test/DoS_tests.cpp | |
| parent | Remove invalid dependent orphans from memory (diff) | |
| download | discoin-4add41a2a6fa1229277e00e01a8b4111e7cb21d6.tar.xz discoin-4add41a2a6fa1229277e00e01a8b4111e7cb21d6.zip | |
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.
Diffstat (limited to 'src/test/DoS_tests.cpp')
0 files changed, 0 insertions, 0 deletions