Replace usages of currentTimeMillis where result is / 1000 with currentTimeSeconds

Mora Zyx, 03/27/2014 11:17 PM

Committed by:
Mike Hearn, 03/29/2014 09:41 PM
Add Mora Zyx to AUTHORS list.
PeerGroup: bugfixes to backoff.

1) Do the wait even on the exception path so if discoverPeers throws, we don't bypass the sleep.
2) Move some field accesses inside the lock.

Resolves issue 527.
WalletTool: automatically use localhost in regtest mode.
PeerGroup: tweak global backoff to be faster.
Consistently mark parent as nullable in TransactionOutput
More mock clock conversions, to avoid failures when running test cases independently.

Probably we should be injecting a mock Clock class so it goes away at the end of each test, but this would complicate the API somewhat.
Fix unit test broken by less aggressive backoff time.
Cheap test to see if an input stream is a wallet.

Andreas Schildbach, 04/06/2014 05:07 AM