Jeff Garzik
928d3a011c
CAddrDB: Replace BDB-managed addr.dat with internally managed peers.dat
13 years ago
Jeff Garzik
768e5d52fb
Add new utility functions FileCommit(), RenameOver()
13 years ago
Wladimir J. van der Laan
adc704563c
Add missing Q_OBJECT in bitcoin.cpp
...
Fixes translating HelpMessageBox strings.
13 years ago
Wladimir J. van der Laan
746ea6bd86
Update bitcoinstrings.cpp and bitcoin_en.ts
13 years ago
Philip Kaufmann
cd8c905dfe
add 4 new translations bg, el_GR, fr and pt_PT (based on transifex fetch from today)
13 years ago
Jeff Garzik
a7d45c5a7a
Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()
13 years ago
Pieter Wuille
385f730f31
Hopefully final fix for the stuck blockchain issue
...
Immediately issue a "getblocks", instead of a "getdata" (which will
trigger the relevant "inv" to be sent anyway), and only do so when
the previous set of invs led us into a known and attached part of
the block tree.
13 years ago
Philip Kaufmann
34aa3112c8
adapt user-experience from messagepage / move placeholderTexts from XML to source to avoid a problem with Qt < 4.7 / add eventFilter for address field to select text when clicking in / add Clear All button / rework strings
13 years ago
Philip Kaufmann
8892579f8b
fix DebugLog file opens twice after clicking "Open" in RPC Console Information tab
13 years ago
Ricardo M. Correia
5849bd472a
Fix signed subtraction overflow in CBigNum::setint64().
...
As noticed by sipa (Pieter Wuille), this can happen when CBigNum::setint64() is
called with an integer value of INT64_MIN (-2^63).
When compiled with -ftrapv, the program would crash. Otherwise, it would
execute an undefined operation (although in practice, usually the correct one).
13 years ago
Ricardo M. Correia
62e0453ce0
Add test case for CBigNum::setint64().
...
One of the test cases currently aborts when using gcc's flag -ftrapv, due to
negating an INT64_MIN int64 variable, which is an undefined operation.
This will be fixed in a subsequent commit.
13 years ago
Wladimir J. van der Laan
29b79e4c0e
Get rid of snprintf (except one) with fixed buffers, shorten code
...
- Use strprintf or vstrprintf instead of snprintf
13 years ago
Wladimir J. van der Laan
5a060b8dc8
RPC console: scroll to the end when user enters a command
...
- Ensures that the command and reply is visible
13 years ago
Pieter Wuille
91dace35a1
Do not listen on blocked networks
13 years ago
Pieter Wuille
55bb0cfbb6
Allow binding to the any address, and report failure
13 years ago
Pieter Wuille
0f1707de67
-onlynet instead of -blocknet
13 years ago
Philip Kaufmann
966ae00fe4
make CheckDiskSpace() use a global static const uint64 for checking required disk space and remove 2 ugly spaces from a message string
13 years ago
Jeff Garzik
0fb78eae34
Always check return values of TxnBegin() and TxnCommit()
13 years ago
Ricardo M. Correia
fe78c9ae8b
Don't overflow signed ints in CBigNum::setint64().
...
CBigNum::setint64() does 'n <<= 8', where n is of type "long long".
This leads to shifting onto and past the sign bit, which is undefined
behavior in C++11 and can cause problems in the future.
13 years ago
Pieter Wuille
ca81464697
Use getnameinfo() to get canonical IPv6 addresses
13 years ago
Pieter Wuille
09b4e26a44
Really do not consider blocked networks local
13 years ago
Ricardo M. Correia
4843b55fd1
Make CNetAddr::GetHash() return an unsigned val.
...
This prevents an undefined operation in main.cpp, when shifting the hash value
left by 32 bits.
Shifting a signed int left into the sign bit is undefined in C++11.
13 years ago
Philip Kaufmann
51ce20d5da
update some strings used as warning messages in sendcoinsdialog.cpp
13 years ago
Wladimir J. van der Laan
9f5b11e6fd
Move help message out of AppInit2
...
- Solves #1278 , attempts to address #1049
- Removes \t's from help message that are removed afterwards anyway
- Moves UI-specific command-line options help to UI code
- Moves "-detachdb" out of #ifdef USE_UPNP
13 years ago
Pieter Wuille
1653f97c8f
Do not consider blocked networks local
13 years ago
Pieter Wuille
8f737d28a6
Only encode IPv4 addresses in IRC nicks
13 years ago
Philip Kaufmann
0985816bf6
ensure that no double timestamps show up in the debug.log, by removing manual timestamps from the source (now only -logtimestamps parameter adds timestamps to debug.log)
13 years ago
Pieter Wuille
af4006b3f5
Enforce -nodiscover better
13 years ago
Pieter Wuille
ac7c7ab99a
Improve error reporting at startup
13 years ago
Wladimir J. van der Laan
67d4cbab46
Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code
13 years ago
Wladimir J. van der Laan
99fdc1d829
Prevent tooltip filter from ever causing infinite loops
13 years ago
Pieter Wuille
22db3f2c77
Fix warning about uninitialized value
...
Only reported when using -flto.
13 years ago
Pieter Wuille
5a3cb32e59
Take -port into account when resolving -bind's
13 years ago
Philip Kaufmann
ea933b03b4
use "IPv6" and "IPv4" in strings as these are the official spellings and make ParseNetwork() in netbase.cpp case-insensitive
13 years ago
Pieter Wuille
139d2f7c29
Keep local service information per address
...
Keep local service information per CNetAddr instead of per CService,
but move the port into the information kept on it.
13 years ago
Pieter Wuille
89b5616d10
Do not signal outbound semaphore if uninitialized
13 years ago
Pieter Wuille
45dcf63a62
Only check for port# after : in ConnectSocketByName
13 years ago
Pieter Wuille
a6cd0b08f6
Partially revert f621326: xCXXFLAGS
13 years ago
Philip Kaufmann
5e19030aa1
remove string "TextLabel" from warningLabel, as this is unneeded and as such is a silly translation less to do :)
13 years ago
Philip Kaufmann
4dca553e66
set minimum size allowed by Qt Creator and rename "QR-Code Dialog" to "QR Code Dialog" as this spelling is used all over the code
13 years ago
Wladimir J. van der Laan
ae744c8b78
RPC console: don't crash on invalid input exception
13 years ago
Wladimir J. van der Laan
c6aa86afc2
Convert RPC console to QTextEdit instead of QTableView
...
* This allows copy/pasting whole or partial messages
* Handle output more consistently in console
* No more scrollbars-in-scrollbars: by setting per-pixel scrolling on the table, cells can have any height
* Decorations for "request" and "reply" are changed to the txin and txout icons instead of colored squares
13 years ago
Pieter Wuille
839c4e7966
Fix initialization of inaddr_any
13 years ago
Wladimir J. van der Laan
3ef1f41550
When a transaction is clicked on overview page, focus it on history page
13 years ago
Philip Kaufmann
55f19cb809
change size of transactiondialog, to allow display of transaction-id without an ugly line-break
13 years ago
Philip Kaufmann
a24ea3dab7
add Alt-Shortcut for "Clear All" in sendcoinsdialog.ui
13 years ago
Philip Kaufmann
bc05562730
convert 4 tabs into 4 x 4 spaces in bitcoinrpc.cpp
13 years ago
Fordy
46667ba3e4
Correct Date
13 years ago
Fordy
8bb9660baa
Correct Date
13 years ago
Philip Kaufmann
d2f7778cc7
add the client startup time to the debug window / rename Version label to Client, which is better suiting now / add IBeamCursor for selectable text on the information page / make ">" sign on RPC page untranslatable / re-order XML-file tags to match real GUI element order
13 years ago