Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions compile.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
set CP=conf\;classes\;lib\*
set SP=src\java\
set JRE=jdk1.8.0_40

md classes

"C:\Program Files\Java\%JRE%\bin\javac.exe" -sourcepath %SP% -classpath %CP% -d classes\ src\java\nxt\*.java src\java\nxt\crypto\*.java src\java\nxt\util\*.java src\java\nxt\http\*.java src\java\fr\cryptohash\*.java src\java\nxt\at\*.java src\java\nxt\peer\*.java src\java\nxt\user\*.java src\java\nxt\db\*.java src\java\fr\cryptohash\test\*.java


:/bin/rm -f burst.jar
:this seems to be overwritten by the compiler so not really any need to remove it on windows

"C:\Program Files\Java\%JRE%\bin\jar.exe" cf burst.jar -C classes .
:/bin/rm -rf classes
:seems to update fine even if not removed, so no immediate need to remove the directory

echo "burst.jar generated successfully"
pause
9 changes: 8 additions & 1 deletion conf/nxt-default.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#### PEER NETWORKING ####


# Announce my IP address/hostname to peers and allow them to share it with other peers.
# If disabled, peer networking servlet will not be started at all.
nxt.shareMyAddress=true
Expand Down Expand Up @@ -199,6 +200,12 @@ nxt.debugTraceQuote="
# Log changes to unconfirmed balances.
nxt.debugLogUnconfirmed=false

# If set to larger than 0 then all deadlines received from miners, that are smaller than or equal to this number will be logged
# so to see all deadlines smaller than 200000 in the wallet window and in the log, change the 0 to 200000
# a log line will look like this :
# 2014-11-13 20:27:29 INFO: Block:33730 Nonce: 157212105 Deadline: 22100
nxt.MaxDeadlineToLog=0


#### DATABASE ####

Expand Down Expand Up @@ -247,7 +254,7 @@ nxt.forceValidate=false
nxt.forceScan=false

# Print a list of peers having this version on exit.
nxt.dumpPeersVersion=
nxt.dumpPeersVersion=false

# Enable trimming of derived objects tables.
nxt.trimDerivedTables=true
Expand Down
22 changes: 22 additions & 0 deletions run_repeat.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
title BURST WALLET
set MAXRAM=700m
set LAUNCH=-Xmx%MAXRAM% -cp burst.jar;lib\*;conf nxt.Nxt
set JAVAVERSION=jre1.8.0_40
set JAVAEXEC=\Java\%JAVAVERSION%\bin\java.exe
:runagain
@ECHO OFF
IF EXIST java (
java %LAUNCH%
) ELSE (
IF EXIST "%PROGRAMFILES%\Java\%JAVAVERSION%" (
"%PROGRAMFILES%%JAVAEXEC%" %LAUNCH%
) ELSE (
IF EXIST "%PROGRAMFILES(X86)%\%JAVAVERSION%" (
"%PROGRAMFILES(X86)%%JAVAEXEC%" %LAUNCH%
) ELSE (
ECHO Java software not found on your system. Please go to http://java.com/en/ to download a copy of Java.
PAUSE
)
)
)
goto runagain
Loading