Compare commits

...

7 commits

Author SHA1 Message Date
62c423ce9c Update docker/Dockerfile.core 2025-06-26 13:56:09 +00:00
d3945fff7e alter release date 2025-06-20 05:07:57 +07:00
34cc564f18 no 2025-06-20 05:05:58 +07:00
1be47b7646 completing merge 2025-06-20 05:01:21 +07:00
97c349f6b3 minor fixes 2025-06-20 04:55:34 +07:00
401b363d07 Update README.md 2025-06-19 11:22:26 +00:00
ac4b7c597c seednodes 2025-06-19 11:40:12 +07:00
8 changed files with 13 additions and 18 deletions

1
.gitignore vendored
View file

@ -39,3 +39,4 @@ deploy
*/.factorypath
.flatpak-builder
exchange.haveno.Haveno.yaml
hs_ed25519_secret_key

View file

@ -1,7 +1 @@
Patched Branch for App
Any changes must be made to the patched_changes (this) branch only if something is less of a patch, and more of a core functionality you can request this from the haveno core team.
Explaination of changes
Changed protocol serialization from 'A' to 'X' to indicate a clear significant change in structure
Changes the daemon to be a shadowJar instead
The original Haveno core fork from haveno-dex/haveno adapted for the multiplatform app.

View file

@ -85,13 +85,13 @@ import org.bitcoinj.core.Coin;
public class HavenoUtils {
// configure release date
private static final String RELEASE_DATE = "25-05-2024 00:00:00"; // optionally set to release date of the network in format dd-mm-yyyy to impose temporary limits, etc. e.g. "25-05-2024 00:00:00"
private static final String RELEASE_DATE = "18-06-2025 00:00:00"; // optionally set to release date of the network in format dd-mm-yyyy to impose temporary limits, etc. e.g. "25-05-2024 00:00:00"
public static final int RELEASE_LIMIT_DAYS = 60; // number of days to limit sell offers to max buy limit for new accounts
public static final int WARN_ON_OFFER_EXCEEDS_UNSIGNED_BUY_LIMIT_DAYS = 182; // number of days to warn if sell offer exceeds unsigned buy limit
public static final int ARBITRATOR_ACK_TIMEOUT_SECONDS = 60;
// configure fees
public static final boolean ARBITRATOR_ASSIGNS_TRADE_FEE_ADDRESS = true;
public static final boolean ARBITRATOR_ASSIGNS_TRADE_FEE_ADDRESS = false;
public static final double PENALTY_FEE_PCT = 0.02; // 2%
public static final double MAKER_FEE_PCT = 0.0015; // 0.15%
public static final double TAKER_FEE_PCT = 0.0075; // 0.75%
@ -476,9 +476,9 @@ public class HavenoUtils {
case XMR_STAGENET:
return "5B11hTJdG2XDNwjdKGLRxwSLwDhkbGg7C7UEAZBxjE6FbCeRMjudrpNACmDNtWPiSnNfjDQf39QRjdtdgoL69txv81qc2Mc";
case XMR_MAINNET:
throw new RuntimeException("Mainnet fee address not implemented");
return "8BTqDom6yukimzKTaLX7d4EgxznKUqTLjebpvUySkWGcg9irMqUwiHKccCTZ8dMu7CG3Ac89H7kqifpCwjCeWd2GUhhxy1F";
default:
throw new RuntimeException("Unhandled base currency network: " + Config.baseCurrencyNetwork());
return "8BTqDom6yukimzKTaLX7d4EgxznKUqTLjebpvUySkWGcg9irMqUwiHKccCTZ8dMu7CG3Ac89H7kqifpCwjCeWd2GUhhxy1F";
}
}

View file

@ -111,7 +111,7 @@ public class XmrWalletService extends XmrWalletBase {
public static final String MONERO_WALLET_RPC_NAME = Utilities.isWindows() ? "monero-wallet-rpc.exe" : "monero-wallet-rpc";
public static final String MONERO_WALLET_RPC_PATH = MONERO_BINS_DIR + File.separator + MONERO_WALLET_RPC_NAME;
public static final MoneroTxPriority PROTOCOL_FEE_PRIORITY = MoneroTxPriority.DEFAULT;
public static final int MONERO_LOG_LEVEL = -1; // monero library log level, -1 to disable
public static final int MONERO_LOG_LEVEL = 1; // monero library log level, -1 to disable
private static final MoneroNetworkType MONERO_NETWORK_TYPE = getMoneroNetworkType();
private static final MoneroWalletRpcManager MONERO_WALLET_RPC_MANAGER = new MoneroWalletRpcManager();
private static final String MONERO_WALLET_RPC_USERNAME = "haveno_user";
@ -120,8 +120,8 @@ public class XmrWalletService extends XmrWalletBase {
private static final String KEYS_FILE_POSTFIX = ".keys";
private static final String ADDRESS_FILE_POSTFIX = ".address.txt";
private static final int NUM_MAX_WALLET_BACKUPS = 2;
private static final int MAX_SYNC_ATTEMPTS = 3;
private static final boolean PRINT_RPC_STACK_TRACE = false;
private static final int MAX_SYNC_ATTEMPTS = 5;
private static final boolean PRINT_RPC_STACK_TRACE = true;
private static final String THREAD_ID = XmrWalletService.class.getSimpleName();
private static final long SHUTDOWN_TIMEOUT_MS = 60000;
private static final long NUM_BLOCKS_BEHIND_TOLERANCE = 5;

View file

@ -93,7 +93,7 @@ grant {
/* user data dir for Mac, Linux, Windows */
permission "java.io.FilePermission" "${user.home}${/}Library${/}Application Support${/}-", "read,write,delete";
permission "java.io.FilePermission" "${user.home}${/}.local${/}share${/}haveno-", "read,write,delete";
permission "java.io.FilePermission" "${user.home}${/}.local${/}share${/}-", "read,write,delete";
permission "java.io.FilePermission" "${appdata}${/}haveno-", "read,write,delete";
/* temp dir Mac, Linux, Windows TODO */

View file

@ -17,15 +17,14 @@ WORKDIR /home/haveno
RUN set -ex && git clone https://foss.haveno.com/haveno-network/haveno-core.git
WORKDIR /home/haveno/haveno
WORKDIR /home/haveno/haveno-core
RUN git checkout master && \
git reset --hard
RUN make clean && make skip-tests
WORKDIR /home/haveno/haveno
WORKDIR /home/haveno/haveno-core
ENTRYPOINT [ "./haveno-seednode" ]

View file

@ -0,0 +1 @@
ajbqx4clnjlr7lmzoftuvpvmqafdiilidsgocvokx6bqj3okk56ccfqd.onion