Michael Hendricks
1c4aab926e
Retain only the most recent time samples
...
Remembering all time samples makes nTimeOffset slow to respond to
system clock corrections. For instance, I start my node with a system
clock that's 30 minutes slow and run it for a few days. During that
time, I accumulate 10,000 offset samples with a median of 1800
seconds. Now I correct my system clock. Without this change, my node
must collect another 10,000 samples before nTimeOffset is correct
again. With this change, I must only accumulate 100 samples to
correct the offset.
Storing unlimited time samples also allows an attacker with many IP
addresses (ex, a large botnet) to perform a memory exhaustion attack
against Bitcoin nodes. The attacker sends a version message from each
IP to his target, consuming more of the target's memory each time.
Time samples are small, so this attack might be impractical under the
old code, but it's impossible with the new code.
13 years ago
Michael Hendricks
5e1ddc4210
Only log time samples in debug mode
...
The full list of time samples is rarely useful outside of debugging.
The node's time offset, however is useful for discovering local clock
drift, so it's displayed in all logging modes.
13 years ago
Gavin Andresen
173efb1865
Merge pull request #670 from gavinandresen/rpcauth_speedup
...
Speed up RPC authentication (reworked pull from Joel Katz)
13 years ago
Gavin Andresen
f81ce5bd6d
Speed up RPC authentication (reworked pull from Joel Katz)
13 years ago
Gavin Andresen
43f20bb3c2
Merge pull request #534 from gavinandresen/DoSorphans
...
Denial-of-service prevention: low-difficulty blocks
13 years ago
Gavin Andresen
10fd7f6689
Orphan block fill-up-memory attack prevention
13 years ago
Gavin Andresen
eb5fff9e16
Moved checkpoints out of main, to prep for using them to help prevent DoS attacks
13 years ago
Gavin Andresen
a7120a3647
Merge pull request #666 from nobled/secstrings
...
Implement an mlock()'d string class for storing passphrases
13 years ago
Gavin Andresen
0305f60cad
Merge pull request #667 from laanwj/homeaddricons
...
Make home and addressbook icon more consistent with other toolbar icons
13 years ago
Gavin Andresen
e1b1055b46
Add missing command-line arguments to --help/-? output
13 years ago
Matt Corallo
2bc6cecebb
Move DNS Seed lookup to a new thread.
13 years ago
Wladimir J. van der Laan
24911ac65d
Make home and addressbook icon more consistent with other toolbar icons (make it blue and flip light source direction)
13 years ago
Dylan Noblesmith
94f778bdeb
Implement an mlock()'d string class for storing passphrases
...
SecureString is identical to std::string except with secure_allocator
substituting for std::allocator. This makes casting between them
impossible, so converting between the two at API boundaries requires
calling ::c_str() for now.
13 years ago
Wladimir J. van der Laan
d8b8640863
allow for filtering addresses and labels by searching for the typed string anywhere, not just at the beginning ( #641 )
13 years ago
Nils Schneider
b790077c37
update translation: de
13 years ago
Nils Schneider
8787ee699c
add translations: hu uk
13 years ago
Nils Schneider
f4894d9793
Merge pull request #662 from paraipan/master
...
Some patches...
13 years ago
Alex B
e92e97f1ee
Small fixes in both spanish translations
13 years ago
Nils Schneider
50aa850fc8
update translations: da de nl ru zh_TW
13 years ago
Nils Schneider
4b53cff901
add italian translation
13 years ago
Gavin Andresen
605ca141c7
Don't forget to bump release numbers in READMEs next time
13 years ago
Gavin Andresen
795faa595c
Bump version numbers to 0.5.1
13 years ago
Gavin Andresen
42eb76a054
Merge pull request #602 from wowus/master
...
Cleaned up critical section code.
13 years ago
Gavin Andresen
92979f8288
Merge pull request #634 from laanwj/doxygen
...
Add doxygen documentation
13 years ago
Gavin Andresen
0310cd6403
Merge pull request #632 from mndrix/deprecate-getblocknumber
...
Deprecate RPC getblocknumber
13 years ago
Gavin Andresen
4ad4f66327
Merge pull request #652 from TheBlueMatt/master
...
Update contrib/debian/ for 0.5.0 release and fix copyright file.
13 years ago
Gavin Andresen
e6389c3229
Update release process instructions
13 years ago
Gavin Andresen
67c454c67c
Bump version to 0.5.1
13 years ago
Wladimir J. van der Laan
fe9032709c
Merge pull request #653 from luke-jr/bugfix_transparent_tooltip
...
Bugfix: only make QListView transparent, not its tooltips
13 years ago
Luke Dashjr
a3c675d1a3
Bugfix: only make QListView transparent, not its tooltips
13 years ago
Matt Corallo
555d1cd02f
Update contrib/debian/ for 0.5.0 release and fix copyright file.
13 years ago
Wladimir J. van der Laan
c968b684ee
Merge pull request #646 from luke-jr/bugfix_MIT_icons
...
update debian copyright file for MIT icon relicensing
13 years ago
Luke Dashjr
aa1ed9265f
update debian copyright file for MIT icon relicensing
13 years ago
Wladimir J. van der Laan
459d3fb77b
relicense my own images as MIT
13 years ago
Pieter Wuille
f53c5ede73
close old db when rewriting
13 years ago
Gavin Andresen
b2d3b2d65d
Never remove database files on shutdown, it caused unreadable wallets on some testers' machines.
13 years ago
Gavin Andresen
1c15f88653
Only remove database log files on shutdown after wallet encryption/rewrite
13 years ago
Gavin Andresen
37971fcc76
Create new keypool for newly encrypted wallets.
13 years ago
Gavin Andresen
1b93ea0e31
Merge pull request #636 from gavinandresen/master
...
Fix crash-on-wallet-upgrade bug on OSX
13 years ago
Gavin Andresen
c4de918478
Tweak handling of boost filesystem versions
13 years ago
Gavin Andresen
8d0923109d
Fix crash-on-osx-on-shutdown bug. And cleanup CDB handling in Rewrite.
13 years ago
Gavin Andresen
709c1b267f
Fix boost filesystem incompatibility problem
13 years ago
Gavin Andresen
b6d11a3018
Merge pull request #635 from gavinandresen/encryptionbug
...
Prevent unencrypted private keys from being written to wallet.dat
13 years ago
Wladimir J. van der Laan
4585f7e2c1
add message about restarting bitcoin after encrypting wallet succesfully
13 years ago
Gavin Andresen
d764d9161e
Obsolete keypool and make sure database removes log files on shutdown.
13 years ago
Pieter Wuille
9e9869d0fe
Resilvering
13 years ago
Gavin Andresen
e6a729d2d8
Merge pull request #631 from luke-jr/free_icons
...
Free icons
13 years ago
Gavin Andresen
88a1b89452
Merge pull request #633 from laanwj/qtrpcconflict
...
RPC: do not launch Shutdown in a new thread in case we are running the UI
13 years ago
Wladimir J. van der Laan
af836ad588
Improve documentation for UI classes
13 years ago
Wladimir J. van der Laan
66112ed6e6
Example documented class
13 years ago