Pieter Wuille
fb203cab40
Merge pull request #4508
...
b069750
Break up CAddrMan's IMPLEMENT_SERIALIZE (Pieter Wuille)
2014-07-17 16:17:36 +02:00
Wladimir J. van der Laan
43f510d37d
Convert closesocket 'compat wrapper' to function in netbase
...
Simpler alternative to #4348 .
The current setup with closesocket() is strange. It poses
as a compatibility wrapper but adds functionality.
Rename it and make it a documented utility function in netbase.
Code movement only, zero effect on the functionality.
2014-07-17 15:46:25 +02:00
Wladimir J. van der Laan
c4f11ca9c3
Merge pull request #4549
...
7de3f1c
fix help message for RPC getpeerinfo (Philip Kaufmann)
2014-07-17 15:38:25 +02:00
Philip Kaufmann
7de3f1cfd6
fix help message for RPC getpeerinfo
2014-07-17 15:10:29 +02:00
Wladimir J. van der Laan
ea8c288a35
Merge pull request #4533
...
43005cf
Fix semantic typo in state.CorruptionPossible check (kazcw)
2014-07-17 13:57:51 +02:00
Wladimir J. van der Laan
66f3d0679f
Merge pull request #4534
...
33357b2
qt: Start core thread only when needed (Wladimir J. van der Laan)
c715ff5
ui: Replace some LogPrintfs with qDebug() (Wladimir J. van der Laan)
96ff9d6
Can't log to debug log before chain params initialized (Wladimir J. van der Laan)
2014-07-17 13:51:55 +02:00
Wladimir J. van der Laan
00b16bc942
Merge pull request #4546
...
09c744c
Make sure CAutoFile for fees estimate goes out of scope (Pieter Wuille)
2014-07-17 13:41:21 +02:00
Pieter Wuille
09c744c2a8
Make sure CAutoFile for fees estimate goes out of scope
2014-07-16 21:46:01 +02:00
Pieter Wuille
b069750d3f
Break up CAddrMan's IMPLEMENT_SERIALIZE
2014-07-16 21:14:26 +02:00
Trevin Hofmann
125fba1b48
Add a new checkpoint at block 295,000
...
Block 295,000 seems to meet the criteria of a reasonable timestamp and
no strange transactions. 295,000 is the current block height in the
bootstrap.dat torrent provided by jgarzik.
2014-07-15 19:13:24 -05:00
Wladimir J. van der Laan
87e40799fd
Merge pull request #4535
...
c4a321f
Add peerid to getpeerinfo to allow correlation with the logs. (Gregory Maxwell)
2014-07-15 16:46:29 +02:00
Gavin Andresen
4a56345a74
Merge pull request #4522 from dgenr8/set_discover_0
...
Set -discover=0 in regtest framework
2014-07-15 10:29:18 -04:00
Wladimir J. van der Laan
33357b27a0
qt: Start core thread only when needed
...
Start the core thread only when needed for initialization
or shutdown.
Avoids a bit of overhead, and also avoids spamming two
log messages before logging is properly initialized.
2014-07-15 16:27:47 +02:00
Gregory Maxwell
c4a321f5c6
Add peerid to getpeerinfo to allow correlation with the logs.
...
This seems to have been missed in 3764.
2014-07-15 07:13:10 -07:00
Cozz Lovan
1b4568cb0f
Add vout to ListTransactions output
2014-07-15 15:50:33 +02:00
Wladimir J. van der Laan
c715ff52c7
ui: Replace some LogPrintfs with qDebug()
...
These are relatively unimportant messages, so don't need to be logged
without -debug=ui.
2014-07-15 10:26:50 +02:00
Wladimir J. van der Laan
96ff9d6403
Can't log to debug log before chain params initialized
...
Add a function `AreBaseParamsConfigured` and use this to check
before writing to the debug log. This avoids assertions when the
application happens to log too early, which happens in the GUI.
Messages logged before the base parameters are configured can be
shown using `-printtoconsole`.
2014-07-15 10:26:44 +02:00
Wladimir J. van der Laan
2c0f019bfc
Merge pull request #4505
...
d4d3fbd
Do not flush the cache after every block outside of IBD (Pieter Wuille)
2014-07-15 09:14:33 +02:00
Wladimir J. van der Laan
1f5e8fe804
Merge pull request #4494
...
bc42503
Use unordered_map for CCoinsViewCache with salted hash (Pieter Wuille)
2014-07-15 09:04:29 +02:00
Cozz Lovan
ebdcc360b6
Add helptexts for -whitelist and rpc prioritisetransaction and switch to bitcoin instead of satoshis
2014-07-15 05:20:52 +02:00
kazcw
43005cffa3
Fix semantic typo in state.CorruptionPossible check
...
state.Invalid() is always false, check should be IsInvalid()
Broken since 942b33a
2014-07-14 19:57:43 -07:00
Pieter Wuille
bc42503f6a
Use unordered_map for CCoinsViewCache with salted hash
2014-07-14 16:13:08 +02:00
Rune K. Svendsen
bdd5b587fc
Add option to disable 077 umask (create new files with system default umask)
...
The option is only effective for either wallet-less builds or if
-disablewallet is specified as well.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 34d5fc0 4e1a196 bd4307b d53a33b 7e09b36
Github-Pull: #4286
2014-07-14 13:58:57 +02:00
Wladimir J. van der Laan
d5a6b785e3
Merge pull request #4525
...
d512534
Fixed error in 'getbalance' when using watchonly addresses. (JaSK)
2014-07-14 13:16:11 +02:00
JaSK
d512534cd7
Fixed error in 'getbalance' when using watchonly addresses.
2014-07-14 13:01:06 +02:00
Wladimir J. van der Laan
6513a9f703
Merge pull request #4400
...
4eedf4f
make RandAddSeed() use OPENSSL_cleanse() (Philip Kaufmann)
6354935
move rand functions from util to new random.h/.cpp (Philip Kaufmann)
001a53d
add GetRandBytes() as wrapper for RAND_bytes() (Philip Kaufmann)
2014-07-14 11:35:30 +02:00
Wladimir J. van der Laan
d4bed1a6d3
Merge pull request #4524
...
49d5712
qt: Ignore showNormalIfMinimized in initialization or shutdown (Wladimir J. van der Laan)
2014-07-14 11:33:30 +02:00
Wladimir J. van der Laan
0f491f806a
Merge pull request #4513
...
6265ecc
Clarify that redeemScript is often optional (Zak Wilcox)
2014-07-14 11:09:32 +02:00
Wladimir J. van der Laan
b5280c31db
Merge pull request #4518
...
76fd7b8
[Qt] Fix segfault when launched with -disablewallet (Cozz Lovan)
2014-07-14 11:08:29 +02:00
Wladimir J. van der Laan
49d57125f9
qt: Ignore showNormalIfMinimized in initialization or shutdown
...
Also get rid of ui_interface flag NOSHOWGUI. It's up to the GUI to
decide this.
Fixes #4360 .
2014-07-14 10:49:12 +02:00
Wladimir J. van der Laan
c9bc398ad9
Merge pull request #4378
...
dc942e6
Introduce whitelisted peers. (Pieter Wuille)
2014-07-14 10:23:39 +02:00
Wladimir J. van der Laan
77ed583f0f
Merge pull request #4520
...
39cc492
Fix Watchonly: cs_main lock not held (Cozz Lovan)
2014-07-14 08:50:29 +02:00
Wladimir J. van der Laan
3554df9b99
Merge pull request #4503
...
b45a6e8
Add test for getblocktemplate longpolling (Wladimir J. van der Laan)
ff6a7af
getblocktemplate: longpolling support (Luke Dashjr)
2014-07-14 08:29:46 +02:00
Wladimir J. van der Laan
08c6339124
Merge pull request #4510
...
6b407e4
-datadir is now allowed in config files (Zak Wilcox)
2014-07-14 08:20:10 +02:00
Wladimir J. van der Laan
df2e6928fa
Merge pull request #4519
...
e3496da
[Qt] Fix No such slot UnitDisplayStatusBarControl::onDisplayUnitsClicked (Cozz Lovan)
2014-07-14 08:18:46 +02:00
Tom Harding
cdf305eeb0
Set -discover=0 in regtest framework
...
The regtest framework is local, so often there is no need to
discover our external IP. Setting -discover=0 in util.py works
around shutdown hang caused by GetExternalIP waiting in recv().
2014-07-13 10:41:12 -07:00
Cozz Lovan
39cc4922fe
Fix Watchonly: cs_main lock not held
2014-07-13 09:33:45 +02:00
Cozz Lovan
e3496da730
[Qt] Fix No such slot UnitDisplayStatusBarControl::onDisplayUnitsClicked
2014-07-13 08:36:40 +02:00
Cozz Lovan
76fd7b8c26
[Qt] Fix segfault when launched with -disablewallet
2014-07-13 07:43:01 +02:00
Pieter Wuille
29ef389514
Merge pull request #4511
...
a7e1d50
In -? output: -keypool, -gen, -genproclimit depend on ENABLE_WALLET (Zak Wilcox)
2014-07-13 01:25:30 +02:00
Pieter Wuille
0f2f2b38d0
Merge pull request #4177
...
cd01a5e
Enable paranoid corruption checks in LevelDB >= 1.16 (Pieter Wuille)
2014-07-12 19:44:19 +02:00
Zak Wilcox
6265ecc87f
Clarify that redeemScript is often optional
2014-07-12 09:21:02 +01:00
Zak Wilcox
a7e1d503c4
In -? output: -keypool, -gen, -genproclimit depend on ENABLE_WALLET
2014-07-12 06:43:41 +01:00
Zak Wilcox
6b407e4e56
-datadir is now allowed in config files
2014-07-12 02:05:09 +01:00
Pieter Wuille
d4d3fbd828
Do not flush the cache after every block outside of IBD
2014-07-11 16:44:53 +02:00
Pieter Wuille
714a3e6505
Only keep setBlockIndexValid entries that are possible improvements
2014-07-11 15:59:32 +02:00
Wladimir J. van der Laan
d3165ed35a
Merge pull request #4347
...
6c37f7f
`getrawchangeaddress` should fail when keypool exhausted (Wladimir J. van der Laan)
2014-07-11 15:34:27 +02:00
Wladimir J. van der Laan
6c37f7fd78
getrawchangeaddress
should fail when keypool exhausted
...
An user on IRC reported an issue where `getrawchangeaddress`
keeps returning a single address when the keypool is exhausted.
In my opinion this is strange behaviour.
- Change CReserveKey to fail when running out of keys in the keypool.
- Make `getrawchangeaddress` return RPC_WALLET_KEYPOOL_RAN_OUT when
unable to create an address.
- Add a Python RPC test for checking the keypool behaviour in combination
with encrypted wallets.
2014-07-11 15:24:29 +02:00
Wladimir J. van der Laan
6ad2c2402e
Merge pull request #4507
...
b60be6b
Clean up RPCs that are disabled in safe-mode. (Gregory Maxwell)
2014-07-11 15:16:33 +02:00
Wladimir J. van der Laan
b45a6e8394
Add test for getblocktemplate longpolling
2014-07-11 14:48:16 +02:00