aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-09-08Bugfix: Initialize CWallet::nOrderPosNext on an empty wallet, and save it in dbLuke Dashjr
2012-09-02Bugfix: Require OrderedTxItems to provide properly scoped accounting entry listLuke Dashjr
OrderedTxItems returns a multimap of pointers, but needs a place to store the actual CAccountingEntries it points to. It had been using a stack item, which was clobbered as soon as it returned, resulting in undefined behaviour. This fixes at least bug #1768.
2012-08-23Choose reasonable "smart" times to display for transactionsLuke Dashjr
Logic: - If sending a transaction, assign its timestamp to the current time. - If receiving a transaction outside a block, assign its timestamp to the current time. - If receiving a block with a future timestamp, assign all its (not already known) transactions' timestamps to the current time. - If receiving a block with a past timestamp, before the most recent known transaction (that we care about), assign all its (not already known) transactions' timestamps to the same timestamp as that most-recent-known transaction. - If receiving a block with a past timestamp, but after the most recent known transaction, assign all its (not already known) transactions' timestamps to the block time.
2012-08-23JSON-RPC: Add "blocktime" and (for wallet transactions) "timereceived" to ↵Luke Dashjr
transaction Object outputs
2012-08-23Store a fixed order of transactions (and accounting) in the walletLuke Dashjr
For backward compatibility, new accounting data is stored after a \0 in the comment string. This way, old versions and third-party software should load and store them, but all actual use (listtransactions, for example) ignores it.
2012-08-23Merge pull request #1707 from xanatos/patch-7Jeff Garzik
Removed useless assignment
2012-08-23Spaces in stringsxanatos
One added space + one removed space.
2012-08-23Removed useless assignmentxanatos
nLoadWalletRet is already equal to DB_NEED_REWRITE (we are in an if)
2012-08-22Merge pull request #1694 from sipa/fix_netloopsGregory Maxwell
Fix infinite loops in connection logic
2012-08-22Merge pull request #1701 from laanwj/2012_08_pull_transifexWladimir J. van der Laan
Update translations from transifex
2012-08-22Update translations from transifexWladimir J. van der Laan
2012-08-22Fix infinite loops in connection logicPieter Wuille
2012-08-22Merge pull request #1695 from sipa/noloadorphanPieter Wuille
Do not accept orphan blocks in -loadblock mode
2012-08-21Merge branch 'testdata' of git://github.com/TheBlueMatt/bitcoinGavin Andresen
2012-08-21Do not accept orphan blocks in -loadblock modePieter Wuille
2012-08-21Merge pull request #1493 from jgarzik/unlocked-rpcJeff Garzik
RPC: add facility to enable RPCs to run outside cs_main, wallet locks
2012-08-21RPC: add facility to enable RPCs to run outside cs_main, wallet locksJeff Garzik
Use with 'stop' and 'help' RPCs. This provides a facility to individually evaluate the locking for an RPC, and potentially make it more parallel.
2012-08-21Restore OSX 10.5 compatibility (do not use pthread_setname_np)Gavin Andresen
2012-08-21Fix 32-bit build error: include util.h to get int64 typedefGavin Andresen
2012-08-21Merge pull request #1693 from jgarzik/rpcwalletJeff Garzik
Move code to new modules rpcwallet.cpp, rpcblockchain.cpp
2012-08-21RPC, cosmetic: move more RPC code to new rpcblockchain.cpp moduleJeff Garzik
2012-08-21RPC, cosmetic: move wallet-related RPCs to new rpcwallet.cpp moduleJeff Garzik
2012-08-21Merge pull request #1687 from gavinandresen/quietunitPieter Wuille
Suppress output when running unit tests.
2012-08-21Merge pull request #1690 from gavinandresen/signrawtx_nullGregory Maxwell
Allow signrawtransaction '...' null null 'hashtype'
2012-08-21RPC: submitblock returns null on success, string on errorJeff Garzik
2012-08-21RPC, cosmetic: Create rpcmining.cpp as new home for mining-related RPC codeJeff Garzik
2012-08-21RPC, cosmetic: de-indent getblocktemplate()Jeff Garzik
2012-08-21RPC: split new 'submitblock' out of 'getblocktemplate'Jeff Garzik
2012-08-20Allow signrawtransaction '...' null null 'hashtype'Gavin Andresen
Allows the user to pass null as the second or third parameter to signrawtransaction, in case you need to (for example) fetch private keys from the wallet but want to specify the hash type.
2012-08-20Merge pull request #1689 from gavinandresen/rawtx_singlefixGregory Maxwell
When using SIGHASH_SINGLE, only sign inputs that have corresponding outputs
2012-08-20When using SIGHASH_SINGLE, do not sign inputs that have no corresponding ↵Gavin Andresen
outputs. This fixes issue #1688
2012-08-20Allow setting a different linker than compiler in makefile.unixMatt Corallo
2012-08-20Add data-driven transaction tests.Matt Corallo
2012-08-20Add a few test cases to data-driven script tests.Matt Corallo
2012-08-20Suppress output when running unit tests.Gavin Andresen
This does two things: 1) Now does not output to debug.log if -printtodebugger flag is passed 2) Unit tests set -printtodebugger so only test results are output to stdout Note that -printtodebugger only actually prints to the debugger on Windows.
2012-08-20Reject block.nVersion<=1 blocks if network has upgraded to version=2Gavin Andresen
If 950 of the last 1,000 blocks are nVersion=2, reject nVersion=1 (or zero, but no bitcoin release has created block.nVersion=0) blocks -- 75 of last 100 on testnet3. This rule is being put in place now so that we don't have to go through another "express support" process to get what we really want, which is for every single new block to include the block height in the coinbase.
2012-08-20Block height in coinbase as a new block ruleGavin Andresen
"Version 2" blocks are blocks that have nVersion=2 and have the block height as the first item in their coinbase. Block-height-in-the-coinbase is strictly enforced when version=2 blocks are a supermajority in the block chain (750 of the last 1,000 blocks on main net, 51 of 100 for testnet). This does not affect old clients/miners at all, which will continue producing nVersion=1 blocks, and which will continue to be valid.
2012-08-20Set block.nVersion to fix miner unit testGavin Andresen
2012-08-20Merge pull request #1641 from jgarzik/mempoolJeff Garzik
Add 'mempool' P2P command, and extend 'getdata' behavior
2012-08-18fix a comment in addrman.cppPhilip Kaufmann
2012-08-17Merge pull request #1680 from Diapolo/add_message_on_blockimportWladimir J. van der Laan
add splashscreen message when importing blocks via -loadblock
2012-08-17Remove useless non-cross-platform tests.Matt Corallo
2012-08-17Merge pull request #1607 from Diapolo/Qt_Win_exe_descWladimir J. van der Laan
Bitcoin-Qt (Windows only): extend Resource File
2012-08-17Merge pull request #1678 from Diapolo/LoadExternalBlockFile_add_timerJeff Garzik
log how long LoadExternalBlockFile() takes in ms (Benchmark)
2012-08-17add splashscreen message when importing blocks via -loadblockPhilip Kaufmann
2012-08-17fix a compiler sign warning in OpenBlockFile()Philip Kaufmann
2012-08-17log how long LoadExternalBlockFile() takes in ms (Benchmark)Philip Kaufmann
2012-08-14Bitcoin-Qt (Windows only): extend Resource FilePhilip Kaufmann
- extend bitcoin-qt.rc to include meta information, which is displayed on Windows, when looking in the executable properties and selecting "Details" - does currently NOT include version information, this is scheduled for later releases - for RC-file documentation see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
2012-08-13Merge pull request #1649 from Diapolo/optionsdialogWladimir J. van der Laan
small UX update for optionsdialog
2012-08-13Merge pull request #1614 from Diapolo/Qt_Win_enable_DEPWladimir J. van der Laan
Bitcoin-Qt (Windows only): enable DEP for bitcoin-qt.exe