aboutsummaryrefslogtreecommitdiff
path: root/src/bloom.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Only use randomly created nonces in CRollingBloomFilter.Pieter Wuille2015-07-271-7/+6
|
* Make CRollingBloomFilter set nTweak for youPeter Todd2015-07-271-4/+15
| | | | | | | | | | | | While CBloomFilter is usually used with an explicitly set nTweak, CRollingBloomFilter is only used internally. Requiring every caller to set nTweak is error-prone and redundant; better to have the class handle that for you with a high-quality randomness source. Additionally when clearing the filter it makes sense to change nTweak as well to recover from a bad setting, e.g. due to insufficient randomness at initialization, so the clear() method is replaced by a reset() method that sets a new, random, nTweak value.
* Reuse vector hashing code for uint256Pieter Wuille2015-07-271-14/+4
|
* Add uint256 support to CRollingBloomFilterPeter Todd2015-07-271-0/+22
|
* Rolling bloom filter classGavin Andresen2015-04-301-16/+67
| | | | | | | For when you need to keep track of the last N items you've seen, and can tolerate some false-positives. Rebased-by: Pieter Wuille <[email protected]>
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* MOVEONLY: core/ -> primitives/Luke Dashjr2014-12-031-1/+1
|
* Convert remaining comments in /src to doxygen formatMichael Ford2014-11-211-8/+12
| | | | | | | | | | - Update comments in checkpoints to be doxygen compatible - Update comments in checkqueue to be doxygen compatible - Update coins to be doxygen compatible - Fix comment typo in crypter.h - Update licenses/copyright dates Closes #5325 #5184 #5183 #5182
* boost: moveonly: split CPubKey and friends to new filesCory Fields2014-10-311-0/+1
|
* MOVEONLY: Separate CTransaction and dependencies from corejtimon2014-10-271-1/+1
|
* boost: split stream classes out of serialize.hCory Fields2014-10-221-0/+1
| | | | serialization now has no dependencies.
* Separate script/standardjtimon2014-09-081-1/+2
|
* Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes)jtimon2014-09-081-1/+1
|
* Discover some missing includesjtimon2014-09-021-0/+2
|
* CBloomFilter::clear() methodTom Harding2014-07-211-0/+7
|
* Revert "CBloomFilter::clear() method"Wladimir J. van der Laan2014-07-211-7/+0
| | | | This reverts commit 8fbf03995df9a2003be603be1a930bc3373d56e0.
* CBloomFilter::clear() methodTom Harding2014-06-271-0/+7
|
* Code simplifications after CTransaction::GetHash() cachingPieter Wuille2014-06-221-1/+2
|
* Fix bloom filter not to use bit_maskperyaudo2014-03-201-4/+2
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-2/+4
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Performance optimization for bloom filters.Gregory Maxwell2013-08-201-2/+24
| | | | | | | | This reduces a peer's ability to attack network resources by using a full bloom filter, but without reducing the usability of bloom filters. It sets a default match everything filter for peers and it generalizes a prior optimization to cover more cases.
* main.h->core.h include dependency improvements.Jeff Garzik2013-06-241-1/+1
|
* Short-circuit bloom checking if we will always return true.Matt Corallo2013-02-241-0/+4
| | | | This allows full nodes to use bloom filters as an optimization.
* Add nFlags to CBloomFilter to make filter updating optional.Matt Corallo2013-01-161-3/+13
|
* Add a nTweak to bloom filters to tweak the seed.Matt Corallo2013-01-161-3/+4
|
* Automatically add any matching outputs to a filter during matching.Matt Corallo2013-01-161-4/+16
|
* Replace RelayMessage with RelayTransaction.Matt Corallo2013-01-161-2/+2
|
* Add a CBloomFilter class for use as a transaction filter.Matt Corallo2013-01-161-0/+133