This is an automated email from the ASF dual-hosted git repository. toulmean pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git.
from 1c77957 Merge pull request #113 from atoulme/add_test_to_close_app new 432ba9d continue implementation of eth client new 6cf7b07 spotless new 42c0453 fix how fork hashes are computed new e21352f minimal changes to pass build new fa4e8bf fix test new 30d063d Fix test new e09ad79 naive peer repository new e695e3a fix test new 2379619 update last contacted when new connection is created new 46ed87a wip new f094752 wip new 5d39447 moving peers around new 748c438 two clients starting up new 3b62a0c Fix acceptance test new 995fe74 Add app as a separate module. Add UI module new e50ede4 Add better handling of configuration in subsections and a web UI that renders configuration new ba523d9 add header to file new 03923fc Fix test - use an empty() method to designate empty config new b491e72 Fix some of the license issues new 1c87503 fix integration test new 6b830af Make message easier to read new 7884d11 fix license checks for dual-licensed dependencies new bbbbcba Add test around memory connections repository new f6bd4ad simplify code new 20b315c remove unused method new 4b532e0 Fix compilation error new 7a6869c misbehaving test new e5a10cc trying to resolve flaky test new c3f3af5 Merge branch 'master' of github.com:apache/incubator-tuweni into ethclient new 4eb3358 Test DNS client new 9a26436 Add tests for discovery peer repository new 65d82aa test get methods on repository new 6f7f72e Merge pull request #86 from atoulme/ethclient The 491 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .gitignore | 3 + build.gradle | 4 +- .../org/apache/tuweni/config/Configuration.java | 22 +++ .../apache/tuweni/config/EmptyConfiguration.java | 15 ++ .../main/java/org/apache/tuweni/config/Schema.java | 26 ++- .../org/apache/tuweni/config/SchemaBuilder.java | 8 +- .../tuweni/config/TomlBackedConfiguration.java | 37 +++++ dependency-versions.gradle | 14 ++ .../tuweni/devp2p/eth/ConnectToAnotherNodeTest.kt | 7 +- .../tuweni/devp2p/eth/BlockchainInformation.kt | 12 +- .../org/apache/tuweni/devp2p/eth/EthClient.kt | 45 +++--- .../org/apache/tuweni/devp2p/eth/EthController.kt | 33 ++-- .../org/apache/tuweni/devp2p/eth/EthHandler.kt | 88 +++++----- .../apache/tuweni/devp2p/eth/EthRequestsManager.kt | 9 +- .../org/apache/tuweni/devp2p/eth/EthSubprotocol.kt | 6 +- .../org/apache/tuweni/devp2p/eth/Messages.kt | 17 +- .../tuweni/devp2p/eth/BlockchainInformationTest.kt | 59 +++++++ .../org/apache/tuweni/devp2p/eth/EthHandlerTest.kt | 30 ++-- .../tuweni/devp2p/DiscoveryServiceJavaTest.java | 3 +- .../apache/tuweni/devp2p/DiscoveryServiceTest.kt | 29 +++- .../org/apache/tuweni/devp2p/DiscoveryService.kt | 35 ++-- .../main/kotlin/org/apache/tuweni/devp2p/Node.kt | 2 +- .../main/kotlin/org/apache/tuweni/devp2p/Peer.kt | 2 +- .../org/apache/tuweni/devp2p/PeerRepository.kt | 47 ++---- .../tuweni/devp2p/EphemeralPeerRepositoryTest.kt | 44 +++-- .../org/apache/tuweni/discovery/DNSDaemon.kt | 4 +- {eth-client => eth-client-app}/build.gradle | 23 ++- .../apache/tuweni/ethclient/EthereumClientApp.kt | 69 ++++++++ eth-client-app/src/main/resources/tuweni.txt | 29 ++++ {eth-client => eth-client-ui}/build.gradle | 23 ++- .../apache/tuweni/ethclientui/UIIntegrationTest.kt | 50 ++++++ .../tuweni/ethclientui/ConfigurationService.kt | 39 ++--- .../kotlin/org/apache/tuweni/ethclientui/UI.kt | 67 ++++++++ eth-client-ui/src/main/resources/webapp/index.html | 119 ++++++++++++++ eth-client-ui/src/main/resources/webapp/index.js | 25 +++ eth-client/build.gradle | 9 ++ .../apache/tuweni/ethclient/DNSClientRunTest.kt | 44 ++--- .../tuweni/ethclient/EthereumClientRunTest.kt | 42 +++++ .../org/apache/tuweni/ethclient/DNSClient.kt | 68 ++++++++ .../tuweni/ethclient/DiscoveryPeerRepository.kt | 90 +++++++++++ .../org/apache/tuweni/ethclient/EthClient.kt | 125 --------------- .../org/apache/tuweni/ethclient/EthereumClient.kt | 177 +++++++++++++++++++++ .../tuweni/ethclient/EthereumClientConfig.kt | 167 +++++++++++++++++++ .../WireConnectionPeerRepositoryAdapter.kt | 49 ++++++ eth-client/src/main/resources/default.json | 27 ++++ eth-client/src/main/resources/default.toml | 15 ++ eth-client/src/main/resources/logback.xml | 2 +- .../ethclient/DiscoveryPeerRepositoryTest.kt | 57 +++++++ .../tuweni/ethclient/EthereumClientConfigTest.kt | 88 ++++++++++ .../WireConnectionPeerRepositoryAdapterTest.kt | 79 +++++++++ eth-client/src/test/resources/minimal.conf | 14 ++ .../tuweni/eth/repository/BlockchainRepository.kt | 9 ++ .../org/apache/tuweni/eth/genesis/GenesisFile.java | 8 +- .../apache/tuweni/eth/genesis/GenesisFileTest.java | 2 +- gradle/check-licenses.gradle | 28 +++- les/build.gradle | 2 + .../org/apache/tuweni/les/LESSubProtocolHandler.kt | 35 ++-- .../apache/tuweni/les/LESSubProtocolHandlerTest.kt | 98 ++++++++---- .../net/coroutines/CoroutineSocketChannelTest.kt | 2 + {rlpx => peer-repository}/build.gradle | 13 +- .../tuweni/peer/repository/PeerRepository.kt | 65 ++++++++ .../peer/repository/memory/MemoryPeerRepository.kt | 120 ++++++++++++++ .../repository/memory/MemoryPeerRepositoryTest.kt | 62 ++++++++ rlpx/build.gradle | 2 + .../tuweni/rlpx/vertx/VertxAcceptanceTest.java | 9 +- .../rlpx/MemoryWireConnectionsRepository.java | 7 +- .../org/apache/tuweni/rlpx/RLPxConnection.java | 4 +- .../java/org/apache/tuweni/rlpx/RLPxService.java | 22 +-- .../tuweni/rlpx/WireConnectionRepository.java | 6 +- .../apache/tuweni/rlpx/vertx/VertxRLPxService.java | 60 +++---- .../tuweni/rlpx/wire/DefaultWireConnection.java | 76 ++++++--- .../apache/tuweni/rlpx/wire/DisconnectMessage.java | 5 + .../apache/tuweni/rlpx/wire/DisconnectReason.java | 64 ++++++-- .../tuweni/rlpx/wire/SubProtocolHandler.java | 8 +- .../apache/tuweni/rlpx/wire/WireConnection.java | 55 ++++++- .../rlpx/MemoryWireConnectionsRepositoryTest.java | 47 ++++++ .../rlpx/wire/DefaultWireConnectionTest.java | 31 ++-- .../org/apache/tuweni/rlpx/wire/PingPongTest.java | 12 +- settings.gradle | 3 + 79 files changed, 2376 insertions(+), 577 deletions(-) create mode 100644 devp2p-eth/src/test/kotlin/org/apache/tuweni/devp2p/eth/BlockchainInformationTest.kt copy {eth-client => eth-client-app}/build.gradle (70%) create mode 100644 eth-client-app/src/main/kotlin/org/apache/tuweni/ethclient/EthereumClientApp.kt create mode 100644 eth-client-app/src/main/resources/tuweni.txt copy {eth-client => eth-client-ui}/build.gradle (61%) create mode 100644 eth-client-ui/src/integrationTest/kotlin/org/apache/tuweni/ethclientui/UIIntegrationTest.kt copy devp2p/src/main/kotlin/org/apache/tuweni/devp2p/Node.kt => eth-client-ui/src/main/kotlin/org/apache/tuweni/ethclientui/ConfigurationService.kt (50%) create mode 100644 eth-client-ui/src/main/kotlin/org/apache/tuweni/ethclientui/UI.kt create mode 100644 eth-client-ui/src/main/resources/webapp/index.html create mode 100644 eth-client-ui/src/main/resources/webapp/index.js copy devp2p/src/main/kotlin/org/apache/tuweni/devp2p/Node.kt => eth-client/src/integrationTest/kotlin/org/apache/tuweni/ethclient/DNSClientRunTest.kt (51%) create mode 100644 eth-client/src/integrationTest/kotlin/org/apache/tuweni/ethclient/EthereumClientRunTest.kt create mode 100644 eth-client/src/main/kotlin/org/apache/tuweni/ethclient/DNSClient.kt create mode 100644 eth-client/src/main/kotlin/org/apache/tuweni/ethclient/DiscoveryPeerRepository.kt delete mode 100644 eth-client/src/main/kotlin/org/apache/tuweni/ethclient/EthClient.kt create mode 100644 eth-client/src/main/kotlin/org/apache/tuweni/ethclient/EthereumClient.kt create mode 100644 eth-client/src/main/kotlin/org/apache/tuweni/ethclient/EthereumClientConfig.kt create mode 100644 eth-client/src/main/kotlin/org/apache/tuweni/ethclient/WireConnectionPeerRepositoryAdapter.kt create mode 100644 eth-client/src/main/resources/default.json create mode 100644 eth-client/src/main/resources/default.toml create mode 100644 eth-client/src/test/kotlin/org/apache/tuweni/ethclient/DiscoveryPeerRepositoryTest.kt create mode 100644 eth-client/src/test/kotlin/org/apache/tuweni/ethclient/EthereumClientConfigTest.kt create mode 100644 eth-client/src/test/kotlin/org/apache/tuweni/ethclient/WireConnectionPeerRepositoryAdapterTest.kt create mode 100644 eth-client/src/test/resources/minimal.conf copy {rlpx => peer-repository}/build.gradle (82%) create mode 100644 peer-repository/src/main/kotlin/org/apache/tuweni/peer/repository/PeerRepository.kt create mode 100644 peer-repository/src/main/kotlin/org/apache/tuweni/peer/repository/memory/MemoryPeerRepository.kt create mode 100644 peer-repository/src/test/kotlin/org/apache/tuweni/peer/repository/memory/MemoryPeerRepositoryTest.kt create mode 100644 rlpx/src/test/java/org/apache/tuweni/rlpx/MemoryWireConnectionsRepositoryTest.java --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@tuweni.apache.org For additional commands, e-mail: commits-h...@tuweni.apache.org