Pieter Wuille
0aa89c08ff
Prevent stuck block download in large reorganisations
...
In cases of very large reorganisations (hundreds of blocks), a situation
may appear where an 'inv' is sent as response to a 'getblocks', but the
last block mentioned in the inv is already known to the receiver node.
However, the supplying node uses a request for this last block as a
trigger to send the rest of the inv blocks. If it never comes, the block
chain download is stuck.
This commit makes the receiver node always request the last inv'ed block,
even if it is already known, to prevent this problem.
13 years ago
Pieter Wuille
89516bd4e0
Speed up block downloading
13 years ago
Pierre Pronchery
7868808b2f
Avoid some pointless warnings while compiling
13 years ago
Gregory Maxwell
ef14236539
Merge pull request #960 from gavinandresen/issue913
...
Use last checkpoint instead of hard-coded 140,700. Fixes #913 .
13 years ago
Gavin Andresen
eae82d8ee5
Use last checkpoint instead of hard-coded 140,700. Fixes #913 .
13 years ago
p2k
3f1bb1ac78
Proper support for Growl 1.3 notifications
13 years ago
Pieter Wuille
9aa459b294
assertion in CBlock::SetBestChainInner was too strong
13 years ago
Philip Kaufmann
d6b08f6f2c
remove bitcoin_cs_CZ from bitcoin.qrc and delete bitcoin_cs_CZ.ts
13 years ago
Philip Kaufmann
603061a7e5
updated english language source file via lupdate
13 years ago
Nils Schneider
4ac3eea027
Merge pull request #953 from Diapolo/master
...
german translation update
13 years ago
Philip Kaufmann
8afd4699e6
fixed a capitalization error in the german translation
13 years ago
Philip Kaufmann
7c4fabde60
update german translation from transifex
13 years ago
Wladimir J. van der Laan
bd9c6f88be
Merge pull request #928 from jojkaart/master
...
Make send coins dialog honor the configured unit type even on the first attempt.
13 years ago
Matt Corallo
ecf07f2729
Limit getheaders to a hard 2000.
...
Previously getheaders would return any number of headers up to
2000 + the distance the locator parameter was back (which is up to
~ the number of items in the locator ^ 2).
The only client I was able to find which actually handles the headers
message is BitcoinJ, and it clearly expects no more than 2000 headers
See:
http://code.google.com/p/bitcoinj/source/browse/core/src/main/java/com/google/bitcoin/core/HeadersMessage.java#35
Additionally, the wiki clearly states that getheaders will only ever
return 2000 headers: https://en.bitcoin.it/wiki/Network#Messages
13 years ago
Gregory Maxwell
0b99d1b574
Merge pull request #931 from luke-jr/dbg_loaderr
...
Wallet loading diagnostic prints to debug.log
13 years ago
Joel Kaartinen
aa3d4c0221
Make the sendcoins dialog use the configured unit type, even on the first attempt.
13 years ago
Alistair Buxton
bb13d056ea
When disconnecting a node, clear the received buffer so that we do
...
not process any already received messages.
The primary reason to do this is if a node spams hundreds of messages
and we ban them, we don't want to continue processing the rest of it.
13 years ago
Nils Schneider
840f69c582
Merge pull request #942 from Diapolo/master
...
updated german translation from transifex
13 years ago
Philip Kaufmann
652856fb63
update german translation from transifex
13 years ago
Gregory Maxwell
44b69cf25e
Bump CLIENT_VERSION for rc4 release
13 years ago
Gregory Maxwell
fa689db37b
Merge pull request #938 from TheBlueMatt/guirpcwin32
...
Disable running with -server on bitcoin-qt.exe as it is broken.
13 years ago
Matt Corallo
8864019f6d
Fix Win32 RPC Crashes.
13 years ago
Nils Schneider
98ff031eb8
update translations from transifex
13 years ago
Nils Schneider
6c757e99f3
add shell one-liner for updating translations in bitcoin.qrc
13 years ago
Wladimir J. van der Laan
8e910c89b8
Merge pull request #941 from laanwj/2012_03_newminimizetray
...
Yet another attempt of a "minimize to tray" that works on all OSes
13 years ago
Wladimir J. van der Laan
08ed96d856
Yet another attempt at implementing "minimize to tray" that works on all OSes
13 years ago
Wladimir J. van der Laan
f94177367a
Fix windows build in windows Qt SDK
13 years ago
Wladimir J. van der Laan
30dfc64f48
Link -lrt library on Linux
...
This is needed for linking on newer Linux distribs, see http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
13 years ago
Gavin Andresen
e318b99d99
Bump CLIENT_VERSION for rc3 release
13 years ago
Gregory Maxwell
89cccc83f8
Merge pull request #930 from sipa/minireorg
...
Limit the impact of reorganisations on the database (fix #925 )
13 years ago
Pieter Wuille
d68dcf741e
Limit the impact of reorganisations on the database
...
Sometimes a new block arrives in a new chain that was already the
best valid one, but wasn't marked that way. This happens for example
when network rules change to recover after a fork.
In this case, it is not necessary to do the entire reorganisation
inside a single db commit. These can become huge, and exceed the
objects/lockers limits in bdb. This patch limits the blocks the
actual reorganisation is applied to, and adds the next blocks
afterwards in separate db transactions.
13 years ago
Luke Dashjr
3cc0624932
Print more diagnostic info for the various DB_CORRUPT conditions
13 years ago
Pieter Wuille
336ba312a6
Merge pull request #926 from gmaxwell/master
...
Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"
13 years ago
Luke Dashjr
21e875c958
Print wallet load errors (to debug.log)
13 years ago
Gregory Maxwell
82a10c8170
Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"
...
2^31 milliseconds is only about 25 days. Also clamps Sleep() to 10 years,
because it currently sleeps for 0 seconds when the sleep time would cross
2^31 seconds since the epoch. Hopefully boost will be fixed by 2028.
13 years ago
Pieter Wuille
4585d828b4
Merge pull request #918 from nomnombtc/patch-1
...
fix typo src/net.cpp
13 years ago
nomnombtc
f8c478c4fb
fix typo src/net.cpp
13 years ago
Gavin Andresen
f2e81bad33
Merge pull request #915 from sipa/nooverwritetx
...
Do not allow overwriting unspent transactions
13 years ago
Pieter Wuille
a206b0ea12
Do not allow overwriting unspent transactions (BIP 30)
...
Introduce the following network rule:
* a block is not valid if it contains a transaction whose hash
already exists in the block chain, unless all that transaction's
outputs were already spent before said block.
Warning: this is effectively a network rule change, with potential
risk for forking the block chain. Leaving this unfixed carries the
same risk however, for attackers that can cause a reorganisation
in part of the network.
Thanks to Russell O'Connor and Ben Reeves.
13 years ago
Gavin Andresen
50abb5516d
Updated Mac build process
13 years ago
Gavin Andresen
038fedccab
Merge pull request #912 from TheBlueMatt/master
...
Fix release-process.txt for new deps zip.
13 years ago
Matt Corallo
95486d5c48
Fix release-process.txt for new deps zip.
13 years ago
Gavin Andresen
142e604184
DoS fix for mapOrphanTransactions
13 years ago
Gavin Andresen
722d9387be
Merge branch 'mruinventory' of https://github.com/sipa/bitcoin
13 years ago
Gavin Andresen
6dd5ae41ac
Merge branch '2012_02_getspecialfolderpath_overflow' of https://github.com/laanwj/bitcoin
13 years ago
Pieter Wuille
d8a80af84a
Merge pull request #910 from fanquake/master
...
Correct Spelling
13 years ago
Michael Ford
27adfb2e0c
"February"
13 years ago
Gavin Andresen
07ed49a472
Do not start bitcoin: thread on OSX. fixes #889
13 years ago
Gavin Andresen
21503e4556
Merge branch 'nodosbip16' of https://github.com/sipa/bitcoin
13 years ago
Pieter Wuille
c4341fa6ab
Add mruset and use it for setInventoryKnown
13 years ago