Wladimir J. van der Laan
61b86848b1
Merge #8111 : Benchmark SipHash
...
619d569
Benchmark SipHash (Pieter Wuille)
9 years ago
Jonas Nick
bd0f413877
Reduce unnecessary hashing in signrawtransaction
9 years ago
MarcoFalke
6ff2c8d29f
Merge #8104 : Tests: add timeout to sync_blocks() and sync_mempools()
...
e871f83
Tests: add timeout to sync_blocks() and sync_mempools() (Suhas Daftuar)
9 years ago
fanquake
1a8c4d575d
[Doc] Add benchmarking notes
9 years ago
Pieter Wuille
628cf1440a
Don't use assert for catching randomness failures
9 years ago
Pieter Wuille
fa2637a3be
Always require OS randomness when generating secret keys
9 years ago
Pieter Wuille
619d5691c2
Benchmark SipHash
9 years ago
Cory Fields
723779c650
build: Enumerate ctaes rather than globbing
9 years ago
Pieter Wuille
88f14b999c
Include signal.h for sig_atomic_t in WIN32
9 years ago
MarcoFalke
a80de15113
Merge #8108 : Trivial: Remove unused local variable shadowing upper local
...
13c4558
Remove unused local variable shadowing upper local (Pavel Janík)
9 years ago
MarcoFalke
06bd4f637f
Merge #8098 : [qa] test_framework: Append portseed to tmpdir
...
fa57b0c
[qa] test_framework: Append portseed to tmpdir (MarcoFalke)
9 years ago
Pavel Janík
13c455823f
Remove unused local variable shadowing upper local
9 years ago
Yuri Zhykin
5fac1f33fb
bench: Added base58 encoding/decoding benchmarks
9 years ago
Suhas Daftuar
e871f8338a
Tests: add timeout to sync_blocks() and sync_mempools()
...
Previously these functions would infinitely loop if sync failed;
now they have a default timeout of 60 seconds, after which an
AssertionError is raised.
sync_blocks() has also been improved and now compares the tip
hash of each node, rather than just using block count.
9 years ago
Pieter Wuille
425278d17b
Merge #8102 : Bugfix: use global ::fRelayTxes instead of CNode in version send
...
52b02ec
Use global ::fRelayTxes instead of CNode one (Pieter Wuille)
9 years ago
Pieter Wuille
52b02ecd6d
Use global ::fRelayTxes instead of CNode one
9 years ago
Pieter Wuille
c028c7b755
Merge #8049 : Expose information on whether transaction relay is enabled in `getnetwork`
...
1ab1dc3
rpc: Add `relaytxes` flag to `getnetworkinfo` (Wladimir J. van der Laan)
581ddff
net: Add fRelayTxes flag (Wladimir J. van der Laan)
9 years ago
Gregory Maxwell
6182d10503
Do not increment nAttempts by more than one for every Good connection.
...
This slows the increase of the nAttempts in addrman while partitioned,
even if the node hasn't yet noticed the partitioning.
9 years ago
Gregory Maxwell
c769c4af11
Avoid counting failed connect attempts when probably offline.
...
If a node is offline failed outbound connection attempts will crank up
the addrman counter and effectively blow away our state.
This change reduces the problem by only counting attempts made while
the node believes it has outbound connections to at least two
netgroups.
Connect and addnode connections are also not counted, as there is no
reason to unequally penalize them for their more frequent
connections -- though there should be no real effect from this
unless their addnode configureation is later removed.
Wasteful repeated connection attempts while only a few connections are
up are avoided via nLastTry.
This is still somewhat incomplete protection because our outbound
peers could be down but not timed out or might all be on 'local'
networks (although the requirement for multiple netgroups helps).
9 years ago
Wladimir J. van der Laan
6fc6325f77
Merge #8015 : CCoinsViewErrorCatcher raison-d-etre
...
a4d5855
CCoinsViewErrorCatcher raison-d-etre (21E14)
9 years ago
Wladimir J. van der Laan
e3a820751f
Merge #8034 : [doc][trivial] Add basic git squash workflow [skip ci]
...
90963e5
[doc] Add basic git squash example (fanquake)
9 years ago
Wladimir J. van der Laan
eb2f6f72db
Merge #8073 : qt: askpassphrasedialog: Clear pass fields on accept
...
02ce2a3
qt: askpassphrasedialog: Clear pass fields on accept (Pavel Vasin)
9 years ago
Gregory Maxwell
7e908c7b82
Do not use mempool for GETDATA for tx accepted after the last mempool req.
...
The ability to GETDATA a transaction which has not (yet) been relayed
is a privacy loss vector.
The use of the mempool for this was added as part of the mempool p2p
message and is only needed to fetch transactions returned by it.
9 years ago
Pieter Wuille
47a7cfb0aa
Merge #7795 : UpdateTip: log only one line at most per block
...
f20d42e
UpdateTip: log only one line at most per block (Wladimir J. van der Laan)
9 years ago
Pieter Wuille
f6b7df3155
Merge #8061 : [Wallet] Improve Wallet encapsulation
...
380498a
Move BackupWallet to CWallet::BackupWallet (Patrick Strateman)
ecb9741
Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalance (Patrick Strateman)
9 years ago
Pieter Wuille
d72098038f
Merge #8076 : VerifyDB: don't check blocks that have been pruned
...
bd477f4
VerifyDB: don't check blocks that have been pruned (Suhas Daftuar)
9 years ago
Pieter Wuille
c49c825bd9
Merge #8063 : Acquire lock to check for genesis block.
...
46b0c3b
Acquire lock to check for genesis block. (Patrick Strateman)
9 years ago
Pieter Wuille
33799afe83
Merge #8092 : Correct small typo in extract_strings_qt.py
...
678513c
Correct small typo in extract_strings_qt.py (Mitchell Cash)
9 years ago
Jonas Schnelli
2d83013dc5
Add support for dnsseeds with option to filter by servicebits
9 years ago
MarcoFalke
6700cc993c
Merge #8095 : Test framework: only cleanup on successful test runs
...
1ad9339
Test framework: only cleanup on successful test runs (Suhas Daftuar)
9 years ago
Suhas Daftuar
1ad9339508
Test framework: only cleanup on successful test runs
9 years ago
Alex Morcos
a278764748
FIX: Account for txs already added to block in addPriorityTxs
9 years ago
Mitchell Cash
678513cc94
Correct small typo in extract_strings_qt.py
9 years ago
Jonas Schnelli
77b49acc85
Merge #8014 : Qt: Sort transactions by date
...
2d5603c
Qt: Sort transactions by date (Tyler Hardin)
9 years ago
Jonas Schnelli
692971193a
Merge #8042 : [Qt] Don't allow to open the debug window during splashscreen & verification state
...
276ce84
[Qt] Disable some menu items during splashscreen/verification state (Jonas Schnelli)
9 years ago
Suhas Daftuar
bd477f4e8b
VerifyDB: don't check blocks that have been pruned
9 years ago
Peter Todd
11164ec0b4
Remove keys that are no longer used for merging
...
Also updated trusted git root to be right after gmaxwell's last merge.
9 years ago
Peter Todd
22421faa19
Remove pointless warning
...
Any attacker who managed to make an evil commit that changed something in the
contrib/verify-commits/ directory could just as easily remove the warning
and/or modify it to not display the evil commits; telling the user to check
those commits specifically misleads them into checking just those commits
rather than the script itself.
9 years ago
Matt Corallo
9523e8adaf
Make verify-commits path-independent
9 years ago
Matt Corallo
f7d4a25fe6
Make verify-commits POSIX-compliant
9 years ago
Cory Fields
2ca8962a09
travis: use slim generic image, and some fixups
...
Now that caches are distinct (https://github.com/travis-ci/travis-ci/issues/4393 ),
we can use the Travis minimal image.
The minimal image should take less time to setup and lead to quicker builds.
Also addressed while I'm in here:
- No need to delete the broken google-chrome repo in the minimal image
- Set the hostname to work-around an openjdk bug
- Remove the non-functional apt-cache option
- Remove useless message at completion
- Install jre where the java tests are run
9 years ago
MarcoFalke
37f9a1f627
Merge #8047 : [qa] test_framework: Set wait-timeout for bitcoind procs
...
fab5233
[qa] test_framework: Set wait-timeout for bitcoind procs (MarcoFalke)
9 years ago
Jonas Schnelli
3d3602faf4
Add RPC test for the p2p mempool command in conjunction with disabled bloomfilters
9 years ago
Peter Todd
beceac9bbf
Disable the mempool P2P command when bloom filters disabled
...
Only useful to SPV peers, and attackers... like bloom is a DoS vector as far
more data is sent than received.
9 years ago
MarcoFalke
8844ef15de
Merge #8056 : [qa] Remove hardcoded "4 nodes" from test_framework
...
fad68f7
[qa] Reduce node count for some tests (MarcoFalke)
fac9349
[qa] Remove hardcoded "4 nodes" from test_framework (MarcoFalke)
9 years ago
Jorge Timón
ee9f4a5b15
Consensus: Decouple from chainparams.o and timedata.o
...
Do it for the consensus-critical functions:
- CheckBlockHeader
- CheckBlock
- ContextualCheckBlockHeader
9 years ago
MarcoFalke
1b87e5b5b1
Merge #8072 : travis: 'make check' in parallel and verbose
...
401ae65
travis: 'make check' in parallel and verbose (Cory Fields)
9 years ago
MarcoFalke
fa57b0c5ef
[qa] test_framework: Append portseed to tmpdir
...
This makes it possible to specify a tmpdir while running tests in
parallel
9 years ago
Pavel Vasin
02ce2a3ca7
qt: askpassphrasedialog: Clear pass fields on accept
...
This is usability improvement in a case if user gets re-asked
passphrase. (e.g. made a typo)
9 years ago
Cory Fields
401ae654b2
travis: 'make check' in parallel and verbose
...
- 'make check' in parallel, since the log will take care of clean output
- 'make check' verbose, so that test failure causes aren't hidden
9 years ago