mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
Interim networking code commit in case of dev catastrophe!
DB shape change from v29 to add peer info. New NetworkRepository to handle above. Peer handshaking with v2 anti-DoS PoW code. Handshaking refactored into a state-machine-like enum. Some peer-related API calls added. Peers exchange pings, heights, peers. No actual peer sync yet. Other changes: Peer version info taken from Maven build properties/resource file. AnnotationPostProcessor more resilient when fetching PathItems. Per-repository session debugging flag that can be toggled at will. HSQLDBRepository.delete() now returns int so callers can detect whether anything was actually deleted. Some renaming to settings.
This commit is contained in:
18
pom.xml
18
pom.xml
@@ -8,6 +8,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<bouncycastle.version>1.60</bouncycastle.version>
|
||||
<dagger.version>1.2.2</dagger.version>
|
||||
<hsqldb.version>r5836</hsqldb.version>
|
||||
<jetty.version>9.4.11.v20180605</jetty.version>
|
||||
<jersey.version>2.27</jersey.version>
|
||||
@@ -16,10 +17,17 @@
|
||||
<swagger-api.version>2.0.6</swagger-api.version>
|
||||
<swagger-ui.version>3.19.0</swagger-ui.version>
|
||||
<felix-bundle-plugin.version>3.5.0</felix-bundle-plugin.version>
|
||||
<build.timestamp>${maven.build.timestamp}</build.timestamp>
|
||||
</properties>
|
||||
<build>
|
||||
<sourceDirectory>src/main/java</sourceDirectory>
|
||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${basedir}/src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
@@ -357,6 +365,11 @@
|
||||
<artifactId>jetty-rewrite</artifactId>
|
||||
<version>${jetty.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-client</artifactId>
|
||||
<version>${jetty.version}</version>
|
||||
</dependency>
|
||||
<!-- Jersey -->
|
||||
<dependency>
|
||||
<groupId>org.glassfish.jersey.core</groupId>
|
||||
@@ -416,5 +429,10 @@
|
||||
<artifactId>bcprov-jdk15on</artifactId>
|
||||
<version>${bouncycastle.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bctls-jdk15on</artifactId>
|
||||
<version>${bouncycastle.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
Reference in New Issue
Block a user