Pieter Wuille
e31aa7c9d7
Improve gettxoutsetinfo command
...
* Bugfix: output the correct best block hash (during IBD, it can
differ from the actual current best block)
* Add height to output
* Add hash_serialized, which is a hash of the entire UTXO state.
Can be useful to compare two nodes.
* Add total_amount, the sum of all UTXOs' values.
2013-05-01 17:21:43 +02:00
Jeff Garzik
9f4976afe2
RPC: strictly require HTTP URI "/"
...
Previously, JSON-RPC clients accessed URI "/", and the JSON-RPC server
did not care about the URI at all, and would accept any URI as valid.
Change the JSON-RPC server to require URI "/" for all current accesses.
This changes enables the addition of future interfaces at different
URIs, such as pull request #1982 which demonstrates HTTP REST wallet
download.
Or, a future, breaking change in JSON-RPC interface could be introduced
by serving JSON-RPC calls from new URI "/v2/".
2013-05-01 10:41:24 -04:00
Pieter Wuille
788064dd12
Don't announce to non-peer CNodes
2013-04-30 19:41:58 +02:00
Pieter Wuille
1c621e70be
Merge pull request #2583 from laanwj/2013_04_netbase_bitfield
...
netbase: fix !O_NONBLOCK where ~O_NONBLOCK was meant
2013-04-29 16:36:51 -07:00
Pieter Wuille
d2cefe1674
Merge pull request #2589 from sipa/win32ldberr
...
Some win32-leveldb related fixes
2013-04-29 16:36:25 -07:00
Gavin Andresen
67f93dc513
Merge pull request #2568 from sipa/rlimit
...
Try to increase file descriptor rlimit if necessary
2013-04-29 13:25:13 -07:00
Pieter Wuille
228b29cf8f
Merge pull request #2349 from dserrano5/master
...
Accept negative -par values to leave N CPUs free.
2013-04-29 10:54:04 -07:00
David Serrano
ebd7e8bf91
Accept negative -par values to leave N CPUs free.
2013-04-29 19:35:47 +02:00
Wladimir J. van der Laan
7226806e8d
Merge pull request #2569 from sipa/win1024fd
...
Allow select()ing up to 1024 file descriptors on Windows
2013-04-29 10:27:33 -07:00
Pieter Wuille
ba29a5590b
Try to increase file descriptor rlimit if necessary
...
As the default can be too low, especially on OSX.
2013-04-29 01:46:24 +02:00
Pieter Wuille
551b367f19
Allow files to be opened for reading multiple times
2013-04-28 14:15:34 +02:00
Wladimir J. van der Laan
d23fa49c52
move WSAStartup to init
...
WSAStartup should be called before using any other socket
functions. BindListenPort is not called if not listening.
Closes #2585 .
2013-04-28 08:54:27 +02:00
Pieter Wuille
20d6f2013b
Checking whether closing succeeds
2013-04-27 20:07:22 +02:00
Pieter Wuille
67efbda4a2
Print actual Win32 error that occurred on file creation failure.
2013-04-27 18:28:41 +02:00
Tariq Bashir
6e34d9b12a
Prevent prevent file descriptor leak in ShrinkDebugFile()
2013-04-27 16:00:28 +02:00
Wladimir J. van der Laan
fe9e88cb06
fix !O_NONBLOCK where ~O_NONBLOCK was meant
...
Using ! on a non-zero value will always return 0.
Also remove some duplicate and superfluous code in other places.
2013-04-27 15:37:26 +02:00
Wladimir J. van der Laan
63888d43be
Merge pull request #2530 from jonasschnelli/mac_win_reopen_fix
...
fixes #1522 : GUI Disappearing (Mac OSX)
2013-04-27 02:15:54 -07:00
Wladimir J. van der Laan
aa9eee7eaf
Merge pull request #2564 from Diapolo/walletview
...
small updates for walletview.cpp
2013-04-27 02:08:08 -07:00
Wladimir J. van der Laan
dffb535ead
qt: remove fee recommendation in settings
...
This value gets stale really quickly, do not hardcode it into a message.
Completely remove it for now.
Later on, a mechanism will be added to determine fees based on the mempool.
Closes #2576
2013-04-27 11:06:43 +02:00
Wladimir J. van der Laan
1a31428ec0
qt: remove extraneous padding introduced in multiwallet support patch
...
solve issue #2529
2013-04-26 07:38:24 +02:00
Pieter Wuille
33912d1f23
Allow select()ing up to 1024 file descriptors on Windows
2013-04-26 01:31:10 +02:00
Pieter Wuille
360cfe142c
Allow the default key to be unavailable
...
This solves the issue where no default key can be added after -salvagewallet.
2013-04-25 19:36:10 +02:00
Philip Kaufmann
9e334cfae3
translations update 2013-04-25
...
- new language "se"
- update bitcoin.qrc and bitcoin_en.ts
- fetch current translations from Transifex
2013-04-25 16:53:51 +02:00
Philip Kaufmann
46fd626b21
small updates for walletview.cpp
...
- make "&Export" translatable
- fix some includes
- small formatting changes
2013-04-25 16:15:31 +02:00
Pieter Wuille
ccda03b570
Remove database/ after clean shutdown
2013-04-24 22:38:56 +02:00
Pieter Wuille
1859aafef0
Try moving database/ away in case of failure
2013-04-24 01:37:19 +02:00
Philip Kaufmann
e79110822e
remove duplicate bitdb.Open() code from init
...
- remove code from step 7, which we already have in step 5 of init
2013-04-24 00:49:50 +02:00
Pieter Wuille
2233fc5318
Reduce number of open LevelDB files to 64
2013-04-24 00:10:23 +02:00
Wladimir J. van der Laan
af10e3f6ac
Merge pull request #2526 from Diapolo/Qt_misc
...
Bitcoin-Qt: misc small changes
2013-04-23 09:27:30 -07:00
Philip Kaufmann
61032f8942
remove obsolete and unused typedef for Windows
2013-04-23 09:54:29 +02:00
Pieter Wuille
97e7901a3a
Do not invoke DoS for non-canonical sigs
2013-04-18 22:49:23 +02:00
Wladimir J. van der Laan
72782f3b92
Merge pull request #2525 from laanwj/2013_04_metatypebool
...
qt: register metatype for bool*
2013-04-18 08:59:49 -07:00
Wladimir J. van der Laan
dc2de757a4
Merge pull request #2501 from Diapolo/progress
...
rework ClientModel::getBlockSource() + BitcoinGUI::setNumBlocks()
2013-04-18 05:54:42 -07:00
Wladimir J. van der Laan
52ae314b5e
Merge pull request #2524 from jonasschnelli/new_splashscreen_fresh
...
new splash screen
2013-04-18 00:05:21 -07:00
Gavin Andresen
8b1d72be32
Merge pull request #2536 from jcalvinowens/makefile-clarifying-comments
...
Add comments to UNIX Makefile regarding USE_UPNP
2013-04-17 14:21:34 -07:00
Jonas Schnelli
e790d47785
new toolbar icon for liunx/win fix #2518
...
On black toolbars, the new icon doesn't look very well.
Now the toolbar icon has again a transparent "B" for better style on toolbars.
Does not affect the mac client.
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-04-17 10:51:19 +02:00
Jonas Schnelli
f9124587cc
new splash screen
...
why:
- the current splash-screen has no referring to official images on - https://en.bitcoin.it/wiki/Promotional_graphics
- the current splash screen only exists in a low res jpg
- current splash screen looks dark and "hackish"
- new splash screen should generate positive, "trust-emotions".
- new splash screen gives the user infos about the running client.
- new splash screen can handle long messages (in a lot of - languages the text is cropped in current release)
- new size (x2) 400x312
- contains textual information about the client
- textinfos are dynamicly written to the pixmap
when -testnet is switch on, the splashscreen will show the bitcoin logo in testnet-color (as well as a text [testnet])
example: https://dl.dropbox.com/u/7383846/new_bitcoin_splash.png
2013-04-17 01:14:53 -07:00
Calvin Owens
e74fbca1c2
Add comments to UNIX Makefile regarding USE_UPNP
...
The tri-state nature of USE_UPNP isn't immediately obvious, so paste
the explanation from doc/build-unix.txt as a comment in the makefile.
2013-04-17 00:04:03 -05:00
Wladimir J. van der Laan
fb53186571
Merge pull request #2519 from jonasschnelli/new_testnet_ico_file
...
new testnet ico file
2013-04-15 10:35:27 -07:00
Jonas Schnelli
4d17a1b0c2
fix: GUI Disappearing #1522 (Mac OSX)
...
- this solution works stable on mac and ensures that the window get's reopened when the user clicks the dock icon .
- tested on 10.8 with Qt4.8.4 and Qt5.0.1
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-04-15 12:02:01 +02:00
Philip Kaufmann
a26811ebdf
embed bitcoin_testnet.ico in bitcoin-qt.exe (usable for shortcuts)
2013-04-14 21:49:07 +02:00
Philip Kaufmann
41fdc1cad1
overviewpage: make some code Qt5 compatible
...
- that changes will be fine for Qt4 also
2013-04-14 19:53:27 +02:00
Philip Kaufmann
d9d6c7d936
bitcoingui: remove 2 unneeded includes
2013-04-14 19:53:27 +02:00
Philip Kaufmann
e9abeac204
bitcoin: use static QApplication:: instead of app.
2013-04-14 19:53:19 +02:00
Philip Kaufmann
99ae01234d
aboutdialog: use just "The Bitcoin developers" as tr()-string
...
- this ensures our new splash screen and this will share a translatable
string an remove the need for an additional translation
2013-04-14 19:42:15 +02:00
Wladimir J. van der Laan
e83a90f127
qt: register metatype for bool*
...
This allows the bool* type to be passed between threads. Should solve issue #2402 .
2013-04-14 18:50:40 +02:00
Pieter Wuille
20d0810f30
Require strictly-standard encodings in mempool
2013-04-14 00:17:49 +02:00
Wladimir J. van der Laan
ac89a1ebe7
Merge pull request #2492 from Diapolo/Qt_message
...
Bitcoin-Qt: remove " - " on empty title in BitcoinGUI::message()
2013-04-13 05:40:30 -07:00
Wladimir J. van der Laan
f81b67829d
Merge pull request #2515 from laanwj/2013_04_move_exportbutton
...
qt: move export button to tabs
2013-04-13 05:39:30 -07:00
Gavin Andresen
1b4b463c01
Merge pull request #2418 from sipa/uintwork
...
Use a uint256 for bnChainWork
2013-04-12 10:27:56 -07:00