Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ endif()
find_library(SODIUM_LIBRARY sodium REQUIRED)
message(STATUS "Using libsodium library at ${SODIUM_LIBRARY}")

# monero includes real sodium headers not present in the vendored stubs
find_path(SODIUM_INCLUDE_PATH sodium/crypto_shorthash_siphash24.h REQUIRED)
message(STATUS "Using libsodium include dir at ${SODIUM_INCLUDE_PATH}")

############
# HIDAPI
############
Expand Down Expand Up @@ -321,6 +325,7 @@ target_include_directories(monero-java PUBLIC
"${MONERO_PROJECT_SRC}/wallet/api"
${Boost_INCLUDE_DIR}
${OPENSSL_INCLUDE_DIR}
${SODIUM_INCLUDE_PATH}
)

if (APPLE)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ walletFull.close(true);

#### For Gradle, add to build.gradle:

`compile 'io.github.woodser:monero-java:0.8.54'`
`compile 'io.github.woodser:monero-java:0.8.55'`

#### For Maven, add to pom.xml:

```xml
<dependency>
<groupId>io.github.woodser</groupId>
<artifactId>monero-java</artifactId>
<version>0.8.54</version>
<version>0.8.55</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/javadocs/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h2 title="monero.common.*">monero.common.*</h2>
<div class="table-header col-last">Value</div>
<div class="col-first even-row-color"><code id="monero.common.MoneroUtils.RING_SIZE">public&nbsp;static&nbsp;final&nbsp;int</code></div>
<div class="col-second even-row-color"><code><a href="monero/common/MoneroUtils.html#RING_SIZE">RING_SIZE</a></code></div>
<div class="col-last even-row-color"><code>12</code></div>
<div class="col-last even-row-color"><code>16</code></div>
</div>
</li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion docs/javadocs/monero/wallet/MoneroWalletFull.html
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ <h3>connectionManagerListener</h3>
<li>
<section class="detail" id="isClosed">
<h3>isClosed</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isClosed</span></div>
<div class="member-signature"><span class="modifiers">protected volatile</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isClosed</span></div>
</section>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/javadocs/monero/wallet/MoneroWalletRpc.html
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ <h3>connectionManagerListener</h3>
<li>
<section class="detail" id="isClosed">
<h3>isClosed</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isClosed</span></div>
<div class="member-signature"><span class="modifiers">protected volatile</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isClosed</span></div>
</section>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion external/monero-cpp
Submodule monero-cpp updated 341 files
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.woodser</groupId>
<artifactId>monero-java</artifactId>
<version>0.8.54</version>
<version>0.8.55</version>
<name>Monero Java Library</name>
<description>A Java library for using Monero</description>
<url>https://github.com/woodser/monero-java</url>
Expand Down Expand Up @@ -97,7 +97,7 @@
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.6.2</version>
<version>5.6.4</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/monero/common/MoneroUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class MoneroUtils {
* @return the version of this monero-java library
*/
public static String getVersion() {
return "0.8.54";
return "0.8.55";
}

/**
Expand Down Expand Up @@ -142,7 +142,7 @@ public static boolean isNativeLibraryLoaded() {
}
}

public static final int RING_SIZE = 12; // network-enforced ring size
public static final int RING_SIZE = 16; // network-enforced ring size

private static int LOG_LEVEL = 0;
private static long AU_PER_XMR = 1000000000000l;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/monero/wallet/MoneroWalletDefault.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ abstract class MoneroWalletDefault implements MoneroWallet {
protected Set<MoneroWalletListenerI> listeners;
protected MoneroConnectionManager connectionManager;
protected MoneroConnectionManagerListener connectionManagerListener;
protected boolean isClosed = false;
protected volatile boolean isClosed = false;

public MoneroWalletDefault() {
this.listeners = new LinkedHashSet<MoneroWalletListenerI>();
Expand Down
Loading
Loading