Pieter Wuille
0286fe5b3b
Merge pull request #5401
...
362001c
Move CHECKMULTISIG order tests out of automatically generated block (Pieter Wuille)
f67a9ce
Use deterministically generated script tests (Pieter Wuille)
2014-12-02 18:55:51 +01:00
Gavin Andresen
1c7e09f0b9
Merge pull request #5369
...
b2d0162
Test resurrecting memory pool transactions during chain re-org (Gavin Andresen)
3dd8ed7
Delay writing block indexes in invalidate/reconsider (Pieter Wuille)
798faec
Add 'invalidateblock' and 'reconsiderblock' RPC commands. (Pieter Wuille)
2014-12-02 11:59:41 -05:00
Wladimir J. van der Laan
fec0d100d5
Merge pull request #5376
...
8a5c951
[REST] make selection of output-format mandatory, support dot url syntax (Jonas Schnelli)
2014-12-02 15:34:43 +01:00
Pieter Wuille
362001c19f
Move CHECKMULTISIG order tests out of automatically generated block
2014-12-01 21:37:20 +01:00
Pieter Wuille
f67a9ce0dc
Use deterministically generated script tests
...
Now that signing is deterministic, we can require exact correspondence between the
automatically generated tests and the ones read from JSON. Do this, and update
the tests to those deterministic versions. Note that some flag changes weren't
correctly applied before.
2014-12-01 21:29:02 +01:00
Wladimir J. van der Laan
f0877f8b62
Merge pull request #5227
...
4cdaa95
Resize after succesful result (Pieter Wuille)
9d8604f
Header define style cleanups (Pieter Wuille)
a53fd41
Deterministic signing (Pieter Wuille)
3060e36
Add the RFC6979 PRNG (Pieter Wuille)
a8f5087
Add HMAC-SHA256 (Pieter Wuille)
36fa4a7
Split up crypto/sha2 (Pieter Wuille)
2014-12-01 14:57:58 +01:00
Wladimir J. van der Laan
89151d9f29
Merge pull request #5390
...
43422a0
[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..) (Cozz Lovan)
2014-12-01 12:44:26 +01:00
Wladimir J. van der Laan
0ddf4416cc
Merge pull request #5386
...
1b91be4
Report status of chain tips (Pieter Wuille)
2014-12-01 11:49:35 +01:00
Wladimir J. van der Laan
b248a38aa5
Merge pull request #5388
...
1cf23f6
Update the intent on SI-style separators. (21E14)
2014-12-01 10:17:58 +01:00
Cozz Lovan
43422a0121
[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..)
2014-11-29 12:51:36 +01:00
Pieter Wuille
4cdaa95a20
Resize after succesful result
2014-11-28 21:16:51 +01:00
21E14
1cf23f6c50
Update the intent on SI-style separators.
2014-11-28 10:34:25 -05:00
Pieter Wuille
5270817180
Merge pull request #5365
...
3a05ba1
Fix typo in doxygen comment. (Pavel Janík)
2014-11-28 16:22:25 +01:00
Wladimir J. van der Laan
d7c8a830c4
Merge pull request #5316
...
f86a24b
Move `setmocktime` to hidden category (Wladimir J. van der Laan)
bd9aebf
Introduce a hidden category (Pieter Wuille)
0dd06b2
Delay writing block indexes in invalidate/reconsider (Pieter Wuille)
9b0a8d3
Add 'invalidateblock' and 'reconsiderblock' RPC commands. (Pieter Wuille)
2014-11-28 11:19:15 +01:00
Wladimir J. van der Laan
f86a24b368
Move setmocktime
to hidden category
...
Another testing-only potential footgun command.
2014-11-28 10:57:14 +01:00
Wladimir J. van der Laan
631e698bb7
Merge pull request #5374
...
a53d16a
Use complete path to include bitcoin-config.h. (Pavel Janík)
2014-11-28 09:46:39 +01:00
Jonas Schnelli
8a5c9513ba
[REST] make selection of output-format mandatory, support dot url syntax
...
1. Remove the default format (binary) because `rest/block/<hash>/Hex` would end up delivering binary data.
2. List available formats when chosen format was not found (reduces need for documentation)
3. Change url syntax to dot extension like format chosing (like `rest/tx/<hash>.json`
2014-11-27 14:06:45 +01:00
Pieter Wuille
1b91be49f5
Report status of chain tips
2014-11-27 11:50:14 +01:00
Pieter Wuille
57be955ba0
Remove -printblock, -printblocktree, and -printblockindex
2014-11-27 09:50:20 +01:00
Pieter Wuille
bd9aebf19d
Introduce a hidden category
2014-11-26 16:36:26 +01:00
Pieter Wuille
0dd06b2515
Delay writing block indexes in invalidate/reconsider
2014-11-26 16:36:26 +01:00
Pieter Wuille
9b0a8d3152
Add 'invalidateblock' and 'reconsiderblock' RPC commands.
...
These can be used for testing reorganizations or for manual intervention in case of
chain forks.
2014-11-26 16:36:25 +01:00
Wladimir J. van der Laan
9ff0bc9beb
Merge pull request #5158
...
9ec75c5
Add a locking mechanism to IsInitialBlockDownload to ensure it never goes from false to true. (Ruben Dario Ponticelli)
a2d0fc6
Fix IsInitialBlockDownload which was broken by headers first. (Ruben Dario Ponticelli)
2014-11-26 15:09:03 +01:00
Wladimir J. van der Laan
b031137977
Merge pull request #5273
...
cd4d3f1
Win32: change buffer size for gethotsname in Discover() (Philip Kaufmann)
8fa0494
Win32: log addresses found in Discover() calls (Philip Kaufmann)
2014-11-26 14:36:50 +01:00
Wladimir J. van der Laan
108b19f7ef
Merge pull request #5326
...
5dc713b
[REST] set REST API behind "-rest" option (Jonas Schnelli)
78bdc81
[REST] give an appropriate response in warmup phase (Jonas Schnelli)
210eba9
[REST] fix headersonly flag for BINARY responses (Jonas Schnelli)
2014-11-26 14:30:11 +01:00
Jonas Schnelli
5dc713bfc7
[REST] set REST API behind "-rest" option
2014-11-26 13:53:27 +01:00
Jonas Schnelli
78bdc8103f
[REST] give an appropriate response in warmup phase
2014-11-26 13:51:02 +01:00
Wladimir J. van der Laan
8ba38aba42
qt: Update translations from transifex
2014-11-26 13:47:49 +01:00
Jonas Schnelli
210eba9fdb
[REST] fix headersonly flag for BINARY responses
2014-11-26 13:42:58 +01:00
Wladimir J. van der Laan
53a87c0355
Merge pull request #5321
...
34559c7
Make PruneBlockIndexCandidates safer (Pieter Wuille)
cca48f6
Reset setBlockIndexCandidates once block index db loaded (21E14)
2014-11-26 13:31:03 +01:00
Wladimir J. van der Laan
4baa9f0c9b
Merge pull request #5323
...
a328dd6
[Qt] small changes to sendcoinsdialog (Philip Kaufmann)
2014-11-26 13:00:50 +01:00
Wladimir J. van der Laan
124b4895b8
Merge pull request #5209
...
9b1627d
[Wallet] Reduce minTxFee for transaction creation to 1000 satoshis (Cozz Lovan)
2014-11-26 10:58:20 +01:00
Wladimir J. van der Laan
e6751ca68a
Merge pull request #5361
...
3223179
libbitcoinconsensus: don't require any global constructors (Cory Fields)
2014-11-26 10:44:42 +01:00
Pavel Janík
a53d16ac0c
Use complete path to include bitcoin-config.h.
2014-11-26 10:37:49 +01:00
Wladimir J. van der Laan
70f9e33fa0
Merge pull request #5340
...
c8ed613
Include missing config/bitcoin-config.h. (Pavel Janík)
494f6e7
Check for strnlen and provide it if it is not found. (Pavel Janík)
2014-11-26 09:51:05 +01:00
Pavel Janík
c8ed6130a4
Include missing config/bitcoin-config.h.
2014-11-26 08:19:07 +01:00
Philip Kaufmann
a328dd60a7
[Qt] small changes to sendcoinsdialog
...
- add newly added variables to the constructor init
- move an already existing bool also to constructor init
- move a connect call to setClientModel and add a NULL pointer check
2014-11-25 17:00:02 +01:00
Wladimir J. van der Laan
ac0b2393a4
Merge pull request #5351
...
3d0a1ce
Process help and version arguments before datadir. (Pavel Janík)
2014-11-25 14:44:30 +01:00
Pieter Wuille
3dd8ed72e5
Delay writing block indexes in invalidate/reconsider
2014-11-25 12:33:43 +01:00
Pieter Wuille
798faec3ea
Add 'invalidateblock' and 'reconsiderblock' RPC commands.
...
These can be used for testing reorganizations or for manual intervention in case of
chain forks.
2014-11-25 12:32:51 +01:00
Wladimir J. van der Laan
397b9011c9
Merge pull request #5241
...
a206950
Introduce separate flushing modes (Pieter Wuille)
51ce901
Improve chainstate/blockindex disk writing policy (Pieter Wuille)
2014-11-25 12:18:00 +01:00
Pavel Janík
3a05ba1bfc
Fix typo in doxygen comment.
2014-11-25 08:18:33 +01:00
Cory Fields
322317951f
libbitcoinconsensus: don't require any global constructors
...
These static objects are only used in once place, so declare them there instead.
2014-11-24 15:23:29 -05:00
Wladimir J. van der Laan
6f9e67aca7
Merge pull request #5358
...
3c77714
Make -proxy set all network types, avoiding a connect leak. (Gregory Maxwell)
2014-11-24 15:30:31 +01:00
Wladimir J. van der Laan
1ee685f984
Merge pull request #5154
...
730b1ed
Check pindexBestForkBase for null (21E14)
2014-11-24 15:29:52 +01:00
Jonas Schnelli
c5a2282855
[Qt, OSX] fix Qt4.8 compatibility with QProgressBar issue
...
Rebased-From: 7f33d2cebfde99ded12c711ef6bd77c91725cfb8
Github-Issue: #5344
2014-11-24 15:26:58 +01:00
Pieter Wuille
a206950016
Introduce separate flushing modes
2014-11-24 15:15:41 +01:00
Pieter Wuille
51ce901aa3
Improve chainstate/blockindex disk writing policy
...
There are 3 pieces of data that are maintained on disk. The actual block
and undo data, the block index (which can refer to positions on disk),
and the chainstate (which refers to the best block hash).
Earlier, there was no guarantee that blocks were written to disk before
block index entries referring to them were written. This commit introduces
dirty flags for block index data, and delays writing entries until the actual
block data is flushed.
With this stricter ordering in writes, it is now safe to not always flush
after every block, so there is no need for the IsInitialBlockDownload()
check there - instead we just write whenever enough time has passed or
the cache size grows too large. Also updating the wallet's best known block
is delayed until this is done, otherwise the wallet may end up referring to an
unknown block.
In addition, only do a write inside the block processing loop if necessary
(because of cache size exceeded). Otherwise, move the writing to a point
after processing is done, after relaying.
2014-11-24 15:15:40 +01:00
Wladimir J. van der Laan
f24bcce2ac
Merge pull request #1816
...
b867e40
CreateNewBlock: Stick height in coinbase so we pass template sanity check (Luke Dashjr)
60755db
submitblock: Check for duplicate submissions explicitly (Luke Dashjr)
bc6cb41
QA RPC tests: Add tests block block proposals (Luke Dashjr)
9765a50
Implement BIP 23 Block Proposal (Luke Dashjr)
3dcbb9b
Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock (Luke Dashjr)
132ea9b
miner_tests: Disable checkpoints so they don't fail the subsidy-change test (Luke Dashjr)
df08a62
TestBlockValidity function for CBlock proposals (used by CreateNewBlock) (Luke Dashjr)
4ea1be7
CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock (Luke Dashjr)
a48f2d6
Abstract context-dependent block checking from acceptance (Luke Dashjr)
2014-11-24 14:43:10 +01:00
Wladimir J. van der Laan
6582f323f0
Merge pull request #5224
...
f321d6b
Add key generation/verification to ECC sanity check (Pieter Wuille)
d0c41a7
Add sanity check after key generation (Pieter Wuille)
2014-11-24 14:39:25 +01:00