Jeff Garzik
607dbfdeaf
P2P: parse network datastream into header/data components in socket thread
...
Replaces CNode::vRecv buffer with a vector of CNetMessage's. This simplifies
ProcessMessages() and eliminates several redundant data copies.
Overview:
* socket thread now parses incoming message datastream into
header/data components, as encapsulated by CNetMessage
* socket thread adds each CNetMessage to a vector inside CNode
* message thread (ProcessMessages) iterates through CNode's CNetMessage vector
Message parsing is made more strict:
* Socket is disconnected, if message larger than MAX_SIZE
or if CMessageHeader deserialization fails (latter is impossible?).
Previously, code would simply eat garbage data all day long.
* Socket is disconnected, if we fail to find pchMessageStart.
We do not search through garbage, to find pchMessageStart. Each
message must begin precisely after the last message ends.
ProcessMessages() always processes a complete message, and is more efficient:
* buffer is always precisely sized, using CDataStream::resize(),
rather than progressively sized in 64k chunks. More efficient
for large messages like "block".
* whole-buffer memory copy eliminated (vRecv -> vMsg)
* other buffer-shifting memory copies eliminated (vRecv.insert, vRecv.erase)
12 years ago
Jeff Garzik
ea83336f4e
Merge pull request #2411 from TheBlueMatt/master
...
(finally) Remove IRC Seed support now that lfnet is down.
12 years ago
Jeff Garzik
8455310a7b
Merge pull request #2385 from gavinandresen/alertnotify
...
alertnotify, so bitcoind users can get email/sms/whatever of alerts
12 years ago
Wladimir J. van der Laan
ea62520426
Merge pull request #2424 from laanwj/2013_03_capslock
...
Improve capslock detection on non-us keyboards
12 years ago
Wladimir J. van der Laan
09dfa86baf
qt: Improve capslock detection on non-us keyboards (issue #1855 )
...
On non-us keyboards you can obtain lower case characters even pressing
the SHIFT, this caused false positives.
12 years ago
Wladimir J. van der Laan
a6d32c94ab
Merge remote-tracking branch 'codeshark/multiwallet-qt-no-core' (pull #2220 )
...
Conflicts:
src/qt/bitcoingui.cpp
12 years ago
Wladimir J. van der Laan
1be4bbadc7
Merge pull request #2350 from DavidGriffith/master
...
Also copy the address to the X11 clipboard (the one you middle-click to paste)
12 years ago
Wladimir J. van der Laan
8142ac2c18
Merge pull request #2393 from r000n/staging
...
Staging - GUI fixes for upstream
12 years ago
Wladimir J. van der Laan
792f9c81eb
Merge pull request #2396 from Nothing4You/add-copytxid-contextmenu-qt-txoverview
...
Adding 'copy txid' to qt tx overview context menu
12 years ago
Pieter Wuille
2e3c76bf98
Don't use -dbcache for BDB anymore
...
-dbcache was originally used to set the maximum buffer size in the
BDB environment, and was later changed to set the chainstate cache
and leveldb caches. No need to use it for BDB now that only the
wallet remains there.
This should reduce memory allocation (but not necessarily memory
usage) a bit.
12 years ago
Pieter Wuille
3427517d50
Clean up global datastructures at shutdown.
...
This should make detecting leaks much easier.
12 years ago
Larry Gilbert
15e9739f3b
Don't specify a point size for "Wallet"
12 years ago
Matt Corallo
6a1d6e03da
Add a new testnet dnsseed (currently only static list, will update)
12 years ago
Matt Corallo
97372c2d22
Update contrib/debian (including IRC removal)
12 years ago
Matt Corallo
c2efd981aa
(finally) Remove IRC Seed support now that lfnet is down.
12 years ago
Roman Mindalev
f688056f9d
Show window in center of screen on first launch
12 years ago
Roman Mindalev
e11f1806b6
Save & restore window size and position
12 years ago
Roman Mindalev
afee36d379
Fix transaction fee in uBTC
...
Step for buttons 'up' and 'down' - 0.001. With BTC and mBTC all ok, but
0.001 uBTC is lower than minimal value (satoshi)
User should press 10 times on 'up' button to get 0.01 uBTC
12 years ago
Eric Lombrozo
67155d9299
Minimal architectural changes necessary to support multiple wallets in bitcoin-qt
...
- This commit is a minimal restructuring necessary to support multiple wallets in the UI. Please see multiwallet-qt.txt for details.
12 years ago
Wladimir J. van der Laan
dfd71bb450
Merge pull request #2400 from gladoscc/master
...
Update readme copyright 2012 to 2013
12 years ago
gladoscc
0c3ab26d36
2012 to 2013
12 years ago
Gavin Andresen
3d9d2d423b
Recommend alertnotify
12 years ago
Richard Schwab
598889973b
Adding 'copy txid' to qt tx overview context menu
12 years ago
Philip Kaufmann
967125ca4a
blockchain -> block chain (used everywhere else)
12 years ago
Philip Kaufmann
48253c16bf
translations update 2013-03-19 (bitcoinstrings.cpp / bitcoin_en.ts)
12 years ago
Gavin Andresen
8ab14e6976
Merge pull request #2384 from gmaxwell/trim_error0
...
Deleting everything except the wallet will not help recover from BDB errors.
12 years ago
Gavin Andresen
e5f163a041
-alertnotify=<cmd>
...
Runs a shell command when an AppliesToMe() alert is received.
%s in the <cmd> string is replaced with the alert.strStatusBar
message.
12 years ago
Gregory Maxwell
124f823714
Deleting everything except the wallet will not help recover from BDB errors.
...
Now that the wallet is the only thing in BDB any DB open errors must be
from the wallet itself-- so deleting everything else will not likely help.
12 years ago
Wladimir J. van der Laan
1a1ce49155
Merge pull request #2378 from Diapolo/translations
...
update bitcoin_en.ts and bitcoinstrings.cpp
12 years ago
Wladimir J. van der Laan
f42720d0f6
Merge pull request #2215 from Diapolo/Qt_sendfrom_addrbook
...
Bitcoin-Qt: add "send coins" to context menu in addressbook
12 years ago
Wladimir J. van der Laan
b804f1cd56
Merge pull request #2332 from Diapolo/init_messages
...
harmonize 2 init messages and remove one
12 years ago
Wladimir J. van der Laan
db725e64b2
Merge pull request #2376 from Diapolo/pro-file
...
re-enable -D_FORTIFY_SOURCE=2 for all platforms
12 years ago
Wladimir J. van der Laan
e5644e88e8
Merge pull request #2382 from Diapolo/2013
...
Bitcoin-Qt: update Win executable file meta-data copyright
12 years ago
Gavin Andresen
1472308d67
Some unit tests for CAlert
12 years ago
Philip Kaufmann
86b9c4aa67
re-enable -D_FORTIFY_SOURCE=2 for all platforms
12 years ago
Philip Kaufmann
2547d2a90b
Bitcoin-Qt: update Win executable file meta-data copyright
12 years ago
Philip Kaufmann
c83dd7490c
update bitcoin_en.ts and bitcoinstrings.cpp
12 years ago
Philip Kaufmann
311993ab10
Bitcoin-Qt: add "send coins" to context menu in addressbook
...
- allows to directly select an address from the addressbook, chose "send
coins" from the context menu, which sends you to sendcoins tab and fills
in the selected address
12 years ago
Wladimir J. van der Laan
74e4d80068
Merge pull request #2210 from Diapolo/Qt_header_cpp_cleanup
...
Bitcoin-Qt: massive header and cpp cleanup
12 years ago
Gavin Andresen
d3e8c6a9d3
Update unit test to match rule enforcement starts 21 March
12 years ago
Gavin Andresen
f817c496a1
Checkpoint at first block in 11 March chain fork
12 years ago
Gavin Andresen
402f19b645
Before 15 May, limit created block size to 500K
12 years ago
Gavin Andresen
8c222dca4f
CheckBlock rule until 15-May for 10,000 BDB lock compatibility
12 years ago
Philip Kaufmann
32af5266cf
Bitcoin-Qt: massive header and cpp cleanup
...
- try to enforce the same style to all Qt related files
- remove unneeded includes from the files
- add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE
- prepares for a pull-req to include Qt5 compatibility
12 years ago
Philip Kaufmann
e1ca89df1f
harmonize 2 init messages and remove one
...
- harmonize the database related init messages
- as we have a thread for importing blocks, that init message is obsolete
12 years ago
Gavin Andresen
1a9ee5da32
Merge pull request #2336 from petertodd/invalid-opcode-coverage
...
Explicitly unittest the canonical prunable txout format
12 years ago
Gavin Andresen
5d6f36296e
Merge pull request #2337 from petertodd/gitignore-test-files
...
Minor: Add two unittest-related files to .gitignore
12 years ago
Gavin Andresen
bd80c66ac0
Merge pull request #2348 from freewil/crpccommand-table
...
make vRPCCommands comment match property names
12 years ago
David Griffith
4db114667f
Also copy the address to the X11 clipboard (the one you middle-click to paste)
12 years ago
freewil
10ef361169
CRPCCommand.unlocked -> CRPCCommand.threadSafe
...
unlocked could be confused with wallet encryption
12 years ago