mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
17abffa04b
1. Returns Duration rather than long 2. Uses CompletableFuture rather than ListenableCompletableFuture I've also changed the error-handling a little. Instead of throwing a ProtocolException (RuntimeException) if PingPong isn't supported the exception is set in the CompletableFuture. We don't have anything catching this exception, so wrapping it in the CompletableFuture seems like a safe move. |
||
---|---|---|
.. | ||
src | ||
build.gradle |