diff options
| author | Suhas Daftuar <[email protected]> | 2016-05-26 14:19:07 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2016-05-26 14:19:07 -0400 |
| commit | e871f8338ad180428ff997b80a476d9719d8073f (patch) | |
| tree | 0c6c9e6704cd2934b99bb7f7fb3a8eb9be9ff871 /src/init.cpp | |
| parent | Merge #8102: Bugfix: use global ::fRelayTxes instead of CNode in version send (diff) | |
| download | discoin-e871f8338ad180428ff997b80a476d9719d8073f.tar.xz discoin-e871f8338ad180428ff997b80a476d9719d8073f.zip | |
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.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions