aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-12-14Add RPC documentation for getblockheader[chainwork].James O'Beirne
2015-12-14Merge pull request #7125Wladimir J. van der Laan
5400ef6 Replace trickle nodes with per-node/message Poisson delays (Pieter Wuille)
2015-12-14Make max tip age an option instead of chainparamWladimir J. van der Laan
After discussion in #7164 I think this is better. Max tip age was introduced in #5987 to make it possible to run testnet-in-a-box. But associating this behavior with the testnet chain is wrong conceptually, as it is not needed in normal usage. Should aim to make testnet test the software as-is. Replace it with a (debug) option `-maxtipage`, which can be specified only in the specific case.
2015-12-14Merge pull request #7200Wladimir J. van der Laan
d812daf fix logic for error log (accraze) c611acc wallet: check if tx scriptPubKey is unspendable (accraze) b6915b8 checks for null data transaction before debug.log (accraze)
2015-12-14Unify package name to as few places as possible without major changesLuke Dashjr
2015-12-13Add "NODE_BLOOM" to guiutil so that peers don't get UNKNOWN[4]Matt Corallo
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-12-12fix logic for error logaccraze
2015-12-12wallet: check if tx scriptPubKey is unspendableaccraze
2015-12-11checks for null data transaction before debug.logaccraze
CWalletTx::GetAmounts could not find output address for null data transactions, thus issuing an error in debug.log. This change checks to see if the transaction is OP_RETURN before issuing error. resolves #6142
2015-12-11Replace trickle nodes with per-node/message Poisson delaysPieter Wuille
We used to have a trickle node, a node which was chosen in each iteration of the send loop that was privileged and allowed to send out queued up non-time critical messages. Since the removal of the fixed sleeps in the network code, this resulted in fast and attackable treatment of such broadcasts. This pull request changes the 3 remaining trickle use cases by random delays: * Local address broadcast (while also removing the the wiping of the seen filter) * Address relay * Inv relay (for transactions; blocks are always relayed immediately) The code is based on older commits by Patrick Strateman.
2015-12-11Merge pull request #7156Wladimir J. van der Laan
6e76587 rpc: remove cs_main lock from `createrawtransaction` (Wladimir J. van der Laan)
2015-12-10net: Add and document network messages in protocol.hWladimir J. van der Laan
- Avoids string typos (by making the compiler check) - Makes it easier to grep for handling/generation of a certain message type - Refer directly to documentation by following the symbol in IDE - Move list of valid message types to protocol.cpp: protocol.cpp is a more appropriate place for this, and having the array there makes it easier to keep things consistent.
2015-12-10Merge pull request #7179Wladimir J. van der Laan
2041190 test: Add basic test for `reject` code (Wladimir J. van der Laan) 9fc6ed6 net: Fix sent reject messages for blocks and transactions (Wladimir J. van der Laan)
2015-12-09Merge pull request #7154Wladimir J. van der Laan
a3c3ddb [Qt] add InMempool() info to transaction details (Jonas Schnelli)
2015-12-09[wallet] Adjust pruning testMarcoFalke
2015-12-08Merge pull request #4906Wladimir J. van der Laan
fc0f52d Added a test for the pruning of extraneous inputs after ApproximateBestSet (Murch) af9510e Moved set reduction to the end of ApproximateBestSubset to reduce performance impact (Murch) 5c03483 Coinselection prunes extraneous inputs from ApproximateBestSubset (AlSzacrel)
2015-12-08Build: Consensus: Make libbitcoinconsensus_la_SOURCES fully dynamic and ↵Jorge Timón
dependend on both crypto and consensus packages Some extra bytes in libconsensus to get all the crypto (except for signing, which is in the common module) below the libconsensus future independent repo (that has libsecp256k1 as a subtree). hmac_sha256.o seems to be the only thing libbitcoinconsensus doesn't depend on from crypto, some more bytes for the final libconsensus: I'm not personally worried.
2015-12-08Build: Libconsensus: Move libconsensus-ready files to the consensus packageJorge Timón
2015-12-08Build: Consensus: Move consensus files from common to its own module/packageJorge Timón
2015-12-07Added a test for the pruning of extraneous inputs after ApproximateBestSetMurch
2015-12-07Moved set reduction to the end of ApproximateBestSubset to reduce ↵Murch
performance impact
2015-12-07net: Account for `sendheaders` `verack` messagesWladimir J. van der Laan
Looks like these were forgotten in #6589.
2015-12-07net: Fix sent reject messages for blocks and transactionsWladimir J. van der Laan
Ever since we #5913 have been sending invalid reject messages for transactions and blocks.
2015-12-07Merge pull request #6589Wladimir J. van der Laan
ca188c6 log bytes recv/sent per command (Jonas Schnelli)
2015-12-07log bytes recv/sent per commandJonas Schnelli
2015-12-06Coinselection prunes extraneous inputs from ApproximateBestSubsetAlSzacrel
A further pass over the available inputs has been added to ApproximateBestSubset after a candidate set has been found. It will prune any extraneous inputs in the selected subset, in order to decrease the number of input and the resulting change.
2015-12-05Don't do mempool lookups for "mempool" command without a filterMatt Corallo
2015-12-04include the chaintip *blockIndex in the SyncTransaction signalJonas Schnelli
- allows reducing of calls to main.cpp for getting the chaintip during transaction syncing - potentially allows reducing of cs_main locks
2015-12-03Disconnect on mempool requests from peers when over the upload limit.Gregory Maxwell
Mempool requests use a fair amount of bandwidth when the mempool is large, disconnecting peers using them follows the same logic as disconnecting peers fetching historical blocks.
2015-12-03Merge pull request #7113Wladimir J. van der Laan
086ee67 Switch to a more efficient rolling Bloom filter (Pieter Wuille)
2015-12-03Merge pull request #7133Wladimir J. van der Laan
aa4b0c2 When not filtering blocks, getdata sends more in one test (Pieter Wuille) d41e44c Actually only use filterInventoryKnown with MSG_TX inventory messages. (Gregory Maxwell) b6a0da4 Only use filterInventoryKnown with MSG_TX inventory messages. (Patick Strateman) 6b84935 Rename setInventoryKnown filterInventoryKnown (Patick Strateman) e206724 Remove mruset as it is no longer used. (Gregory Maxwell) ec73ef3 Replace setInventoryKnown with a rolling bloom filter. (Gregory Maxwell)
2015-12-03Now that 0.12 has been branched, master is 0.12.99Wladimir J. van der Laan
... in preparation for 0.13
2015-12-03Merge pull request #7158Wladimir J. van der Laan
fab8347 [qt] Use tr() instead of _() (MarcoFalke)
2015-12-02Remove GetMinRelayFeeSuhas Daftuar
One test in AcceptToMemoryPool was to compare a transaction's fee agains the value returned by GetMinRelayFee. This value was zero for all small transactions. For larger transactions (between DEFAULT_BLOCK_PRIORITY_SIZE and MAX_STANDARD_TX_SIZE), this function was preventing low fee transactions from ever being accepted. With this function removed, we will now allow transactions in that range with fees (including modifications via PrioritiseTransaction) below the minRelayTxFee, provided that they have sufficient priority.
2015-12-02Use fee deltas for determining mempool acceptanceSuhas Daftuar
2015-12-02Update replace-by-fee logic to use fee deltasSuhas Daftuar
2015-12-02Fix mempool limiting for PrioritiseTransactionSuhas Daftuar
Redo the feerate index to be based on mining score, rather than fee. Update mempool_packages.py to test prioritisetransaction's effect on package scores.
2015-12-02[qt] Use tr() instead of _()MarcoFalke
Also, `make translate`
2015-12-02Fix typo in wallet.cppMarcoFalke
2015-12-02PartitionCheck: remove useless spacespaveljanik
2015-12-02TRIVIAL: Chainparams: Remove unused CBaseUnitTestParamsJorge Timón
2015-12-02Update miner.cpp: Fix typo in commentantonio-fr
2015-12-02[trivial] Fix typo in peertablemodel.cppMarcoFalke
2015-12-02Fix various typospaveljanik
2015-12-02Merge pull request #7128Wladimir J. van der Laan
02354c9 Constrain rpcport default values to a single location in code (Luke Dashjr)
2015-12-02qt: Final translation update before 0.12 forkWladimir J. van der Laan
- Add new translations (finally, after a long time) - update-translation script was not considering new translations - oops - fixed this, also remove (nearly) empty translations - Update translation process, it was still describing the old repository structure
2015-12-02Merge pull request #6216Wladimir J. van der Laan
db6047d Take the training wheels off anti-fee-sniping (Peter Todd)
2015-12-02rpc: remove cs_main lock from `createrawtransaction`Wladimir J. van der Laan
This is a pure utility function that doesn't use main's data structures, so it does not require that lock.
2015-12-02Merge pull request #7147Wladimir J. van der Laan
9827091 Squashed 'src/univalue/' changes from 5839ac3..2740c4f (MarcoFalke)