aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-12-01Add a score index to the mempool.Alex Morcos
The score index is meant to represent the order of priority for being included in a block for miners. Initially this is set to the transactions modified (by any feeDelta) fee rate. Index improvements and unit tests by sdaftuar.
2015-12-01Store the total sig op count of a tx.Alex Morcos
Store sum of legacy and P2SH sig op counts. This is calculated in AcceptToMemory pool and storing it saves redoing the expensive calculation in block template creation.
2015-12-01qt: periodic translations updateWladimir J. van der Laan
2015-12-01Merge pull request #7141Wladimir J. van der Laan
aabc897 rpc: Don't translate warning messages (Wladimir J. van der Laan)
2015-12-01Merge pull request #7143Wladimir J. van der Laan
6da12df qt: use QMetaObject::invokeMethod for cross-thread signaling in clientmodel (Wladimir J. van der Laan)
2015-12-01Merge pull request #6915Wladimir J. van der Laan
2d8860e Fix removeForReorg to use MedianTimePast (Suhas Daftuar) b7fa4aa Don't call removeForReorg if DisconnectTip fails (Suhas Daftuar) 7e49f5f Track coinbase spends in CTxMemPoolEntry (Suhas Daftuar) bb8ea1f removeForReorg calls once-per-disconnect-> once-per-reorg (Matt Corallo) 474b84a Make indentation in ActivateBestChainStep readable (Matt Corallo) b0a064c Fix comment in removeForReorg (Matt Corallo) 9b060e5 Fix removal of time-locked transactions during reorg (Matt Corallo) 0c9959a Add failing test checking timelocked-txn removal during reorg (Matt Corallo)
2015-12-01Merge pull request #7022Wladimir J. van der Laan
50947ef Change default block priority size to 0 (Alex Morcos)
2015-12-01qt: use QMetaObject::invokeMethod for cross-thread signaling in clientmodelWladimir J. van der Laan
It's surprising to me that Q_EMIT even worked for this. But it doesn't build in Qt4, so switch back to `QMetaObject::invokeMethod`. Fixes #7138.
2015-12-01Merge pull request #7136Wladimir J. van der Laan
fa19a58 HelpMessage: Don't hide -mintxfee behind showDebug (MarcoFalke) faffc17 rpcwallet: Clarify what settxfee does (MarcoFalke) 9999cb0 Fix url in .travis.yml (MarcoFalke) fa22a10 contrib: Del. gitian downloader config and update gitian README (MarcoFalke) fad3035 [doc] Minor markdown fixes (MarcoFalke)
2015-12-01Merge pull request #6914Wladimir J. van der Laan
114b581 Prevector type (Pieter Wuille)
2015-12-01rpc: Don't translate warning messagesWladimir J. van der Laan
But keep translating them in the GUI. This - necessarily - requires duplication of a few messages. Alternative take on #7134, that keeps the translations from being wiped. Also document GetWarnings() input argument. Fixes #5895.
2015-12-01Merge pull request #7096Wladimir J. van der Laan
ff723da [Qt] improve minimum absolute fee option - Only display the minimum absolute fee control if CoinControl is enabled (Jonas Schnelli) 31b508a [Qt] make use of the nMinimumTotalFee (absolute) in coincontrols fee calculation (Jonas Schnelli) 80462dd [Qt] use ASYMP_UTF8 (≈) whenever we show a fee that is not absolute (Jonas Schnelli) ecc7c82 Move fPayAtLeastCustomFee function to CC (Pieter Wuille)
2015-12-01Merge pull request #7105Wladimir J. van der Laan
9ac63d6 Keep track of explicit wallet conflicts instead of using mempool (Pieter Wuille)
2015-12-01Merge pull request #7079Wladimir J. van der Laan
ebb25f4 Limit setAskFor and retire requested entries only when a getdata returns. (Gregory Maxwell) 5029698 prevent peer flooding request queue for an inv (kazcw)
2015-11-30Merge pull request #7072Gregory Maxwell
996d311 [RPC] Add transaction size to JSON output (Nick)
2015-11-30Change default block priority size to 0Alex Morcos
Make RPC tests have a default block priority size of 50000 (the old default) so we can still use free transactions in RPC tests. When priority is eliminated, we will have to make a different change if we want to continue allowing free txs.
2015-11-30Merge pull request #7044Gregory Maxwell
d52fbf0 Added additional config option for multiple RPC users. (Gregory Sanders)
2015-11-30Fix removeForReorg to use MedianTimePastSuhas Daftuar
2015-11-30Don't call removeForReorg if DisconnectTip failsSuhas Daftuar
2015-11-30Track coinbase spends in CTxMemPoolEntrySuhas Daftuar
This allows us to optimize CTxMemPool::removeForReorg.
2015-11-30removeForReorg calls once-per-disconnect-> once-per-reorgMatt Corallo
2015-11-30Make indentation in ActivateBestChainStep readableMatt Corallo
2015-11-30Fix comment in removeForReorgMatt Corallo
2015-11-30Fix removal of time-locked transactions during reorgMatt Corallo
2015-11-30HelpMessage: Don't hide -mintxfee behind showDebugMarcoFalke
2015-11-30rpcwallet: Clarify what settxfee doesMarcoFalke
2015-11-30Merge pull request #7094Wladimir J. van der Laan
1bb289f Assert now > 0 in GetTime GetTimeMillis GetTimeMicros (Patick Strateman)
2015-11-30Merge pull request #7008Wladimir J. van der Laan
c035306 Change GetPriority calculation. (Alex Morcos) 71f1d9f Modify variable names for entry height and priority (Alex Morcos) 5945819 Remove default arguments for CTxMemPoolEntry() (Alex Morcos)
2015-11-30Merge pull request #7035Wladimir J. van der Laan
4531fc4 torcontrol: only output disconnect if -debug=tor (Daniel Cousens)
2015-11-30[Qt] improve minimum absolute fee optionJonas Schnelli
- Only display the minimum absolute fee control if CoinControl is enabled
2015-11-30[Qt] make use of the nMinimumTotalFee (absolute) in coincontrols fee calculationJonas Schnelli
2015-11-30[Qt] use ASYMP_UTF8 (≈) whenever we show a fee that is not absoluteJonas Schnelli
2015-11-30Move fPayAtLeastCustomFee function to CCPieter Wuille
2015-11-30Merge pull request #7112Wladimir J. van der Laan
9af5f9c Move uiInterface.NotifyBlockTip signal above the core/wallet signal - This will keep getbestblockhash more in sync with blocknotify callbacks (Jonas Schnelli) 4082e46 [Qt] call GuessVerificationProgress synchronous during core signal, pass double over UI signal (Jonas Schnelli) 947d20b [Qt] reduce cs_main in getVerificationProgress() (Jonas Schnelli) e6d50fc [Qt] update block tip (height and date) without locking cs_main, update always (each block) (Jonas Schnelli) 012fc91 NotifyBlockTip signal: switch from hash (uint256) to CBlockIndex* - also adds a boolean for indication if the tip update was happening during initial sync - emit notification also during initial sync (Jonas Schnelli)
2015-11-30torcontrol: only output disconnect if -debug=torDaniel Cousens
2015-11-30Merge pull request #7103Wladimir J. van der Laan
fa506c0 [wallet] Add rpc tests to verify fee calculations (MarcoFalke) 4b89f01 Default fPayAtLeastCustomFee to false (Ryan Havar)
2015-11-30Move uiInterface.NotifyBlockTip signal above the core/wallet signalJonas Schnelli
- This will keep getbestblockhash more in sync with blocknotify callbacks
2015-11-30Merge pull request #7126Wladimir J. van der Laan
fa4b627 Move blocksonly parameter interaction to InitParameterInteraction() (MarcoFalke)
2015-11-30Merge pull request #7116Wladimir J. van der Laan
cb491e7 Trivial: Fix warning introduced by #7053 by casting to uint64_t (Jorge Timón)
2015-11-30Merge pull request #7127Jonas Schnelli
a6cbc02 Bugfix: Default -uiplatform is not actually the platform this build was compiled on (Luke Dashjr)
2015-11-30Merge pull request #7025Jonas Schnelli
2a8e8c2 [Qt] don't allow to store invalid proxy ports (Jonas Schnelli) d16d1b7 [Qt] refactor and optimize proxy settings behavior (Jonas Schnelli)
2015-11-30[Qt] call GuessVerificationProgress synchronous during core signal, pass ↵Jonas Schnelli
double over UI signal
2015-11-30[Qt] reduce cs_main in getVerificationProgress()Jonas Schnelli
2015-11-30[Qt] update block tip (height and date) without locking cs_main, update ↵Jonas Schnelli
always (each block)
2015-11-30NotifyBlockTip signal: switch from hash (uint256) to CBlockIndex*Jonas Schnelli
- also adds a boolean for indication if the tip update was happening during initial sync - emit notification also during initial sync
2015-11-29Trivial: Fix warning introduced by #7053 by casting to uint64_tJorge Timón
2015-11-29Added additional config option for multiple RPC users.Gregory Sanders
2015-11-29Keep track of explicit wallet conflicts instead of using mempoolPieter Wuille
2015-11-29Allow block announcements with headersSuhas Daftuar
This replaces using inv messages to announce new blocks, when a peer requests (via the new "sendheaders" message) that blocks be announced with headers instead of inv's. Since headers-first was introduced, peers send getheaders messages in response to an inv, which requires generating a block locator that is large compared to the size of the header being requested, and requires an extra round-trip before a reorg can be relayed. Save time by tracking headers that a peer is likely to know about, and send a headers chain that would connect to a peer's known headers, unless the chain would be too big, in which case we revert to sending an inv instead. Based off of @sipa's commit to announce all blocks in a reorg via inv, which has been squashed into this commit. Rebased-by: Pieter Wuille
2015-11-28Merge pull request #7106Gregory Maxwell
a9f3d3d Fix and improve relay from whitelisted peers (Pieter Wuille)