Skip to content

Commit

Permalink
Merge branch 'main' into arm64-aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
neodiX committed Jun 14, 2024
2 parents bba0f68 + c959f54 commit 1c50596
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
### Changes in this release

- added support of headless java
- added nogui argument
- added <ip> argument in order to listen on specified ip address
- Update TON binaries as of v2024.06 mainnet
- Update TON binaries as of v2024.06 testnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.SystemUtils;
import org.ton.java.utils.Utils;
import org.ton.settings.Node;

import java.io.File;
Expand All @@ -28,7 +29,11 @@ public String execute(Node node, String... command) {

ProcessBuilder pb = new ProcessBuilder(withBinaryCommand).redirectErrorStream(true);
Map<String, String> env = pb.environment();
env.put("FIFTPATH", node.getTonBinDir() + "lib" + ":" + node.getTonBinDir() + "smartcont");
if ((Utils.getOS() == Utils.OS.WINDOWS) || (Utils.getOS() == Utils.OS.WINDOWS_ARM)) {
env.put("FIFTPATH", node.getTonBinDir() + "lib" + "@" + node.getTonBinDir() + "smartcont");
} else {
env.put("FIFTPATH", node.getTonBinDir() + "lib" + ":" + node.getTonBinDir() + "smartcont");
}
pb.directory(new File(node.getTonBinDir() + "zerostate" + File.separator));
Process p = pb.start();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Masterchain swap
*
*/
// version capabilities
1 capCreateStats capBounceMsgBody or capReportVersion or capShortDequeue or config.version!
8 capCreateStats capBounceMsgBody or capReportVersion or capShortDequeue or config.version!
// max-validators max-main-validators min-validators
MAX_VALIDATORS MAX_MAIN_VALIDATORS MIN_VALIDATORS config.validator_num!
// min-stake max-stake min-total-stake max-factor
Expand Down

0 comments on commit 1c50596

Please sign in to comment.