Gavin Andresen
07ed49a472
Do not start bitcoin: thread on OSX. fixes #889
13 years ago
Pieter Wuille
c4341fa6ab
Add mruset and use it for setInventoryKnown
13 years ago
Gavin Andresen
46aa2a6bdd
Move BIP16 switchover time to April 1
13 years ago
Pieter Wuille
42c8b56f62
Store addrProxy port in settings
13 years ago
Gavin Andresen
3f8cb2c565
Reworked QT settings
13 years ago
Gavin Andresen
972060ce0e
bitcoind changes to stop storing settings in wallet.dat.
13 years ago
Wladimir J. van der Laan
21ae37d215
Simplify MyGetSpecialFolderPath and fix possible buffer overflow ( #901 )
13 years ago
Pieter Wuille
88c41c43ea
Move 'Backup Wallet' to file menu
13 years ago
Pieter Wuille
4a10d4c6dc
Fix addrProxy setting
...
Before 0.6 addrProxy was a CAddress, but netbase changed it to CService.
Retain compatibility by wrapping/unwrapping with a CAddress when saving
or loading.
This commit retains compatibility with 0.6.0rc1 (which wrote the setting
as a CService) by trying to parse twice.
13 years ago
Wladimir J. van der Laan
71ba9abba6
In UI, handle cases in which the last received block was generated in the future (secs<0)
...
Fixes #874 .
13 years ago
Pieter Wuille
db9f2e0117
Do not invoke anti-DoS system for invalid BIP16 transactions
...
Doing so would allow an attack on old nodes, which would relay a
standard transaction spending a BIP16 output in an invalid way,
until reaching a new node, which will disconnect their peer.
Reported by makomk on IRC.
13 years ago
Chris Moore
ec4efde40c
Add option "-splash" so we can disable the splash screen.
...
Don't show splash screen when -min is specified on the command line.
13 years ago
Pieter Wuille
5fee401fe1
CAddrMan: stochastic address manager
...
Design goals:
* Only keep a limited number of addresses around, so that addr.dat does not grow without bound.
* Keep the address tables in-memory, and occasionally write the table to addr.dat.
* Make sure no (localized) attacker can fill the entire table with his nodes/addresses.
See comments in addrman.h for more detailed information.
13 years ago
Gavin Andresen
8c12851ed4
Checkpoint block 168,000
13 years ago
Luke Dashjr
34f8788915
Cleanup JSON-RPC getblock output to be consistent
...
- Add "size" and "bits"
- Rename "blockcount" to "height"
- Rename "hashprevious" and "hashnext" to "previousblockhash" and "nextblockhash" (respectively)
13 years ago
Luke Dashjr
c170d03e03
Bugfix: Instead of reporting "bitcoin-qt" for both bitcoind and Bitcoin-Qt, report "Satoshi" which is at least correct
13 years ago
Pieter Wuille
92d5864b80
Leave IRC enabled by default on testnet
...
As testnet has neither DNS seeds or built-in seed addresses to
bootstrap from.
13 years ago
Pieter Wuille
18c0fa97d0
Post-feb20 simplifications
...
Now the entire network upgraded to (initial) protocol version 209,
crtainl simplifications in the source code are possible.
13 years ago
Pieter Wuille
73aa0421a7
ProcessBlock is sometimes called with pfrom==NULL
13 years ago
Pieter Wuille
0d56f11ada
Fix tests after 38067c18
13 years ago
Luke Dashjr
5a5cc6ac09
Sign message description changes discussed in #bitcoin-dev
13 years ago
Pieter Wuille
9fa042a96c
Typo fix
13 years ago
Pieter Wuille
ceaa13eff2
Report number of (dis)connected blocks in reorganization
...
Also report old and new best, and fork point.
13 years ago
Pieter Wuille
46245b4782
Fix #616 : remove base_uint::operator&=(uint64 b)
13 years ago
Pieter Wuille
a3342d096f
Fix #626 : RecvLine wrong error message
...
Also moved RecvLine to net.cpp.
13 years ago
Pieter Wuille
a09f101f14
Fix #650 : CKey::SetSecret BIGNUM leak
13 years ago
Wladimir J. van der Laan
27a0ed8a0a
Hide tray icon in destructor, as deleting will let it linger until quit (on Ubuntu)
13 years ago
Pieter Wuille
fcfd7ff8f8
Free pwalletdbEncryption after encryping wallet
...
Fixes a memory leak.
13 years ago
Pieter Wuille
38067c18f8
Make compressed pubkeys require 0.6.0
13 years ago
Pieter Wuille
9976cf070f
Move GenerateNewKey back to CWallet
13 years ago
Pieter Wuille
0b807a417f
Add SetMinVersion to CWallet
13 years ago
Pieter Wuille
a06113b0c5
Workaround for BN_bn2mpi reading/writing out of bounds
...
When OpenSSL's BN_bn2mpi is passed a buffer of size 4, valgrind
reports reading/writing one byte past it. I am unable to find
evidence of this behaviour in BN_bn2mpi's source code, so it may
be a spurious warning. However, this change is harmless, as only
the bignum with value 0 results in an mpi serialization of size 4.
13 years ago
Matt Corallo
db1a5609a0
Fix compilation warning.
13 years ago
Wladimir J. van der Laan
17690ea5a7
Do show/showNormal only when needed.
13 years ago
Wladimir J. van der Laan
72075edafb
Allow setting UI language from commandline (implements #678 )
13 years ago
Wladimir J. van der Laan
f9f75f320e
Only fill in label from address book, if no label is filled in yet, fixes #840
13 years ago
Wladimir J. van der Laan
a3f3e54eee
Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...
13 years ago
Wladimir J. van der Laan
bc5e6b9f21
On windows, show message box with help, as there is no stderr ( fixes #702 )
13 years ago
Wladimir J. van der Laan
83d1d1a906
Hide window from taskbar when "minimize to tray" active by making window into Tool window
13 years ago
Wladimir J. van der Laan
23b3cf9d10
Restructure IPC URL handling ( fixes #851 )
13 years ago
Wladimir J. van der Laan
39231e9105
don't allow -daemon in bitcoin-qt (changes only #defines)
13 years ago
Wladimir J. van der Laan
d3896211d2
fix typo in CNetAddr::IsRFC4843() ( fixes #850 )
13 years ago
Chris Moore
d64e124cf4
Fix #846 . Allow negative options such as "nolisten=1" in bitcoin.conf as well as on the command line.
13 years ago
Gavin Andresen
0f8cb5db73
Fix issue #848 : broken mining on testnet
13 years ago
Pieter Wuille
c59881eaee
Symbolic names for threads
...
Introduce an enum threadId, and use symbolic indices when accessing
vnThreadsRunning.
13 years ago
Matt Corallo
7dcd200489
Properly include $*_LIB_PATH in makefile.unix
13 years ago
Matt Corallo
32af6b16f1
Fix compilation warning.
13 years ago
Pieter Wuille
cc201e01f8
Several shutdown-related fixes
...
* do not let vnThreadsRunning[1] go negative
* do not perform locking operations while vnThreadsRunning[1] is decreased
* check vnThreadsRunning[1] at exit
13 years ago
Pieter Wuille
25ab17585e
Bugfix: do not create CAddress for invalid accepts
13 years ago
Wladimir J. van der Laan
303a47c095
fix default suffixes in save dialog in GNOME, make it more clear that PNG is used (solves #833 )
13 years ago