aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-12-01Move CHECKMULTISIG order tests out of automatically generated blockPieter Wuille
2014-12-01Use deterministically generated script testsPieter Wuille
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-01Merge pull request #5227Wladimir J. van der Laan
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-01Merge pull request #5390Wladimir J. van der Laan
43422a0 [Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..) (Cozz Lovan)
2014-12-01Merge pull request #5386Wladimir J. van der Laan
1b91be4 Report status of chain tips (Pieter Wuille)
2014-12-01Merge pull request #5388Wladimir J. van der Laan
1cf23f6 Update the intent on SI-style separators. (21E14)
2014-11-29[Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..)Cozz Lovan
2014-11-28Resize after succesful resultPieter Wuille
2014-11-28Update the intent on SI-style separators.21E14
2014-11-28Merge pull request #5365Pieter Wuille
3a05ba1 Fix typo in doxygen comment. (Pavel Janík)
2014-11-28Merge pull request #5316Wladimir J. van der Laan
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-28Move `setmocktime` to hidden categoryWladimir J. van der Laan
Another testing-only potential footgun command.
2014-11-28Merge pull request #5374Wladimir J. van der Laan
a53d16a Use complete path to include bitcoin-config.h. (Pavel Janík)
2014-11-27Report status of chain tipsPieter Wuille
2014-11-27Remove -printblock, -printblocktree, and -printblockindexPieter Wuille
2014-11-26Introduce a hidden categoryPieter Wuille
2014-11-26Delay writing block indexes in invalidate/reconsiderPieter Wuille
2014-11-26Add 'invalidateblock' and 'reconsiderblock' RPC commands.Pieter Wuille
These can be used for testing reorganizations or for manual intervention in case of chain forks.
2014-11-26Merge pull request #5158Wladimir J. van der Laan
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-26Merge pull request #5273Wladimir J. van der Laan
cd4d3f1 Win32: change buffer size for gethotsname in Discover() (Philip Kaufmann) 8fa0494 Win32: log addresses found in Discover() calls (Philip Kaufmann)
2014-11-26Merge pull request #5326Wladimir J. van der Laan
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[REST] set REST API behind "-rest" optionJonas Schnelli
2014-11-26[REST] give an appropriate response in warmup phaseJonas Schnelli
2014-11-26qt: Update translations from transifexWladimir J. van der Laan
2014-11-26[REST] fix headersonly flag for BINARY responsesJonas Schnelli
2014-11-26Merge pull request #5321Wladimir J. van der Laan
34559c7 Make PruneBlockIndexCandidates safer (Pieter Wuille) cca48f6 Reset setBlockIndexCandidates once block index db loaded (21E14)
2014-11-26Merge pull request #5323Wladimir J. van der Laan
a328dd6 [Qt] small changes to sendcoinsdialog (Philip Kaufmann)
2014-11-26Merge pull request #5209Wladimir J. van der Laan
9b1627d [Wallet] Reduce minTxFee for transaction creation to 1000 satoshis (Cozz Lovan)
2014-11-26Merge pull request #5361Wladimir J. van der Laan
3223179 libbitcoinconsensus: don't require any global constructors (Cory Fields)
2014-11-26Use complete path to include bitcoin-config.h.Pavel Janík
2014-11-26Merge pull request #5340Wladimir J. van der Laan
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-26Include missing config/bitcoin-config.h.Pavel Janík
2014-11-25[Qt] small changes to sendcoinsdialogPhilip Kaufmann
- 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-25Merge pull request #5351Wladimir J. van der Laan
3d0a1ce Process help and version arguments before datadir. (Pavel Janík)
2014-11-25Merge pull request #5241Wladimir J. van der Laan
a206950 Introduce separate flushing modes (Pieter Wuille) 51ce901 Improve chainstate/blockindex disk writing policy (Pieter Wuille)
2014-11-25Fix typo in doxygen comment.Pavel Janík
2014-11-24libbitcoinconsensus: don't require any global constructorsCory Fields
These static objects are only used in once place, so declare them there instead.
2014-11-24Merge pull request #5358Wladimir J. van der Laan
3c77714 Make -proxy set all network types, avoiding a connect leak. (Gregory Maxwell)
2014-11-24Merge pull request #5154Wladimir J. van der Laan
730b1ed Check pindexBestForkBase for null (21E14)
2014-11-24[Qt, OSX] fix Qt4.8 compatibility with QProgressBar issueJonas Schnelli
Rebased-From: 7f33d2cebfde99ded12c711ef6bd77c91725cfb8 Github-Issue: #5344
2014-11-24Introduce separate flushing modesPieter Wuille
2014-11-24Improve chainstate/blockindex disk writing policyPieter Wuille
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-24Merge pull request #1816Wladimir J. van der Laan
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-24Merge pull request #5224Wladimir J. van der Laan
f321d6b Add key generation/verification to ECC sanity check (Pieter Wuille) d0c41a7 Add sanity check after key generation (Pieter Wuille)
2014-11-24Merge pull request #5309Wladimir J. van der Laan
4574248 [Qt] minor ordering cleanup after new fee selection (Philip Kaufmann) a01fa30 minor style cleanup after HTTP rest interface merge (Philip Kaufmann)
2014-11-24Check for strnlen and provide it if it is not found.Pavel Janík
2014-11-23Make -proxy set all network types, avoiding a connect leak.Gregory Maxwell
Previously -proxy was not setting the proxy for IsLimited networks, so if you set your configuration to be onlynet=tor you wouldn't get an IPv4 proxy set. The payment protocol gets its proxy configuration from the IPv4 proxy, and so it would experience a connection leak. This addresses issue #5355 and also clears up a cosmetic bug where getinfo proxy output shows nothing when onlynet=tor is set.
2014-11-23Prioritize and display -testsafemode status in UIdexX7
Like in a real world situation, a safe mode test should also be visible in the UI. A test of safe mode is furthermore mostly relevant for developers, so it should not be overwritten by a warning about a pre-release test build.
2014-11-23Add key generation/verification to ECC sanity checkPieter Wuille
2014-11-23Add sanity check after key generationPieter Wuille
Add a sanity check to prevent cosmic rays from flipping a bit in the generated public key, or bugs in the elliptic curve code. This is simply done by signing a (randomized) message, and verifying the result.