diff options
| author | Gavin Andresen <[email protected]> | 2012-08-27 10:22:57 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-08-27 10:22:57 -0400 |
| commit | ea2fda46c3d12a17ebba07c139b4cd65ea0b63d9 (patch) | |
| tree | a67b1e81895b1289899efd39653a512e91fa187e /src/script.cpp | |
| parent | Alert system DoS prevention (diff) | |
| download | discoin-ea2fda46c3d12a17ebba07c139b4cd65ea0b63d9.tar.xz discoin-ea2fda46c3d12a17ebba07c139b4cd65ea0b63d9.zip | |
Special-case the last alert for alert-key-compromised case
Hard-code a special nId=max int alert, to be broadcast if the
alert key is ever compromised. It applies to all versions, never
expires, cancels all previous alerts, and has a fixed message:
URGENT: Alert key compromised, upgrade required
Variations are not allowed (ignored), so an attacker with
the private key cannot broadcast empty-message nId=max alerts.
Diffstat (limited to 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions