Giter Site home page Giter Site logo

sandoche / proof-of-stake-cryptocurrency-generator Goto Github PK

View Code? Open in Web Editor NEW
359.0 29.0 439.0 79.99 MB

🍀 Create your own Proof of Stake cryptocurrency with its own blockchain based on NXT

Home Page: https://coingenerator.sh

License: MIT License

JavaScript 6.33% Batchfile 0.02% Shell 0.10% HTML 77.41% CSS 0.46% Java 15.66% Python 0.03% Dockerfile 0.01%
nxt proof-of-stake generator cryptocurrency blockchain coin

proof-of-stake-cryptocurrency-generator's People

Contributors

aeris1one avatar dioisconnect avatar farbodsaraf avatar sandoche avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

proof-of-stake-cryptocurrency-generator's Issues

File not found - *.java

Hi, when i execute:
Proof-of-Stake-Cryptocurrency-generator\nxt>sh ./compile.sh
The result is:

compiling core...
File not found - *.java
./compile.sh: line 50: javac: command not found

What am i doing wrong?
(I am using Windows 64 bit)

Error on outbound connections after finished blockchain download, nxt wallet dashboard did not show sign of downloading

2019-08-01 21:20:08 INFO: Blockchain download in progress
2019-08-01 21:20:09 FINE: Got 2 confirmations
2019-08-01 21:20:09 INFO: Downloaded 16 blocks in 1 s, 12 per s, 0 min left
2019-08-01 21:20:09 INFO: Finished blockchain download
2019-08-01 21:20:37 FINE: Peer 80.211.145.9 version null returned error: {"error":"Maximum number of inbound connections exceeded"}, request was: {"protocol":1,"application":"NRS","requestType":"getInfo","blockchainState":0,"services":"0","version":"1.11.13","platform":"Mac OS X x86_64","shareAddress":true}, disconnecting
2019-08-01 21:24:01 FINE: Database connection pool current size: 3
2019-08-01 21:24:01 FINE: Database connection pool current size: 4
2019-08-01 21:24:01 FINE: Database connection pool current size: 5
2019-08-01 21:24:01 FINE: Database connection pool current size: 6
2019-08-01 21:29:38 FINE: Too many outbound connections, deactivating peer 159.65.126.29
2019-08-01 21:29:38 FINE: Too many outbound connections, deactivating peer 142.44.212.178
2019-08-01 21:30:08 FINE: Too many outbound connections, deactivating peer 162.243.194.123
2019-08-01 21:30:08 FINE: Too many outbound connections, deactivating peer 85.94.178.144
2019-08-01 21:30:37 FINE: Connect: peer 217.26.24.27 has new announced address ncnode.prao.ru, old is 217.26.24.27
2019-08-01 21:30:37 FINE: Removing old announced address 217.26.24.27 for peer 217.26.24.27
2019-08-01 21:31:08 FINE: Too many outbound connections, deactivating peer 185.137.234.120
2019-08-01 21:31:08 FINE: Peer 80.211.145.9 version null returned error: {"error":"Maximum number of inbound connections exceeded"}, request was: {"protocol":1,"application":"NRS","requestType":"getInfo","blockchainState":0,"services":"0","version":"1.11.13","platform":"Mac OS X x86_64","shareAddress":true}, disconnecting
2019-08-01 21:31:09 FINE: Too many outbound connections, deactivating peer 89.254.211.94
2019-08-01 21:31:29 FINE: Too many outbound connections, deactivating peer 89.212.19.49
2019-08-01 21:31:30 FINE: Too many outbound connections, deactivating peer 84.40.73.180
2019-08-01 21:31:59 FINE: Too many outbound connections, deactivating peer 217.182.93.187
2019-08-01 21:32:32 FINE: Too many outbound connections, deactivating peer 83.162.253.185
2019-08-01 21:33:00 FINE: Too many outbound connections, deactivating peer 103.77.48.21

"npm run nxt" on Ubuntu 18.04LTS wont run properly

Ubuntu 18.04LTS
Node: v13.2.0
Java: 11

Initializing Nxt server version 1.11.13
javafx not supported
isHeadless=false
Runtime mode nxt.env.CommandLineMode
User home folder /home/casper/Proof-of-Stake-Cryptocurrency-generator/nxt
Loading nxt-default.properties from classpath
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Using an nxt-default.properties file from a version other than 1.11.13 is not supported!!!
at nxt.Nxt.(Nxt.java:80)

Wallet does not compile on macOS Big Sur

Hello lovely people of Github!
So, I've made a Cryptocurrency using this project, but I can't compile it.
When I type in ./mac-release-package 1, it gives me following error:
PACKAGE=HXG-client-3 MACVERSION=3 compile compiling nxt core... Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. nxt core class files compiled successfully compiling nxt desktop... src/java/nxtdesktop/WalletContextMenu.java:19: error: package com.sun.javafx.scene.control.skin does not exist import com.sun.javafx.scene.control.skin.ContextMenuContent; ^ src/java/nxtdesktop/WalletContextMenu.java:20: error: package javafx.event does not exist import javafx.event.EventHandler; ^ src/java/nxtdesktop/WalletContextMenu.java:21: error: package javafx.scene does not exist import javafx.scene.Node; ^ src/java/nxtdesktop/WalletContextMenu.java:22: error: package javafx.scene does not exist import javafx.scene.Parent; ^ src/java/nxtdesktop/WalletContextMenu.java:23: error: package javafx.scene.control does not exist import javafx.scene.control.ContextMenu; ^ src/java/nxtdesktop/WalletContextMenu.java:24: error: package javafx.scene.input does not exist import javafx.scene.input.ContextMenuEvent; ^ src/java/nxtdesktop/WalletContextMenu.java:25: error: package javafx.scene.layout does not exist import javafx.scene.layout.VBox; ^ src/java/nxtdesktop/WalletContextMenu.java:26: error: package javafx.stage does not exist import javafx.stage.Window; ^ src/java/nxtdesktop/WalletContextMenu.java:37: error: cannot find symbol class WalletContextMenu implements EventHandler<ContextMenuEvent> { ^ symbol: class EventHandler src/java/nxtdesktop/WalletContextMenu.java:37: error: cannot find symbol class WalletContextMenu implements EventHandler<ContextMenuEvent> { ^ symbol: class ContextMenuEvent src/java/nxtdesktop/WalletContextMenu.java:40: error: cannot find symbol public void handle(ContextMenuEvent event) { ^ symbol: class ContextMenuEvent location: class WalletContextMenu src/java/nxtdesktop/DesktopApplication.java:19: error: package com.sun.javafx.scene.web does not exist import com.sun.javafx.scene.web.Debugger; ^ src/java/nxtdesktop/DesktopApplication.java:20: error: package javafx.application does not exist import javafx.application.Application; ^ src/java/nxtdesktop/DesktopApplication.java:21: error: package javafx.application does not exist import javafx.application.Platform; ^ src/java/nxtdesktop/DesktopApplication.java:22: error: package javafx.concurrent does not exist import javafx.concurrent.Worker; ^ src/java/nxtdesktop/DesktopApplication.java:23: error: package javafx.geometry does not exist import javafx.geometry.Rectangle2D; ^ src/java/nxtdesktop/DesktopApplication.java:24: error: package javafx.scene does not exist import javafx.scene.Scene; ^ src/java/nxtdesktop/DesktopApplication.java:25: error: package javafx.scene.image does not exist import javafx.scene.image.Image; ^ src/java/nxtdesktop/DesktopApplication.java:26: error: package javafx.scene.web does not exist import javafx.scene.web.WebEngine; ^ src/java/nxtdesktop/DesktopApplication.java:27: error: package javafx.scene.web does not exist import javafx.scene.web.WebView; ^ src/java/nxtdesktop/DesktopApplication.java:28: error: package javafx.stage does not exist import javafx.stage.Screen; ^ src/java/nxtdesktop/DesktopApplication.java:29: error: package javafx.stage does not exist import javafx.stage.Stage; ^ src/java/nxtdesktop/DesktopApplication.java:30: error: package javafx.stage does not exist import javafx.stage.StageStyle; ^ src/java/nxtdesktop/DesktopApplication.java:66: error: cannot find symbol public class DesktopApplication extends Application { ^ symbol: class Application src/java/nxtdesktop/DesktopApplication.java:71: error: cannot find symbol private static volatile Stage stage; ^ symbol: class Stage location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:72: error: cannot find symbol private static volatile WebEngine webEngine; ^ symbol: class WebEngine location: class DesktopApplication src/java/nxtdesktop/JavaScriptBridge.java:19: error: package javafx.application does not exist import javafx.application.Platform; ^ src/java/nxtdesktop/JavaScriptBridge.java:20: error: package javafx.scene.input does not exist import javafx.scene.input.Clipboard; ^ src/java/nxtdesktop/JavaScriptBridge.java:21: error: package javafx.scene.input does not exist import javafx.scene.input.ClipboardContent; ^ src/java/nxtdesktop/DesktopApplication.java:121: error: cannot find symbol public void start(Stage stage) throws Exception { ^ symbol: class Stage location: class DesktopApplication src/java/nxtdesktop/JavaScriptBridge.java:42: error: cannot find symbol private Clipboard clipboard; ^ symbol: class Clipboard location: class JavaScriptBridge src/java/nxtdesktop/WalletContextMenu.java:39: error: method does not override or implement a method from a supertype @Override ^ src/java/nxtdesktop/WalletContextMenu.java:42: error: cannot find symbol final Iterator<Window> windows = Window.impl_getWindows(); // May not work in Java 9 ^ symbol: class Window location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:42: error: cannot find symbol final Iterator<Window> windows = Window.impl_getWindows(); // May not work in Java 9 ^ symbol: variable Window location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:45: error: cannot find symbol final Window window = windows.next(); ^ symbol: class Window location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:46: error: cannot find symbol if (window instanceof ContextMenu) { ^ symbol: class ContextMenu location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:48: error: cannot find symbol Parent root = window.getScene().getRoot(); ^ symbol: class Parent location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:50: error: cannot find symbol Node popup = root.getChildrenUnmodifiable().get(0); ^ symbol: class Node location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:52: error: cannot find symbol Node bridge = popup.lookup(".context-menu"); ^ symbol: class Node location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:53: error: cannot find symbol ContextMenuContent cmc = (ContextMenuContent) ((Parent) bridge).getChildrenUnmodifiable().get(0); ^ symbol: class ContextMenuContent location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:53: error: cannot find symbol ContextMenuContent cmc = (ContextMenuContent) ((Parent) bridge).getChildrenUnmodifiable().get(0); ^ symbol: class ContextMenuContent location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:53: error: cannot find symbol ContextMenuContent cmc = (ContextMenuContent) ((Parent) bridge).getChildrenUnmodifiable().get(0); ^ symbol: class Parent location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:54: error: cannot find symbol VBox itemsContainer = cmc.getItemsContainer(); ^ symbol: class VBox location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:55: error: cannot find symbol for (Node node : itemsContainer.getChildren()) { ^ symbol: class Node location: class WalletContextMenu src/java/nxtdesktop/WalletContextMenu.java:56: error: package ContextMenuContent does not exist ContextMenuContent.MenuItemContainer item = (ContextMenuContent.MenuItemContainer)node; ^ src/java/nxtdesktop/WalletContextMenu.java:56: error: package ContextMenuContent does not exist ContextMenuContent.MenuItemContainer item = (ContextMenuContent.MenuItemContainer)node; ^ src/java/nxtdesktop/DesktopApplication.java:80: error: cannot find symbol Application.launch(DesktopApplication.class); ^ symbol: variable Application location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:84: error: cannot find symbol Platform.runLater(() -> showStage(false)); ^ symbol: variable Platform location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:90: error: cannot find symbol Platform.runLater(() -> showStage(true)); ^ symbol: variable Platform location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:108: error: cannot find symbol Platform.exit(); ^ symbol: variable Platform location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:120: error: method does not override or implement a method from a supertype @Override ^ src/java/nxtdesktop/DesktopApplication.java:123: error: cannot find symbol Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds(); ^ symbol: class Rectangle2D location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:123: error: cannot find symbol Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds(); ^ symbol: variable Screen location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:124: error: cannot find symbol WebView browser = new WebView(); ^ symbol: class WebView location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:124: error: cannot find symbol WebView browser = new WebView(); ^ symbol: class WebView location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:126: error: cannot find symbol WebView invisible = new WebView(); ^ symbol: class WebView location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:126: error: cannot find symbol WebView invisible = new WebView(); ^ symbol: class WebView location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:135: error: cannot find symbol Worker<Void> loadWorker = webEngine.getLoadWorker(); ^ symbol: class Worker location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:139: error: package Worker does not exist if (newState != Worker.State.SUCCEEDED) { ^ src/java/nxtdesktop/DesktopApplication.java:166: error: cannot find symbol @SuppressWarnings("deprecation") Debugger debugger = webEngine.impl_getDebugger(); ^ symbol: class Debugger location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:167: error: cannot find symbol Method startDebugServer = aClass.getMethod("startDebugServer", Debugger.class, int.class); ^ symbol: class Debugger location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:191: error: cannot find symbol Scene scene = new Scene(browser); ^ symbol: class Scene location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:191: error: cannot find symbol Scene scene = new Scene(browser); ^ symbol: class Scene location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:193: error: Image is abstract; cannot be instantiated stage.getIcons().add(new Image(address + "/img/nxt-icon-32x32.png")); ^ src/java/nxtdesktop/DesktopApplication.java:194: error: cannot find symbol stage.initStyle(StageStyle.DECORATED); ^ symbol: variable StageStyle location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:198: error: cannot find symbol Platform.setImplicitExit(false); // So that we can reopen the application in case the user closed it ^ symbol: variable Platform location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:220: error: cannot find symbol Platform.runLater(() -> webEngine.executeScript("NRS.getState(null, '" + msg + "')")); ^ symbol: variable Platform location: class DesktopApplication src/java/nxtdesktop/DesktopApplication.java:239: error: cannot find symbol Platform.runLater(() -> { ^ symbol: variable Platform location: class DesktopApplication src/java/nxtdesktop/JavaScriptBridge.java:55: error: cannot find symbol Platform.runLater(() -> { ^ symbol: variable Platform location: class JavaScriptBridge src/java/nxtdesktop/JavaScriptBridge.java:102: error: cannot find symbol clipboard = Clipboard.getSystemClipboard(); ^ symbol: variable Clipboard location: class JavaScriptBridge src/java/nxtdesktop/JavaScriptBridge.java:107: error: cannot find symbol final ClipboardContent content = new ClipboardContent(); ^ symbol: class ClipboardContent location: class JavaScriptBridge src/java/nxtdesktop/JavaScriptBridge.java:107: error: cannot find symbol final ClipboardContent content = new ClipboardContent(); ^ symbol: class ClipboardContent location: class JavaScriptBridge Note: src/java/nxtdesktop/JavaScriptBridge.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 72 errors if javafx is not supported, nxt desktop compile errors are safe to ignore, but desktop wallet will not be available no add-ons to compile compilation done javadoc src/java/nxt/Account.java:50: warning: no comment public final class Account { ^ src/java/nxt/Account.java:61: warning: no comment public static final class AccountAsset { ^ src/java/nxt/Account.java:133: warning: no comment public static final class AccountCurrency { ^ src/java/nxt/Account.java:283: warning: no comment public static final class AccountInfo { ^ src/java/nxt/Account.java:204: warning: no comment public static final class AccountLease { ^ src/java/nxt/Account.java:339: warning: no comment public static final class AccountProperty { ^ src/java/nxt/Account.java:57: warning: no comment public enum ControlType { ^ src/java/nxt/Account.java:52: warning: no comment public enum Event { ^ src/java/nxt/Account.java:404: warning: no comment public static final class PublicKey { ^ src/java/nxt/Account.java:725: warning: no comment public static boolean addAssetListener(Listener<AccountAsset> listener, Event eventType) { ^ src/java/nxt/Account.java:733: warning: no comment public static boolean addCurrencyListener(Listener<AccountCurrency> listener, Event eventType) { ^ src/java/nxt/Account.java:741: warning: no comment public static boolean addLeaseListener(Listener<AccountLease> listener, Event eventType) { ^ src/java/nxt/Account.java:717: warning: no comment public static boolean addListener(Listener<Account> listener, Event eventType) { ^ src/java/nxt/Account.java:749: warning: no comment public static boolean addPropertyListener(Listener<AccountProperty> listener, Event eventType) { ^ src/java/nxt/Account.java:1202: warning: no comment public static byte[] decryptFrom(byte[] publicKey, EncryptedData encryptedData, String recipientSecretPhrase, boolean uncompress) { ^ src/java/nxt/Account.java:1194: warning: no comment public byte[] decryptFrom(EncryptedData encryptedData, String recipientSecretPhrase, boolean uncompress) { ^ src/java/nxt/Account.java:1187: warning: no comment public static EncryptedData encryptTo(byte[] publicKey, byte[] data, String senderSecretPhrase, boolean compress) { ^ src/java/nxt/Account.java:1179: warning: no comment public EncryptedData encryptTo(byte[] data, String senderSecretPhrase, boolean compress) { ^ src/java/nxt/Account.java:872: warning: no comment public static Account getAccount(byte[] publicKey) { ^ src/java/nxt/Account.java:846: warning: no comment public static Account getAccount(long id) { ^ src/java/nxt/Account.java:859: warning: no comment public static Account getAccount(long id, int height) { ^ src/java/nxt/Account.java:955: warning: no comment public static AccountAsset getAccountAsset(long accountId, long assetId) { ^ src/java/nxt/Account.java:959: warning: no comment public static AccountAsset getAccountAsset(long accountId, long assetId, int height) { ^ src/java/nxt/Account.java:769: warning: no comment public static int getAccountAssetCount(long accountId) { ^ src/java/nxt/Account.java:773: warning: no comment public static int getAccountAssetCount(long accountId, int height) { ^ src/java/nxt/Account.java:947: warning: no comment public static DbIterator<AccountAsset> getAccountAssets(long accountId, int from, int to) { ^ src/java/nxt/Account.java:951: warning: no comment public static DbIterator<AccountAsset> getAccountAssets(long accountId, int height, int from, int to) { ^ src/java/nxt/Account.java:979: warning: no comment public static DbIterator<AccountCurrency> getAccountCurrencies(long accountId, int from, int to) { ^ src/java/nxt/Account.java:983: warning: no comment public static DbIterator<AccountCurrency> getAccountCurrencies(long accountId, int height, int from, int to) { ^ src/java/nxt/Account.java:971: warning: no comment public static AccountCurrency getAccountCurrency(long accountId, long currencyId) { ^ src/java/nxt/Account.java:975: warning: no comment public static AccountCurrency getAccountCurrency(long accountId, long currencyId, int height) { ^ src/java/nxt/Account.java:785: warning: no comment public static int getAccountCurrencyCount(long accountId) { ^ src/java/nxt/Account.java:789: warning: no comment public static int getAccountCurrencyCount(long accountId, int height) { ^ src/java/nxt/Account.java:1158: warning: no comment public AccountInfo getAccountInfo() { ^ src/java/nxt/Account.java:1175: warning: no comment public AccountLease getAccountLease() { ^ src/java/nxt/Account.java:793: warning: no comment public static int getAccountLeaseCount() { ^ src/java/nxt/Account.java:797: warning: no comment public static int getActiveLeaseCount() { ^ src/java/nxt/Account.java:1362: warning: no comment public AccountAsset getAsset(long assetId) { ^ src/java/nxt/Account.java:1366: warning: no comment public AccountAsset getAsset(long assetId, int height) { ^ src/java/nxt/Account.java:761: warning: no comment public static int getAssetAccountCount(long assetId) { ^ src/java/nxt/Account.java:765: warning: no comment public static int getAssetAccountCount(long assetId, int height) { ^ src/java/nxt/Account.java:963: warning: no comment public static DbIterator<AccountAsset> getAssetAccounts(long assetId, int from, int to) { ^ src/java/nxt/Account.java:967: warning: no comment public static DbIterator<AccountAsset> getAssetAccounts(long assetId, int height, int from, int to) { ^ src/java/nxt/Account.java:1370: warning: no comment public long getAssetBalanceQNT(long assetId) { ^ src/java/nxt/Account.java:1374: warning: no comment public long getAssetBalanceQNT(long assetId, int height) { ^ src/java/nxt/Account.java:1000: warning: no comment public static long getAssetBalanceQNT(long accountId, long assetId) { ^ src/java/nxt/Account.java:995: warning: no comment public static long getAssetBalanceQNT(long accountId, long assetId, int height) { ^ src/java/nxt/Account.java:1338: warning: no comment public DbIterator<AccountAsset> getAssets(int from, int to) { ^ src/java/nxt/Account.java:1342: warning: no comment public DbIterator<AccountAsset> getAssets(int height, int from, int to) { ^ src/java/nxt/Account.java:1350: warning: no comment public DbIterator<AssetTransfer> getAssetTransfers(int from, int to) { ^ src/java/nxt/Account.java:1210: warning: no comment public long getBalanceNQT() { ^ src/java/nxt/Account.java:1410: warning: no comment public Set<ControlType> getControls() { ^ src/java/nxt/Account.java:757: warning: no comment public static int getCount() { ^ src/java/nxt/Account.java:1390: warning: no comment public DbIterator<AccountCurrency> getCurrencies(int from, int to) { ^ src/java/nxt/Account.java:1394: warning: no comment public DbIterator<AccountCurrency> getCurrencies(int height, int from, int to) { ^ src/java/nxt/Account.java:1382: warning: no comment public AccountCurrency getCurrency(long currencyId) { ^ src/java/nxt/Account.java:1386: warning: no comment public AccountCurrency getCurrency(long currencyId, int height) { ^ src/java/nxt/Account.java:777: warning: no comment public static int getCurrencyAccountCount(long currencyId) { ^ src/java/nxt/Account.java:781: warning: no comment public static int getCurrencyAccountCount(long currencyId, int height) { ^ src/java/nxt/Account.java:987: warning: no comment public static DbIterator<AccountCurrency> getCurrencyAccounts(long currencyId, int from, int to) { ^ src/java/nxt/Account.java:991: warning: no comment public static DbIterator<AccountCurrency> getCurrencyAccounts(long currencyId, int height, int from, int to) { ^ src/java/nxt/Account.java:1354: warning: no comment public DbIterator<CurrencyTransfer> getCurrencyTransfers(int from, int to) { ^ src/java/nxt/Account.java:1398: warning: no comment public long getCurrencyUnits(long currencyId) { ^ src/java/nxt/Account.java:1402: warning: no comment public long getCurrencyUnits(long currencyId, int height) { ^ src/java/nxt/Account.java:1015: warning: no comment public static long getCurrencyUnits(long accountId, long currencyId) { ^ src/java/nxt/Account.java:1010: warning: no comment public static long getCurrencyUnits(long accountId, long currencyId, int height) { ^ src/java/nxt/Account.java:1222: warning: no comment public long getEffectiveBalanceNXT() { ^ src/java/nxt/Account.java:1226: warning: no comment public long getEffectiveBalanceNXT(int height) { ^ src/java/nxt/Account.java:1358: warning: no comment public DbIterator<Exchange> getExchanges(int from, int to) { ^ src/java/nxt/Account.java:1218: warning: no comment public long getForgedBalanceNQT() { ^ src/java/nxt/Account.java:1306: warning: no comment public long getGuaranteedBalanceNQT() { ^ src/java/nxt/Account.java:1310: warning: no comment public long getGuaranteedBalanceNQT(final int numberOfConfirmations, final int currentHeight) { ^ src/java/nxt/Account.java:1154: warning: no comment public long getId() { ^ src/java/nxt/Account.java:888: warning: no comment public static long getId(byte[] publicKey) { ^ src/java/nxt/Account.java:1298: warning: no comment public DbIterator<Account> getLessors() { ^ src/java/nxt/Account.java:1302: warning: no comment public DbIterator<Account> getLessors(int height) { ^ src/java/nxt/Account.java:805: warning: no comment public static DbIterator<AccountProperty> getProperties(long recipientId, long setterId, String property, int from, int to) { ^ src/java/nxt/Account.java:801: warning: no comment public static AccountProperty getProperty(long propertyId) { ^ src/java/nxt/Account.java:828: warning: no comment public static AccountProperty getProperty(long recipientId, String property) { ^ src/java/nxt/Account.java:832: warning: no comment public static AccountProperty getProperty(long recipientId, String property, long setterId) { ^ src/java/nxt/Account.java:893: warning: no comment public static byte[] getPublicKey(long id) { ^ src/java/nxt/Account.java:1346: warning: no comment public DbIterator<Trade> getTrades(int from, int to) { ^ src/java/nxt/Account.java:1378: warning: no comment public long getUnconfirmedAssetBalanceQNT(long assetId) { ^ src/java/nxt/Account.java:1005: warning: no comment public static long getUnconfirmedAssetBalanceQNT(long accountId, long assetId) { ^ src/java/nxt/Account.java:1214: warning: no comment public long getUnconfirmedBalanceNQT() { ^ src/java/nxt/Account.java:1406: warning: no comment public long getUnconfirmedCurrencyUnits(long currencyId) { ^ src/java/nxt/Account.java:1020: warning: no comment public static long getUnconfirmedCurrencyUnits(long accountId, long currencyId) { ^ src/java/nxt/Account.java:729: warning: no comment public static boolean removeAssetListener(Listener<AccountAsset> listener, Event eventType) { ^ src/java/nxt/Account.java:737: warning: no comment public static boolean removeCurrencyListener(Listener<AccountCurrency> listener, Event eventType) { ^ src/java/nxt/Account.java:745: warning: no comment public static boolean removeLeaseListener(Listener<AccountLease> listener, Event eventType) { ^ src/java/nxt/Account.java:721: warning: no comment public static boolean removeListener(Listener<Account> listener, Event eventType) { ^ src/java/nxt/Account.java:753: warning: no comment public static boolean removePropertyListener(Listener<AccountProperty> listener, Event eventType) { ^ src/java/nxt/Account.java:1025: warning: no comment public static DbIterator<AccountInfo> searchAccounts(String query, int from, int to) { ^ src/java/nxt/Account.java:99: warning: no comment public long getAccountId() { ^ src/java/nxt/Account.java:103: warning: no comment public long getAssetId() { ^ src/java/nxt/Account.java:107: warning: no comment public long getQuantityQNT() { ^ src/java/nxt/Account.java:111: warning: no comment public long getUnconfirmedQuantityQNT() { ^ src/java/nxt/Account.java:171: warning: no comment public long getAccountId() { ^ src/java/nxt/Account.java:175: warning: no comment public long getCurrencyId() { ^ src/java/nxt/Account.java:183: warning: no comment public long getUnconfirmedUnits() { ^ 100 warnings copy resources gzip generate jar files jar files generated successfully package installer Jar /Users/adem/Proof-of-Stake-Cryptocurrency-generator/Hexogen bundle a dmg file

It gives me some files like an .exe, but nothing of the generated files work. Also, a DMG file is not generated.
Can someone help me out with this one?

Exit status 1

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'nxt'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prenxt', 'nxt', 'postnxt' ]
5 info lifecycle [email protected]prenxt: [email protected]
6 info lifecycle [email protected]
nxt: [email protected]
7 verbose lifecycle [email protected]nxt: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
nxt: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Kirill\Desktop\Новая папка\Proof-of-Stake-Cryptocurrency-generator-master\node_modules.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python39\Scripts;C:\Python39;C:\ProgramData\Oracle\Java\javapath;C:\Python34;C:\Python34\Scripts;C:\Python27;C:\Python27\Scripts;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files\SafeNet\Authentication\SAC\x64;C:\Program Files\SafeNet\Authentication\SAC\x32;C:\Program Files (x86)\Skype\Phone;C:\WINDOWS\System32\OpenSSH;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs;C:\Users\Kirill\AppData\Local\Microsoft\WindowsApps;C:\Users\Kirill\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Kirill\AppData\Local\Gpg4win..\GnuPG\bin;C:\Users\Kirill\AppData\Local\Programs\Git\cmd;C:\Users\Kirill\AppData\Local\GitHubDesktop\bin;C:\Program Files\Multipass\bin;C:\Users\Kirill\AppData\Roaming\npm
9 verbose lifecycle [email protected]nxt: CWD: C:\Users\Kirill\Desktop\Новая папка\Proof-of-Stake-Cryptocurrency-generator-master
10 silly lifecycle [email protected]
nxt: Args: [ '/d /s /c', 'cd nxt ; sh ./compile.sh ; sh ./run.sh' ]
11 silly lifecycle [email protected]nxt: Returned: code: 1 signal: null
12 info lifecycle [email protected]
nxt: Failed to exec nxt script
13 verbose stack Error: [email protected] nxt: cd nxt ; sh ./compile.sh ; sh ./run.sh
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\Users\Kirill\Desktop\Новая папка\Proof-of-Stake-Cryptocurrency-generator-master
16 verbose Windows_NT 10.0.19042
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "nxt"
18 verbose node v14.17.5
19 verbose npm v6.14.14
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] nxt: cd nxt ; sh ./compile.sh ; sh ./run.sh
22 error Exit status 1
23 error Failed at the [email protected] nxt script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

error in login

Hi,
I try to compile and run codes in windows and try lots of ways but all of them failed. at last I decided to run codes in eclips on tomcat server. It was OK everything compiled, run and I create new account. it started to download blockchain, but after a while logout and I have this error "cannot connect to /nxt-proxy no openapi peers found" and I cant login again, what happend? how can I fix it?

run.sh Genesis Block

Hello,
I just completed the sh ./compile.sh command and then ran sh ./run.sh. Now, this error comes up:

2021-04-30 08:41:40 INFO: Genesis block not in database, starting from scratch
Exception in thread "Thread-4" java.lang.ExceptionInInitializerError
at nxt.util.Convert.toEpochTime(Convert.java:135)
at nxt.util.Time$EpochTime.getTime(Time.java:28)
at nxt.Nxt.getEpochTime(Nxt.java:304)
at nxt.peer.Peers$1.run(Peers.java:356)
at nxt.util.ThreadPool.lambda$runAll$1(ThreadPool.java:126)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Failed to load genesis parameters
at nxt.Genesis.(Genesis.java:49)
... 6 more
Caused by: java.text.ParseException: Unparseable date: "2021-04-29"
at java.text.DateFormat.parse(DateFormat.java:366)
at nxt.Genesis.(Genesis.java:47)
... 6 more
2021-04-30 08:41:40 FINE: Average database transaction time is 0.004 seconds
Exception in thread "Thread-3" java.lang.NoClassDefFoundError: Could not initialize class nxt.Genesis
at nxt.BlockchainProcessorImpl.addGenesisBlock(BlockchainProcessorImpl.java:1272)
at nxt.BlockchainProcessorImpl.lambda$new$5(BlockchainProcessorImpl.java:971)
at nxt.util.ThreadPool.lambda$runAll$1(ThreadPool.java:126)
at java.lang.Thread.run(Thread.java:748)
2021-04-30 08:41:40 SEVERE: Errors running startup tasks:
null
Could not initialize class nxt.Genesis

java.lang.RuntimeException: Errors running startup tasks:
null
Could not initialize class nxt.Genesis

at nxt.util.ThreadPool.runAll(ThreadPool.java:144)
at nxt.util.ThreadPool.start(ThreadPool.java:74)
at nxt.Nxt$Init.<clinit>(Nxt.java:395)
at nxt.Nxt.init(Nxt.java:327)
at nxt.Nxt.main(Nxt.java:314)

2021-04-30 08:41:40 INFO: Shutting down...
2021-04-30 08:41:40 INFO: nxt.maxNumberOfMonitors = "100"
2021-04-30 08:41:40 INFO: shutting down networkService
2021-04-30 08:41:40 INFO: shutting down sendingService
2021-04-30 08:41:40 INFO: shutting down peersService
2021-04-30 08:41:40 INFO: Database shutdown completed
2021-04-30 08:41:40 INFO: OxiChain server 1.11.15 stopped.

Creating Wallet Problem - Error

Hi, first thanks for the this very interesting project :)
i'am on the Step 3 : Create the installer for the wallet and all is doing on Ubutu.
I have a problem with this step on the Build Doc : "Building the installer on Unix"

When i'm executing the vi installer/build-installer.log, i have this fatal error :
:: IzPack - Version 5.1.3 ::.

< compiler specifications version: 5.0 >

  • Copyright (c) 2001-2010 Julien Ponge and others. All Rights Reserved.
  • Visit http://izpack.org/ for the latest releases
  • Released under the terms of the Apache Software License version 2.0.

-> Processing : ../installer/setup.xml
-> Output : ../MFT-client-V.0.0.1.jar
-> Base path : .
-> Kind : standard
-> Compression : default
-> Compr. level: -1
-> IzPack home : .

-> Fatal error :
org.picocontainer.PicoCompositionException: 2 satisfiable constructors is too many for 'class com.izforge.izpack.core.substitutor.VariableSubstitutorImpl'. Constructor List:[(java.util.Properties), (com.izforge.izpack.api.data.Variables)]
com.izforge.izpack.api.exception.ContainerException: org.picocontainer.PicoCompositionException: 2 satisfiable constructors is too many for 'class com.izforge.izpack.core.substitutor.VariableSubstitutorImpl'. Constructor List:[(java.util.Properties), (com.izforge.izpack.api.data.Variables)]
at com.izforge.izpack.core.container.AbstractContainer.getComponent(AbstractContainer.java:135)
at com.izforge.izpack.compiler.bootstrap.CompilerLauncher.main(CompilerLauncher.java:54)
Caused by: org.picocontainer.PicoCompositionException: 2 satisfiable constructors is too many for 'class com.izforge.izpack.core.substitutor.VariableSubstitutorImpl'. Constructor List:[(java.util.Properties), (com.izforge.izpack.api.data.Variables)]
at org.picocontainer.injectors.ConstructorInjector.getGreediestSatisfiableConstructor(ConstructorInjector.java:195)
at org.picocontainer.injectors.ConstructorInjector.getGreediestSatisfiableConstructor(ConstructorInjector.java:112)
at org.picocontainer.injectors.ConstructorInjector.access$100(ConstructorInjector.java:52)
at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:337)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:272)
at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:370)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:692)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:105)
at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:75)
at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:315)
at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:341)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:272)
at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:370)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:692)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:671)
at com.izforge.izpack.core.container.AbstractContainer.getComponent(AbstractContainer.java:131)
... 1 more

Can you help me ? :) Thanks

NXT creation Account

Dear

I typed this command :
npm run nxt

But the number of Minutes left increase at every actions. And I don't now how many times It takes. So
I tried to create a Account. When I created my account it say :
Connecting to the network, please try again later.

What should I do ?

Thanks

Mint.sh Errors out

nxt.mint.currencyCode not defined
Exception in thread "main" java.lang.IllegalArgumentException: nxt.mint.currencyCode not specified
at nxt.mint.MintWorker.mint(MintWorker.java:73)
at nxt.mint.MintWorker.main(MintWorker.java:67)

Submission Error

I submitted the newGenesisAccounts.json file and the height numbers, and the result came back with an error page saying: {"errorDescription":"Incorrect "height"","errorCode":4}

npm run nxt continues showing log files

Hello,

after running the Nxt Blockchain with npm run nxt it still showing log files after 15 hours and it dosnt end and i still cant open the URL

What is the problem?

2019-01-11 13:02:14 INFO: Copyright © 2016-2018 Jelurida IP B.V.
2019-01-11 13:02:14 INFO: Distributed under the Jelurida Public License version 1.1 for the Nxt Public Blockchain Platform, with ABSOLUTELY NO WARRANTY.
2019-01-11 13:02:14 INFO: Client UI is at http://localhost:7876/index.html
2019-01-11 13:02:14 FINE: Failed to resolve peer address: node1.nxt.cucountry.network
2019-01-11 13:02:14 FINE: Failed to resolve peer address: me.dotbot.us
2019-01-11 13:02:14 FINE: Known peers: 299
2019-01-11 13:03:14 FINE: Connect: peer 217.26.24.27 has new announced address ncnode.prao.ru, old is 217.26.24.27
2019-01-11 13:03:14 FINE: Removing old announced address 217.26.24.27 for peer 217.26.24.27

2019-01-11 13:03:44 FINE: Connect: peer 213.168.251.105 has new announced address slingdnx01.groovydata.com, old is 213.168.251.105
2019-01-11 13:03:44 FINE: Removing old announced address 213.168.251.105 for peer 213.168.251.105
2019-01-11 13:03:44 FINE: Peer 162.243.145.83 version null returned error: {"error":"Maximum number of inbound connections exceeded"}, request was: {"protocol":1,"application":"NRS","requestType":"getInfo","blockchainState":0,"services":"0","version":"1.11.13","platform":"Linux amd64","shareAddress":true}, disconnecting
2019-01-11 13:07:02 FINE: Blacklisting 91.207.175.37 version 1.9.2
2019-01-11 13:07:02 FINE: Invalid blockchain state null 91.207.175.37

Android Wallet?

Not really an issue, more of a request.

Is there some Android Wallet you can use for your own blockchain created with this?

Thanks.

"npm run nxt" error

[email protected] nxt C:\Users\Hexa\Desktop\HexaHa sh-Crypto
cd nxt ; sh ./compile.sh ; sh ./run.sh

Le chemin d'acc▒s sp▒cifi▒ est introuvable.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] nxt: cd nxt ; sh ./compi le.sh ; sh ./run.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] nxt script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Hexa\AppData\Roaming\npm-cache_logs\2018-05-08T17_06_11_0 12Z-debug.log

severe error

Hi,

I generated currency successfully. When uploaded in production server to get it live i am getting following error after issuing command curl -d requestType=startForging -d secretPhrase="" http://localhost:/nxt

error i am getting:

at nxt.Generator.setLastBlock(Generator.java:323)
at nxt.Generator.access$400(Generator.java:40)
at nxt.Generator$1.run(Generator.java:79)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

2018-09-09 11:30:55 SEVERE: Error in block generation thread
java.lang.NullPointerException
at nxt.Generator.setLastBlock(Generator.java:323)
at nxt.Generator.access$400(Generator.java:40)
at nxt.Generator$1.run(Generator.java:79)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-09-09 11:30:55 SEVERE: Error in block generation thread
java.lang.NullPointerException
at nxt.Generator.setLastBlock(Generator.java:323)
at nxt.Generator.access$400(Generator.java:40)
at nxt.Generator$1.run(Generator.java:79)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-09-09 11:30:56 SEVERE: Error in block generation thread
java.lang.NullPointerException

where am i going wrong?

cannot connect to /nxt-proxy no openAPI peers found

After compiling with .\win-compile.sh and syncing the chain with .\run.bat I've created an account on http://localhost:7876/index.html. Though when trying to login it keeps saying either "cannot connect to /nxt-proxy no openAPI peers found" or
"Connecting to the network... Please try again later." I get the same output in the logging of the terminal:
cannot connect to /nxt-proxy no openAPI peers found
but this is followed by "looking for remote confirmation nodes"
"updating remote nodes"
and I can see it is actually syncing.

To get around this issue I've tried both installing the windows wallet as a light client and full node. But there I have the same issue.
I've tried both on windows and ubuntu. I've tried firefox, chrome, IE and also private prowser tabs but I always get the same error.
Also, because I installed the wallet as a full node, when I tried running the run.bat file now I get the error that the chain is corrupt/newer. So I guess i'll have to delete the NXT database from my appdata/roaming folder and re-sync with run.bat?
Any ideas on how to login to the wallet?

javafx.application does not exist

image

When i run "npm run nxt", i am getting this error..
Can you please tell me what is problem?

I have installed OpenJDK and OpenJFX on ubuntu Server .
Thanks in advance.

Not Connected Issue

I have two nodes running in Amazon. However, I see "not connected" . Is it because I don't have enough nodes or is it related to nxt properties file? 2 is not enough? Genesis accounts and everything is okay. I opened all three ports from amazon. screenhot.
screen shot 2018-10-28 at 15 43 13
When I try forging I get the following error
2018-10-28 15:56:35 SEVERE: Error in block generation thread
java.lang.NullPointerException
at nxt.Generator.setLastBlock(Generator.java:323)
at nxt.Generator.access$400(Generator.java:40)
at nxt.Generator$1.run(Generator.java:79)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)

NXT Client needs update (1.12.2)

I've got some logs saying "Your peer has been blacklisted" "Cause : Old Version".
Can you please upgrade the client to its latest version ? (Maybe also NXT-Clone-Starter)

vps 504: gateway timeout

I have started a AWS VPS and run the ./compile.sh and then ./run.sh however when I vist http://ip-adress:7876 it just shows:

Error

The requested URL could not be retrieved

Error: Access to the web site failed
Why you are seeing this:
The web filter could not display the requested site.

Possible reasons could be:

•The web site denied you access, or the web filter received no reply from the site.
•Internet connectivity issues might be preventing the website from sending or receiving traffic.

If this problem persists, please ask your administrator to:

•Check access to the specific site - the HTTP error code is 504: Gateway Timeout.

Windows compile issues & missing win-compile.sh

Hi @sandoche,

Thank you for creating this cryptocurrency generator. I am running this from a windows machine, and get tons of errors when I attempt to npm run nxt (truncated error below). I attempted to follow the troubleshooting steps as you suggest in the how-to, but I was unable to locate the win-compile.sh file after git clone & npm install.

Can you advise as you what I need to do to get this to work in windows 10?

Thank you for your consideration.

==========================================

symbol: class JSONStreamAware
location: class JSONResponses
src\java\nxt\http\JSONResponses.java:36: error: cannot find symbol
public static final JSONStreamAware INCORRECT_PUBLIC_KEY = incorrect("publicKey");
^
symbol: class JSONStreamAware
location: class JSONResponses
Note: src\java\nxt\http\APIEnum.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
Starting default mode
Error: Could not find or load main class nxt.Nxt
←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m ←[0m←[35mcode←[0m ELIFECYCLE
←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m ←[0m←[35merrno←[0m 1
←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m [email protected] nxt: cd nxt ; sh ./compile.sh ; sh ./run.sh
←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m Exit status 1
←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m
←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m Failed at the [email protected] nxt script.
←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m This is probably not a problem with npm. There is likely additional logging output above.
←[0m
←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m A complete log of this run can be found in:
←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m
C:\Users\j22va\AppData\Roaming\npm-cache_logs\2021-05-16T02_25_00_766Z-debug.log
←[0m

Why charge 10% if nothing is guaranteed in return

Hi there,

I really would like to say thank you first, nothing cold or harshness here that vents. I just think that the smart contract here is the 10%, not the blockchain.

It's the only contract that states a centralized authority that, when you think about Web 3.0's decentralized autonomous spirit, makes no sense; nothing is mined for the 10% in the first place, not even a non-fungible guarantee it will "always work".

It's just there, and to my knowledge doesn't make it work any better if it's decentralized under another cryptocurrency, that is then decentralized on Ethereum and such. It's just a smart contract because it's first, not because it's fungible.

With regards,
Guus

error building installer

When building the installer using ./win-release-package.sh in a cygwin shell I get the following output:
java.io.FileNotFoundException: resource\nxt.manifest.mf (Access is denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at sun.tools.jar.Main.run(Main.java:175)
at sun.tools.jar.Main.main(Main.java:1288)

build-exe.log actually logs 0 errors.

build-installer.log logs the following:

Fatal error :
Source file nxt.jar (F:.......\nxt.jar) not found
com.izforge.izpack.api.exception.CompilerException: Source file nxt.jar (F:.......\nxt.jar) not found
at com.izforge.izpack.compiler.CompilerConfig.processFileChildren(CompilerConfig.java:1163)
at com.izforge.izpack.compiler.CompilerConfig.addPacksSingle(CompilerConfig.java:828)
at com.izforge.izpack.compiler.CompilerConfig.addPacks(CompilerConfig.java:724)
at com.izforge.izpack.compiler.CompilerConfig.executeCompiler(CompilerConfig.java:342)
at com.izforge.izpack.compiler.bootstrap.CompilerLauncher.main(CompilerLauncher.java:52)
Caused by: java.io.FileNotFoundException: Source file nxt.jar (F:.......\nxt.jar) not found
at com.izforge.izpack.compiler.CompilerConfig.processFileChildren(CompilerConfig.java:1096)
... 4 more

Any idea whats causing this?

Is it even possible to complete this using Windows 10? npm run nxt

Hey there, been at this for many days and I've been running into tons of problems here with npm run nxt and "downloadJPLSnapshot" not showing up despite being added to the nxt.properties file.

Is the NXT server supposed to launch after doing npm run nxt or do you execute these commands then launch the vanilla NXT server, or are those commands directly supposed to start an NXT client simply from executing?

If I try npm run nxt http://localhost:7876/index.html will not open properly, but if I execute the commands then launch my own NXT server it seemed to work with http://localhost:7876/index.html and it did start downloading the blockchain which makes it seem like I was doing this the proper way, however the guide leads me to believe NXT should somehow start after npm run nxt which is not happening, so the command must not be working for me.

I've tried everything listed to get npm run nxt to execute but it doesn't seem like it does properly.

I've used Git Bash, Anaconda, Python, CMD prompt and none of these are able to execute the npm run nxt command.

If I try to run the compile file (by double clicking) it says Compiling core... then something about unknown java file, I have java 8 installed. JRE, do you need the JRE or JDK because this is not stated in the guide?

Then I run run.bat as admin (by clicking) and two git bash/command prompts seem to flash on the screen then nothing happens.

If I try to do the npm run nxt in Git Bash I get an error similar to this from this Issue
https://github.com/sandoche/Proof-of-Stake-Cryptocurrency-generator/issues/11
`npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] nxt: cd nxt ; sh ./compi le.sh ; sh ./run.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] nxt script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Hexa\AppData\Roaming\npm-cache_logs\2018-05-08T17_06_11_0 12Z-debug.log`

sh ./win-compile.sh does not work for me at all in Git Bash

SEVERE ERROR

Hello,
I just created my Cryptocurrency and I want it to go into forging mode. Once I type in the command curl -d requestType=startForging -d secretPhrase="HERE I WRITE MY SECRET PHRASE" http://localhost:7375/nxt it gives me following error:

2021-05-08 12:42:50 SEVERE: Error in block generation thread
java.lang.NullPointerException: Cannot invoke "nxt.Block.getHeight()" because "<parameter1>" is null
	at nxt.Generator.setLastBlock(Generator.java:323)
	at nxt.Generator$1.run(Generator.java:79)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:831)

Ubuntu 18.04 compile.sh and no openapi peers

So when I run npm run nxt the minutes just keep increasing all the way up to over 2000 minutes so then I stopped that process and attempted to exec run.sh which had the same issue but I was able to get to localhost:7876 then. I then attempted to make an account but it told me no openapi peers were found. After this I attempted to run compile.sh as seen in the troubleshooting section and that gave me the error package javafx.application does not exist and also the error cannot find symbol. I believe these two errors are related because it seems the cannot find symbol errors only happen in code that is using the packages that are affected by javafx.application does not exist. I also have attempted to open a private window of firefox to access the wallet but still have the same issue of no openapi peers. What should I do now? I have the latest versions of java, jdk, nodejs and yarn installed.

Step4: clarifications

Greetings! Could you please put a bit more details into Step4 of Readme?
Maybe it's obvious for you, while it's not clear for me, for the following:

  1. Clone your cryptocurrency - what does it actually mean? Copy subfolder, created during Step2?
  2. Need it to be compiled again, if it has been already compiled during Step2?
  3. Should it know something about original server where it has been created and running currently?

run.bat problem

I run into a problem (as shown in the picture and the log file) Can you help me with it?
nxt.log
thanks

P.s.
I didn't use sh ./run.bat because it doesn't work so I just normally open that file
untitled

Windows Build Failing (JavaFX??)

Hey I am trying to build windows client on Ubuntu 18 with java 8 and I am getting this set of errors when trying to run win-compile. I used this tool a few years ago and don't remeber running into this issue. Please advise, maybe I am missing something??

baxtmann@nukacoin:~/Proof-of-Stake-Cryptocurrency-generator/NukaCoin$ sudo sh win-compile.sh src/java/nxt/Transaction.java:20: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/Attachment.java:24: error: package org.json.simple does not exist import org.json.simple.JSONArray; ^ src/java/nxt/Attachment.java:25: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/Appendix.java:24: error: package org.json.simple does not exist import org.json.simple.JSONArray; ^ src/java/nxt/Appendix.java:25: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/BlockchainProcessor.java:22: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/Block.java:19: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/db/BasicDb.java:21: error: package org.h2.jdbcx does not exist import org.h2.jdbcx.JdbcConnectionPool; ^ src/java/nxt/TransactionType.java:26: error: package org.apache.tika does not exist import org.apache.tika.Tika; ^ src/java/nxt/TransactionType.java:27: error: package org.apache.tika.mime does not exist import org.apache.tika.mime.MediaType; ^ src/java/nxt/TransactionType.java:28: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/Transaction.java:106: error: cannot find symbol JSONObject getJSONObject(); ^ symbol: class JSONObject location: interface Transaction src/java/nxt/Transaction.java:108: error: cannot find symbol JSONObject getPrunableAttachmentJSON(); ^ symbol: class JSONObject location: interface Transaction src/java/nxt/Appendix.java:40: error: cannot find symbol JSONObject getJSONObject(); ^ symbol: class JSONObject location: interface Appendix src/java/nxt/Appendix.java:177: error: cannot find symbol static boolean hasAppendix(String appendixName, JSONObject attachmentData) { ^ symbol: class JSONObject location: interface Appendix src/java/nxt/Attachment.java:1288: error: cannot find symbol ColoredCoinsDividendPayment(JSONObject attachmentData) { ^ symbol: class JSONObject location: class ColoredCoinsDividendPayment src/java/nxt/Attachment.java:1314: error: cannot find symbol void putMyJSON(JSONObject attachment) { ^ symbol: class JSONObject location: class ColoredCoinsDividendPayment src/java/nxt/Attachment.java:47: error: cannot find symbol private AbstractAttachment(JSONObject attachmentData) { ^ symbol: class JSONObject location: class AbstractAttachment src/java/nxt/Appendix.java:68: error: cannot find symbol AbstractAppendix(JSONObject attachmentData) { ^ symbol: class JSONObject location: class AbstractAppendix src/java/nxt/Appendix.java:113: error: cannot find symbol public final JSONObject getJSONObject() { ^ symbol: class JSONObject location: class AbstractAppendix src/java/nxt/Appendix.java:120: error: cannot find symbol abstract void putMyJSON(JSONObject json); ^ symbol: class JSONObject location: class AbstractAppendix src/java/nxt/peer/Peer.java:20: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/peer/Peer.java:21: error: package org.json.simple does not exist import org.json.simple.JSONStreamAware; ^ src/java/nxt/BlockchainProcessor.java:49: error: cannot find symbol void processPeerBlock(JSONObject request) throws NxtException; ^ symbol: class JSONObject location: interface BlockchainProcessor src/java/nxt/Block.java:66: error: cannot find symbol JSONObject getJSONObject(); ^ symbol: class JSONObject location: interface Block src/java/nxt/db/BasicDb.java:100: error: cannot find symbol private JdbcConnectionPool cp; ^ symbol: class JdbcConnectionPool location: class BasicDb src/java/nxt/Attachment.java:998: error: cannot find symbol ColoredCoinsAssetTransfer(JSONObject attachmentData) { ^ symbol: class JSONObject location: class ColoredCoinsAssetTransfer src/java/nxt/Attachment.java:1021: error: cannot find symbol void putMyJSON(JSONObject attachment) { ^ symbol: class JSONObject location: class ColoredCoinsAssetTransfer src/java/nxt/Attachment.java:2229: error: cannot find symbol MonetarySystemCurrencyTransfer(JSONObject attachmentData) { ^ symbol: class JSONObject location: class MonetarySystemCurrencyTransfer src/java/nxt/Attachment.java:2252: error: cannot find symbol void putMyJSON(JSONObject attachment) { ^ symbol: class JSONObject location: class MonetarySystemCurrencyTransfer src/java/nxt/TransactionType.java:206: error: cannot find symbol abstract Attachment.AbstractAttachment parseAttachment(JSONObject attachmentData) throws NxtException.NotValidException; ^ symbol: class JSONObject location: class TransactionType src/java/nxt/TransactionImpl.java:24: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/Appendix.java:185: error: cannot find symbol static Message parse(JSONObject attachmentData) { ^ symbol: class JSONObject location: class Message src/java/nxt/Appendix.java:219: error: cannot find symbol private Message(JSONObject attachmentData) { ^ symbol: class JSONObject location: class Message src/java/nxt/Appendix.java:260: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class Message src/java/nxt/Appendix.java:878: error: cannot find symbol static EncryptedMessage parse(JSONObject attachmentData) { ^ symbol: class JSONObject location: class EncryptedMessage src/java/nxt/Appendix.java:892: error: cannot find symbol EncryptedMessage(JSONObject attachmentData) { ^ symbol: class JSONObject location: class EncryptedMessage src/java/nxt/Appendix.java:906: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class EncryptedMessage src/java/nxt/Appendix.java:492: error: cannot find symbol private AbstractEncryptedMessage(JSONObject attachmentJSON, JSONObject encryptedMessageJSON) { ^ symbol: class JSONObject location: class AbstractEncryptedMessage src/java/nxt/Appendix.java:492: error: cannot find symbol private AbstractEncryptedMessage(JSONObject attachmentJSON, JSONObject encryptedMessageJSON) { ^ symbol: class JSONObject location: class AbstractEncryptedMessage src/java/nxt/Appendix.java:522: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class AbstractEncryptedMessage src/java/nxt/Appendix.java:1000: error: cannot find symbol static EncryptToSelfMessage parse(JSONObject attachmentData) { ^ symbol: class JSONObject location: class EncryptToSelfMessage src/java/nxt/Appendix.java:1014: error: cannot find symbol EncryptToSelfMessage(JSONObject attachmentData) { ^ symbol: class JSONObject location: class EncryptToSelfMessage src/java/nxt/Appendix.java:1028: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class EncryptToSelfMessage src/java/nxt/Appendix.java:1209: error: cannot find symbol static Phasing parse(JSONObject attachmentData) { ^ symbol: class JSONObject location: class Phasing src/java/nxt/PhasingParams.java:21: error: package org.json.simple does not exist import org.json.simple.JSONArray; ^ src/java/nxt/PhasingParams.java:22: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/Appendix.java:1247: error: cannot find symbol private Phasing(JSONObject attachmentData) { ^ symbol: class JSONObject location: class Phasing src/java/nxt/Appendix.java:1302: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class Phasing src/java/nxt/Appendix.java:306: error: cannot find symbol static PrunablePlainMessage parse(JSONObject attachmentData) { ^ symbol: class JSONObject location: class PrunablePlainMessage src/java/nxt/Appendix.java:326: error: cannot find symbol private PrunablePlainMessage(JSONObject attachmentData) { ^ symbol: class JSONObject location: class PrunablePlainMessage src/java/nxt/Appendix.java:385: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class PrunablePlainMessage src/java/nxt/Appendix.java:596: error: cannot find symbol static PrunableEncryptedMessage parse(JSONObject attachmentData) { ^ symbol: class JSONObject location: class PrunableEncryptedMessage src/java/nxt/Appendix.java:622: error: cannot find symbol private PrunableEncryptedMessage(JSONObject attachmentJSON) { ^ symbol: class JSONObject location: class PrunableEncryptedMessage src/java/nxt/Appendix.java:669: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class PrunableEncryptedMessage src/java/nxt/Attachment.java:119: error: cannot find symbol final void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class EmptyAttachment src/java/nxt/peer/Peer.java:126: error: cannot find symbol JSONObject send(JSONStreamAware request); ^ symbol: class JSONStreamAware location: interface Peer src/java/nxt/peer/Peer.java:126: error: cannot find symbol JSONObject send(JSONStreamAware request); ^ symbol: class JSONObject location: interface Peer src/java/nxt/peer/Peer.java:128: error: cannot find symbol JSONObject send(JSONStreamAware request, int maxResponseSize); ^ symbol: class JSONStreamAware location: interface Peer src/java/nxt/peer/Peer.java:128: error: cannot find symbol JSONObject send(JSONStreamAware request, int maxResponseSize); ^ symbol: class JSONObject location: interface Peer src/java/nxt/Attachment.java:1108: error: cannot find symbol private ColoredCoinsOrderPlacement(JSONObject attachmentData) { ^ symbol: class JSONObject location: class ColoredCoinsOrderPlacement src/java/nxt/Attachment.java:1134: error: cannot find symbol void putMyJSON(JSONObject attachment) { ^ symbol: class JSONObject location: class ColoredCoinsOrderPlacement src/java/nxt/Attachment.java:1159: error: cannot find symbol ColoredCoinsAskOrderPlacement(JSONObject attachmentData) { ^ symbol: class JSONObject location: class ColoredCoinsAskOrderPlacement src/java/nxt/Attachment.java:1180: error: cannot find symbol ColoredCoinsBidOrderPlacement(JSONObject attachmentData) { ^ symbol: class JSONObject location: class ColoredCoinsBidOrderPlacement src/java/nxt/Attachment.java:2295: error: cannot find symbol MonetarySystemPublishExchangeOffer(JSONObject attachmentData) { ^ symbol: class JSONObject location: class MonetarySystemPublishExchangeOffer src/java/nxt/Attachment.java:2337: error: cannot find symbol void putMyJSON(JSONObject attachment) { ^ symbol: class JSONObject location: class MonetarySystemPublishExchangeOffer src/java/nxt/BlockImpl.java:23: error: package org.json.simple does not exist import org.json.simple.JSONArray; ^ src/java/nxt/BlockImpl.java:24: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/TransactionImpl.java:717: error: cannot find symbol static TransactionImpl.BuilderImpl newTransactionBuilder(byte[] bytes, JSONObject prunableAttachments) throws NxtException.NotValidException { ^ symbol: class JSONObject location: class TransactionImpl src/java/nxt/TransactionImpl.java:749: error: cannot find symbol public JSONObject getJSONObject() { ^ symbol: class JSONObject location: class TransactionImpl src/java/nxt/TransactionImpl.java:780: error: cannot find symbol public JSONObject getPrunableAttachmentJSON() { ^ symbol: class JSONObject location: class TransactionImpl src/java/nxt/TransactionImpl.java:795: error: cannot find symbol static TransactionImpl parseTransaction(JSONObject transactionData) throws NxtException.NotValidException { ^ symbol: class JSONObject location: class TransactionImpl src/java/nxt/TransactionImpl.java:803: error: cannot find symbol static TransactionImpl.BuilderImpl newTransactionBuilder(JSONObject transactionData) throws NxtException.NotValidException { ^ symbol: class JSONObject location: class TransactionImpl src/java/nxt/PhasingParams.java:54: error: cannot find symbol PhasingParams(JSONObject attachmentData) { ^ symbol: class JSONObject location: class PhasingParams src/java/nxt/PhasingParams.java:97: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class PhasingParams src/java/nxt/http/APIServlet.java:26: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/http/APIServlet.java:27: error: package org.json.simple does not exist import org.json.simple.JSONStreamAware; ^ src/java/nxt/http/APIServlet.java:29: error: package javax.servlet.http does not exist import javax.servlet.http.HttpServlet; ^ src/java/nxt/http/APIServlet.java:30: error: package javax.servlet.http does not exist import javax.servlet.http.HttpServletRequest; ^ src/java/nxt/http/APIServlet.java:31: error: package javax.servlet.http does not exist import javax.servlet.http.HttpServletResponse; ^ src/java/nxt/http/JSONResponses.java:23: error: package org.json.simple does not exist import org.json.simple.JSONObject; ^ src/java/nxt/http/JSONResponses.java:24: error: package org.json.simple does not exist import org.json.simple.JSONStreamAware; ^ src/java/nxt/http/APIServlet.java:52: error: cannot find symbol public final class APIServlet extends HttpServlet { ^ symbol: class HttpServlet src/java/nxt/Appendix.java:1110: error: cannot find symbol static PublicKeyAnnouncement parse(JSONObject attachmentData) { ^ symbol: class JSONObject location: class PublicKeyAnnouncement src/java/nxt/Appendix.java:1125: error: cannot find symbol private PublicKeyAnnouncement(JSONObject attachmentData) { ^ symbol: class JSONObject location: class PublicKeyAnnouncement src/java/nxt/Appendix.java:1150: error: cannot find symbol void putMyJSON(JSONObject json) { ^ symbol: class JSONObject location: class PublicKeyAnnouncement src/java/nxt/BlockImpl.java:248: error: cannot find symbol public JSONObject getJSONObject() { ^ symbol: class JSONObject location: class BlockImpl src/java/nxt/BlockImpl.java:267: error: cannot find symbol static BlockImpl parseBlock(JSONObject blockData) throws NxtException.NotValidException { ^ symbol: class JSONObject location: class BlockImpl src/java/nxt/http/APIServlet.java:184: error: cannot find symbol protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { ^ symbol: class HttpServletRequest location: class APIServlet src/java/nxt/http/APIServlet.java:184: error: cannot find symbol protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { ^ symbol: class HttpServletResponse location: class APIServlet src/java/nxt/http/APIServlet.java:189: error: cannot find symbol protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException { ^ symbol: class HttpServletRequest location: class APIServlet src/java/nxt/http/APIServlet.java:189: error: cannot find symbol protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException { ^ symbol: class HttpServletResponse location: class APIServlet src/java/nxt/http/APIServlet.java:193: error: cannot find symbol private void process(HttpServletRequest req, HttpServletResponse resp) throws IOException { ^ symbol: class HttpServletRequest location: class APIServlet src/java/nxt/http/APIServlet.java:193: error: cannot find symbol private void process(HttpServletRequest req, HttpServletResponse resp) throws IOException { ^ symbol: class HttpServletResponse location: class APIServlet src/java/nxt/http/JSONResponses.java:30: error: cannot find symbol public static final JSONStreamAware INCORRECT_ALIAS = incorrect("alias"); ^ symbol: class JSONStreamAware location: class JSONResponses src/java/nxt/http/JSONResponses.java:31: error: cannot find symbol public static final JSONStreamAware INCORRECT_ALIAS_OWNER = incorrect("alias", "(invalid alias owner)"); ^ symbol: class JSONStreamAware location: class JSONResponses src/java/nxt/http/JSONResponses.java:32: error: cannot find symbol public static final JSONStreamAware INCORRECT_ALIAS_LENGTH = incorrect("alias", "(length must be in [1.." + Constants.MAX_ALIAS_LENGTH + "] range)"); ^ symbol: class JSONStreamAware location: class JSONResponses src/java/nxt/http/JSONResponses.java:33: error: cannot find symbol public static final JSONStreamAware INCORRECT_ALIAS_NAME = incorrect("alias", "(must contain only digits and latin letters)"); ^ symbol: class JSONStreamAware location: class JSONResponses src/java/nxt/http/JSONResponses.java:34: error: cannot find symbol public static final JSONStreamAware INCORRECT_ALIAS_NOTFORSALE = incorrect("alias", "(alias is not for sale at the moment)"); ^ symbol: class JSONStreamAware location: class JSONResponses src/java/nxt/http/JSONResponses.java:35: error: cannot find symbol public static final JSONStreamAware INCORRECT_URI_LENGTH = incorrect("uri", "(length must be not longer than " + Constants.MAX_ALIAS_URI_LENGTH + " characters)"); ^ symbol: class JSONStreamAware location: class JSONResponses Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors baxtmann@nukacoin:~/Proof-of-Stake-Cryptocurrency-generator/NukaCoin$

Why does I have -999 999 999 ?

The account in GenesisParameters.json have a balance of -999 999 999,99 while the account in newGenesisAccount.json is 900 000 000 (that's normal).
It is normal to have a negative balance here ? (All others accounts I create are 0)

Fatal Error during blockchain activation

When performing the step 2 (Create your own Cryptocurrency), the error SEVERE: Error in block generation thread is raised in the console.

Also, the account balance is showed as -999,999,999 and not connected, as displayed in this shared link

Any idea on how to solve it?

Regards

Compilation doesn't work on Windows

//Default shell in admin mod.

Microsoft Windows [version 10.0.16299.431]
(c) 2017 Microsoft Corporation. Tous droits réservés.

C:\WINDOWS\system32>cd C:\Users\Hexa\Desktop\HexaHash-Crypto

C:\Users\Hexa\Desktop\HexaHash-Crypto>npm run generate

[email protected] generate C:\Users\Hexa\Desktop\HexaHash-Crypto
node index.js


Welcome to Nxt clone Proof of Stake Cryptocurrency generator


? Name of the Blockchain (example: SuperCoin) HexaCoin
? Symbol of the coin (example: SPC) HXC
? Peer port (example: 6874) 3000
? Testnet peer port (example: 5874) 3001
? API server port (example: 6876) 3002
? Website of the project (or a github) not now
? Version of NXT Clone Starter latest (may not be compatible with the generator)

  1. Cloning the nxt-clone-starter
    Repository cloned successfully

  2. Setting up the parameters
    Modified files: HexaCoin/src/java/nxt/Nxt.java
    Modified files: HexaCoin/src/java/nxt/Constants.java
    Modified files: HexaCoin/src/java/nxt/Constants.java
    Modified files: HexaCoin/src/java/nxt/Constants.java
    Modified files: HexaCoin/src/java/nxt/peer/Peers.java
    Modified files: HexaCoin/src/java/nxt/peer/Peers.java
    Modified files: HexaCoin/contrib/Dockerfile
    Modified files: HexaCoin/contrib/Dockerfile
    Modified files: HexaCoin/Wallet.url
    Modified files: HexaCoin/Wallet.url
    Modified files: HexaCoin/conf/nxt-default.properties
    Modified files: HexaCoin/conf/nxt-default.properties

  3. Copying assets, and genesis files

  4. Compiling, renaming complation files
    Modified files: HexaCoin/compile.sh, HexaCoin/jar.sh, HexaCoin/mac-release-package.sh, HexaCoin/package.sh, HexaCoin/release-package.sh, HexaCoin/start.sh, HexaCoin/stop.sh, HexaCoin/win-compile.sh, HexaCoin/win-package.sh, HexaCoin/win-release-package.sh
    An error occured { Error: Command failed: cp -R templates/favicon.ico HexaCoin/html/www/
    'cp' n'est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:282:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:947:16)
    at Socket.stream.socket.on (internal/child_process.js:368:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:598:12)
    cause:
    { Error: Command failed: cp -R templates/favicon.ico HexaCoin/html/www/
    'cp' n'est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:282:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:947:16)
    at Socket.stream.socket.on (internal/child_process.js:368:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:598:12)
    killed: false,
    code: 1,
    signal: null,
    cmd: 'cp -R templates/favicon.ico HexaCoin/html/www/' },
    isOperational: true,
    killed: false,
    code: 1,
    signal: null,
    cmd: 'cp -R templates/favicon.ico HexaCoin/html/www/' }
    An error occured { Error: Command failed: rm -rf HexaCoin/html/www/img && cp -R templates/img HexaCoin/html/www/
    'rm' n'est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:282:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:947:16)
    at Socket.stream.socket.on (internal/child_process.js:368:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:598:12)
    cause:
    { Error: Command failed: rm -rf HexaCoin/html/www/img && cp -R templates/img HexaCoin/html/www/
    'rm' n'est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:282:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:947:16)
    at Socket.stream.socket.on (internal/child_process.js:368:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:598:12)
    killed: false,
    code: 1,
    signal: null,
    cmd: 'rm -rf HexaCoin/html/www/img && cp -R templates/img HexaCoin/html/www/' },
    isOperational: true,
    killed: false,
    code: 1,
    signal: null,
    cmd: 'rm -rf HexaCoin/html/www/img && cp -R templates/img HexaCoin/html/www/' }
    An error occured { Error: Command failed: rm -rf HexaCoin/conf/data && cp -R templates/conf/data HexaCoin/conf/
    'rm' n'est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:282:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:947:16)
    at Socket.stream.socket.on (internal/child_process.js:368:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:598:12)
    cause:
    { Error: Command failed: rm -rf HexaCoin/conf/data && cp -R templates/conf/data HexaCoin/conf/
    'rm' n'est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:282:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:947:16)
    at Socket.stream.socket.on (internal/child_process.js:368:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:598:12)
    killed: false,
    code: 1,
    signal: null,
    cmd: 'rm -rf HexaCoin/conf/data && cp -R templates/conf/data HexaCoin/conf/' },
    isOperational: true,
    killed: false,
    code: 1,
    signal: null,
    cmd: 'rm -rf HexaCoin/conf/data && cp -R templates/conf/data HexaCoin/conf/' }
    An error occured { Error: Command failed: cd HexaCoin && sh ./compile.sh
    'sh' n'est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:282:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:947:16)
    at Socket.stream.socket.on (internal/child_process.js:368:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:598:12)
    cause:
    { Error: Command failed: cd HexaCoin && sh ./compile.sh
    'sh' n'est pas reconnu en tant que commande interne
    ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (child_process.js:282:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:947:16)
    at Socket.stream.socket.on (internal/child_process.js:368:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close [as _onclose] (net.js:598:12)
    killed: false,
    code: 1,
    signal: null,
    cmd: 'cd HexaCoin && sh ./compile.sh' },
    isOperational: true,
    killed: false,
    code: 1,
    signal: null,
    cmd: 'cd HexaCoin && sh ./compile.sh' }

C:\Users\Hexa\Desktop\HexaHash-Crypto>

node is not synced

Failed to resolve peer address: nxt1.cryptoticino.ch
2022-01-04 11:26:48 FINE: Failed to resolve peer address: nxtx.ru
2022-01-04 11:26:48 FINE: Failed to resolve peer address: nxt4.cryptoticino.ch
2022-01-04 11:26:48 FINE: Failed to resolve peer address: nxt7.cryptoticino.ch
2022-01-04 11:26:48 FINE: Failed to resolve peer address: vps815626.ovh.net
2022-01-04 11:26:48 FINE: Failed to resolve peer address: nxt3.cryptoticino.ch
2022-01-04 11:26:48 FINE: Failed to resolve peer address: nxt6.cryptoticino.ch
2022-01-04 11:26:48 FINE: Failed to resolve peer address: nxt8.cryptoticino.ch
2022-01-04 11:26:48 FINE: Failed to resolve peer address: nxt5.cryptoticino.ch
2022-01-04 11:26:48 FINE: Failed to resolve peer address: nxt2.cryptoticino.ch

Height Increasement

image
I have created own cryptocurrency.
Then it show height = 0 and DIB ( my coin) = 0.
Can you explain how to increase it?

image

For forging my account, i have run above command.
but nothing happen.
can you give me correct guide for it?
Thanks

Issue with nxt

I have a problem with java that is installed

azureuser@Nim-node:~/Proof-of-Stake-Cryptocurrency-generator$ npm run nxt

[email protected] nxt /home/azureuser/Proof-of-Stake-Cryptocurrency-generator
cd nxt ; sh ./compile.sh ; sh ./run.sh

compiling core...

Killed
Starting default mode
Error: Could not find or load main class nxt.Nxt
Caused by: java.lang.ClassNotFoundException: nxt.Nxt

npm ERR! Linux 5.4.0-1039-azure
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "nxt"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] nxt: cd nxt ; sh ./compile.sh ; sh ./run.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] nxt script 'cd nxt ; sh ./compile.sh ; sh ./run.sh'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the proof-of-stake-cryptocurrency-generator package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd nxt ; sh ./compile.sh ; sh ./run.sh
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs proof-of-stake-cryptocurrency-generator
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls proof-of-stake-cryptocurrency-generator
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/azureuser/Proof-of-Stake-Cryptocurrency-generator/npm-debug.log

Output of java --version

openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.18.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)

Not run script server stop

HELP ME SERVER STOP

Initializing Coinfianza server version 1.11.13
isHeadless=false
Runtime mode nxt.env.CommandLineMode
User home folder /home/elnene/Proof-of-Stake-Cryptocurrency-generator/Coinfianza
Loading nxt-default.properties from classpath
Loading logging-default.properties from classpath
2019-01-18 01:40:21 INFO: nxt.enableStackTraces = "true"
2019-01-18 01:40:21 INFO: nxt.enableLogTraceback = "false"
2019-01-18 01:40:21 INFO: logging enabled
2019-01-18 01:40:21 INFO: socksProxyHost not defined
2019-01-18 01:40:21 INFO: socksProxyPort not defined
2019-01-18 01:40:21 FINE: java.version = 1.8.0_201
2019-01-18 01:40:21 FINE: java.vm.version = 25.201-b09
2019-01-18 01:40:21 FINE: java.vm.name = Java HotSpot(TM) Server VM
2019-01-18 01:40:21 FINE: java.vendor = Oracle Corporation
2019-01-18 01:40:21 FINE: java.vm.vendor = Oracle Corporation
2019-01-18 01:40:21 FINE: java.home = /usr/lib/jvm/java-8-oracle/jre
2019-01-18 01:40:21 FINE: java.library.path = /usr/java/packages/lib/i386:/lib:/usr/lib
2019-01-18 01:40:21 FINE: java.class.path = classes:lib/tika-core-1.13.jar:lib/jetty-continuation-9.3.22.v20171030.jar:lib/jetty-proxy-9.3.22.v20171030.jar:lib/slf4j-jdk14-1.7.22.jar:lib/lucene-core-5.5.5.jar:lib/websocket-client-9.3.22.v20171030.jar:lib/javax.servlet-api-3.1.0.jar:lib/bcprov-jdk15on-159.jar:lib/jetty-server-9.3.22.v20171030.jar:lib/h2-1.4.196.jar:lib/websocket-common-9.3.22.v20171030.jar:lib/lucene-analyzers-common-5.5.5.jar:lib/jetty-client-9.3.22.v20171030.jar:lib/jetty-http-9.3.22.v20171030.jar:lib/weupnp-0.1.4.jar:lib/jetty-servlet-9.3.22.v20171030.jar:lib/websocket-servlet-9.3.22.v20171030.jar:lib/lucene-queries-5.5.5.jar:lib/lucene-backward-codecs-5.5.5.jar:lib/core-3.3.0.jar:lib/slf4j-api-1.7.22.jar:lib/jetty-io-9.3.22.v20171030.jar:lib/jetty-security-9.3.22.v20171030.jar:lib/jetty-servlets-9.3.22.v20171030.jar:lib/json-simple-1.1.1.jar:lib/websocket-api-9.3.22.v20171030.jar:lib/tika-parsers-1.13.jar:lib/lucene-queryparser-5.5.5.jar:lib/javase-3.3.0.jar:lib/websocket-server-9.3.22.v20171030.jar:lib/jetty-util-9.3.22.v20171030.jar:conf:addons/classes:addons/lib/*
2019-01-18 01:40:21 FINE: os.arch = i386
2019-01-18 01:40:21 FINE: sun.arch.data.model = 32
2019-01-18 01:40:21 FINE: os.name = Linux
2019-01-18 01:40:21 FINE: file.encoding = UTF-8
2019-01-18 01:40:21 FINE: java.security.policy = null
2019-01-18 01:40:21 FINE: java.security.manager = null
2019-01-18 01:40:21 FINE: nxt.runtime.mode = null
2019-01-18 01:40:21 FINE: nxt.runtime.dirProvider = null
2019-01-18 01:40:21 FINE: availableProcessors = 2
2019-01-18 01:40:21 FINE: maxMemory = 934019072
2019-01-18 01:40:21 FINE: processId = 551
2019-01-18 01:40:21 INFO: nxt.isTestnet = "false"
2019-01-18 01:40:21 INFO: nxt.isOffline = "false"
2019-01-18 01:40:21 INFO: nxt.isLightClient = "false"
2019-01-18 01:40:21 INFO: nxt.customLoginWarning not defined
2019-01-18 01:40:21 INFO: nxt.maxNumberOfTransactions not defined or not numeric, using default value 255
2019-01-18 01:40:21 INFO: nxt.maxRollback = "800"
2019-01-18 01:40:21 INFO: nxt.forgingDelay = "20"
2019-01-18 01:40:21 INFO: nxt.forgingSpeedup = "3"
2019-01-18 01:40:21 INFO: nxt.batchCommitSize = "100"
2019-01-18 01:40:21 INFO: nxt.maxPrunableLifetime = "7776000"
2019-01-18 01:40:21 INFO: nxt.includeExpiredPrunable = "true"
2019-01-18 01:40:21 INFO: nxt.correctInvalidFees = "false"
2019-01-18 01:40:21 INFO: nxt.statementLogThreshold = "10000"
2019-01-18 01:40:21 INFO: nxt.transactionLogThreshold = "15000"
2019-01-18 01:40:21 INFO: nxt.transactionLogInterval = "15"
2019-01-18 01:40:21 INFO: nxt.dbCacheKB = "0"
2019-01-18 01:40:21 INFO: nxt.dbUrl not defined
2019-01-18 01:40:21 INFO: nxt.dbType = "h2"
2019-01-18 01:40:21 INFO: nxt.dbDir = "./nxt_db/nxt"
2019-01-18 01:40:21 INFO: nxt.dbParams = "DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE"
2019-01-18 01:40:21 INFO: nxt.dbUsername = "sa"
2019-01-18 01:40:21 INFO: nxt.dbPassword = "{not logged}"
2019-01-18 01:40:21 INFO: nxt.maxDbConnections = "30"
2019-01-18 01:40:21 INFO: nxt.dbLoginTimeout = "70"
2019-01-18 01:40:21 INFO: nxt.dbDefaultLockTimeout = "60"
2019-01-18 01:40:21 INFO: nxt.dbMaxMemoryRows = "1000000"
2019-01-18 01:40:21 FINE: Database jdbc url set to jdbc:h2:./nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE;CACHE_SIZE=262144 username sa
2019-01-18 01:40:21 INFO: nxt.useStrongSecureRandom = "false"
2019-01-18 01:40:24 FINE: Database connection pool current size: 1
2019-01-18 01:40:24 INFO: Database update may take a while if needed, current db version 237...
2019-01-18 01:40:24 INFO: nxt.enableTransactionRebroadcasting = "true"
2019-01-18 01:40:24 INFO: nxt.testUnconfirmedTransactions not defined, using default false
2019-01-18 01:40:24 INFO: nxt.maxUnconfirmedTransactions = "2000"
2019-01-18 01:40:24 INFO: nxt.trimDerivedTables = "true"
2019-01-18 01:40:24 INFO: nxt.numberOfForkConfirmations = "2"
2019-01-18 01:40:24 INFO: nxt.simulateEndlessDownload not defined, using default false
2019-01-18 01:40:24 INFO: nxt.trimFrequency = "1000"
2019-01-18 01:40:24 INFO: nxt.disableGetMoreBlocksThread not defined, using default false
2019-01-18 01:40:24 INFO: nxt.disableProcessTransactionsThread not defined, using default false
2019-01-18 01:40:24 INFO: nxt.disableRebroadcastTransactionsThread not defined, using default false
2019-01-18 01:40:24 INFO: nxt.disableRemoveUnconfirmedTransactionsThread not defined, using default false
2019-01-18 01:40:24 INFO: nxt.disableProcessWaitingTransactionsThread not defined, using default false
2019-01-18 01:40:24 INFO: nxt.enablePublicKeyCache = "true"
2019-01-18 01:40:24 INFO: nxt.ledgerTrimKeep = "30000"
2019-01-18 01:40:24 INFO: nxt.ledgerAccounts = "*"
2019-01-18 01:40:24 INFO: Account ledger is tracking all accounts
2019-01-18 01:40:24 INFO: nxt.ledgerLogUnconfirmed = "2"
2019-01-18 01:40:24 INFO: nxt.processPolls = "true"
2019-01-18 01:40:24 INFO: nxt.deleteFinishedShufflings = "false"
2019-01-18 01:40:24 INFO: nxt.maxPeerRequestSize not defined or not numeric, using default value 1048576
2019-01-18 01:40:24 INFO: nxt.maxPeerResponseSize not defined or not numeric, using default value 1048576
2019-01-18 01:40:24 INFO: nxt.maxPeerMessageSize not defined or not numeric, using default value 10485760
2019-01-18 01:40:24 INFO: nxt.hideErrorDetails = "false"
2019-01-18 01:40:24 INFO: nxt.myPlatform not defined
2019-01-18 01:40:24 INFO: nxt.myAddress not defined
2019-01-18 01:40:24 INFO: nxt.peerServerPort = "7874"
2019-01-18 01:40:24 INFO: nxt.shareMyAddress = "true"
2019-01-18 01:40:24 INFO: nxt.enablePeerUPnP = "true"
2019-01-18 01:40:24 INFO: nxt.myHallmark not defined
2019-01-18 01:40:24 INFO: nxt.adminPassword not defined
2019-01-18 01:40:24 INFO: nxt.maxAPIRecords = "100"
2019-01-18 01:40:24 INFO: nxt.enableAPIUPnP = "false"
2019-01-18 01:40:24 INFO: nxt.apiServerIdleTimeout = "30000"
2019-01-18 01:40:24 INFO: nxt.apiServerCORS = "true"
2019-01-18 01:40:24 INFO: nxt.forwardedForHeader not defined
2019-01-18 01:40:24 INFO: nxt.disabledAPIs not defined
2019-01-18 01:40:24 INFO: nxt.disabledAPITags not defined
2019-01-18 01:40:24 INFO: nxt.allowedBotHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"
2019-01-18 01:40:24 INFO: nxt.enableAPIServer = "true"
2019-01-18 01:40:24 INFO: nxt.apiServerPort = "7876"
2019-01-18 01:40:24 INFO: nxt.apiServerSSLPort = "7876"
2019-01-18 01:40:24 INFO: nxt.apiServerHost = "127.0.0.1"
2019-01-18 01:40:24 INFO: nxt.disableAdminPassword = "false"
2019-01-18 01:40:24 INFO: nxt.apiSSL = "false"
2019-01-18 01:40:24 INFO: API server using HTTP port 7876
2019-01-18 01:40:24 INFO: nxt.apiResourceBase = "./html/www"
2019-01-18 01:40:24 INFO: nxt.apiWelcomeFile = "index.html"
2019-01-18 01:40:24 INFO: nxt.javadocResourceBase = "./html/doc"
2019-01-18 01:40:24 INFO: nxt.maxUploadFileSize not defined or not numeric, using default value 0
2019-01-18 01:40:24 INFO: nxt.maxUploadFileSize not defined or not numeric, using default value 0
2019-01-18 01:40:24 INFO: nxt.enableAPIServerGZIPFilter not defined, using default false
2019-01-18 01:40:24 INFO: nxt.apiFrameOptionsSameOrigin = "true"
2019-01-18 01:40:24 FINE: My peer info:
{"application":"Coinfianza","services":"0","version":"1.11.13","platform":"Linux i386","shareAddress":true}
2019-01-18 01:40:24 INFO: nxt.defaultPeers not defined
2019-01-18 01:40:24 INFO: nxt.wellKnownPeers not defined
2019-01-18 01:40:24 INFO: nxt.knownBlacklistedPeers not defined
2019-01-18 01:40:24 INFO: nxt.maxNumberOfInboundConnections = "2000"
2019-01-18 01:40:24 INFO: nxt.maxNumberOfOutboundConnections = "50"
2019-01-18 01:40:24 INFO: nxt.maxNumberOfConnectedPublicPeers = "20"
2019-01-18 01:40:24 INFO: nxt.maxNumberOfKnownPeers = "2000"
2019-01-18 01:40:24 INFO: nxt.minNumberOfKnownPeers = "1000"
2019-01-18 01:40:24 INFO: nxt.connectTimeout = "10000"
2019-01-18 01:40:24 INFO: nxt.readTimeout = "20000"
2019-01-18 01:40:24 INFO: nxt.enableHallmarkProtection = "true"
2019-01-18 01:40:24 INFO: nxt.pushThreshold = "0"
2019-01-18 01:40:24 INFO: nxt.pullThreshold = "0"
2019-01-18 01:40:24 INFO: nxt.useWebSockets = "true"
2019-01-18 01:40:24 INFO: nxt.webSocketIdleTimeout = "900000"
2019-01-18 01:40:24 INFO: nxt.enablePeerServerGZIPFilter = "true"
2019-01-18 01:40:24 INFO: nxt.blacklistingPeriod = "600000"
2019-01-18 01:40:24 INFO: nxt.communicationLoggingMask = "0"
2019-01-18 01:40:24 INFO: nxt.sendToPeersLimit = "10"
2019-01-18 01:40:25 INFO: nxt.usePeersDb = "true"
2019-01-18 01:40:25 INFO: nxt.savePeers = "true"
2019-01-18 01:40:25 INFO: nxt.getMorePeers = "true"
2019-01-18 01:40:25 INFO: nxt.cjdnsOnly = "false"
2019-01-18 01:40:25 INFO: nxt.ignorePeerAnnouncedAddress = "false"
2019-01-18 01:40:25 INFO: nxt.disablePeerConnectingThread not defined, using default false
2019-01-18 01:40:25 INFO: nxt.disablePeerUnBlacklistingThread not defined, using default false
2019-01-18 01:40:25 INFO: nxt.disableGetMorePeersThread not defined, using default false
2019-01-18 01:40:25 INFO: nxt.peerServerHost = "0.0.0.0"
2019-01-18 01:40:25 INFO: nxt.peerServerIdleTimeout = "30000"
2019-01-18 01:40:25 INFO: nxt.enablePeerServerDoSFilter = "true"
2019-01-18 01:40:25 INFO: nxt.peerServerDoSFilter.maxRequestsPerSec = "30"
2019-01-18 01:40:25 INFO: nxt.peerServerDoSFilter.delayMs = "1000"
2019-01-18 01:40:25 INFO: nxt.peerServerDoSFilter.maxRequestMs = "300000"
2019-01-18 01:40:25 INFO: nxt.enableAPIProxy = "true"
2019-01-18 01:40:25 INFO: nxt.apiProxyBlacklistingPeriod = "1800000"
2019-01-18 01:40:25 INFO: nxt.forceAPIProxyServerURL not defined
2019-01-18 01:40:25 INFO: nxt.disableAPIProxyPeersUpdateThread not defined, using default false
2019-01-18 01:40:25 INFO: nxt.maxNumberOfForgers = "100"
2019-01-18 01:40:25 INFO: nxt.enableFakeForging not defined, using default false
2019-01-18 01:40:25 INFO: nxt.disableGenerateBlocksThread not defined, using default false
2019-01-18 01:40:25 INFO: nxt.addOns not defined
2019-01-18 01:40:25 INFO: nxt.debugTraceQuote = """
2019-01-18 01:40:25 INFO: nxt.debugTraceSeparator = " "
2019-01-18 01:40:25 INFO: nxt.debugLogUnconfirmed = "false"
2019-01-18 01:40:25 INFO: nxt.debugTraceAccounts not defined
2019-01-18 01:40:25 INFO: nxt.debugTraceLog = "nxt-trace.csv"
2019-01-18 01:40:25 FINE: Running 2 tasks...
2019-01-18 01:40:25 INFO: Genesis block not in database, starting from scratch
2019-01-18 01:40:25 FINE: Loading known peers from the database...
2019-01-18 01:40:25 FINE: Database connection pool current size: 2
2019-01-18 01:40:25 FINE: Average database transaction time is 0,018 seconds
Exception in thread "Thread-3" java.lang.NullPointerException
at java.security.DigestInputStream.read(DigestInputStream.java:161)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at org.json.simple.parser.Yylex.zzRefill(Yylex.java:345)
at org.json.simple.parser.Yylex.yylex(Yylex.java:541)
at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:269)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:118)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:92)
at org.json.simple.JSONValue.parseWithException(JSONValue.java:73)
at nxt.Genesis.loadGenesisAccountsJSON(Genesis.java:59)
at nxt.Genesis.newGenesisBlock(Genesis.java:69)
at nxt.BlockchainProcessorImpl.addGenesisBlock(BlockchainProcessorImpl.java:1272)
at nxt.BlockchainProcessorImpl.lambda$new$5(BlockchainProcessorImpl.java:971)
at nxt.util.ThreadPool.lambda$runAll$1(ThreadPool.java:126)
at java.lang.Thread.run(Thread.java:748)
Suppressed: java.lang.NullPointerException
at java.io.FilterInputStream.close(FilterInputStream.java:181)
at sun.nio.cs.StreamDecoder.implClose(StreamDecoder.java:378)
at sun.nio.cs.StreamDecoder.close(StreamDecoder.java:193)
at java.io.InputStreamReader.close(InputStreamReader.java:199)
at nxt.Genesis.loadGenesisAccountsJSON(Genesis.java:60)
... 5 more
2019-01-18 01:40:25 SEVERE: Errors running startup tasks:
null

java.lang.RuntimeException: Errors running startup tasks:
null

at nxt.util.ThreadPool.runAll(ThreadPool.java:144)
at nxt.util.ThreadPool.start(ThreadPool.java:74)
at nxt.Nxt$Init.<clinit>(Nxt.java:395)
at nxt.Nxt.init(Nxt.java:327)
at nxt.Nxt.main(Nxt.java:314)

2019-01-18 01:40:25 INFO: Shutting down...
2019-01-18 01:40:25 INFO: nxt.maxNumberOfMonitors = "100"
2019-01-18 01:40:25 INFO: shutting down networkService
2019-01-18 01:40:25 INFO: shutting down sendingService
2019-01-18 01:40:25 INFO: shutting down peersService
2019-01-18 01:40:25 INFO: Database shutdown completed
2019-01-18 01:40:25 INFO: Coinfianza server 1.11.13 stopped.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.