BurstProject / burstcoin

MIT License
79 stars 257 forks source link

windows batch files with windows line endings and some more settings, option for logging low deadlines in nxt-default.properties #8

Open DennisFantoni opened 9 years ago

DennisFantoni commented 9 years ago

Added a new run_repeat.bat batch file that runs the wallet in a loop, as many has requested how to do that.

Also made a compile.bat file for those who wants to compile but do not have anything installed to run .sh files.

The existing windows batch files look like just one big line in notepad, which is probably an editor many windows users use. I added windows style line endings to the new files that ONLY are used with windows (batch files).

Also added an option in conf/nxt-default.properties that instructs the wallet to print out deadline information if a miner submits a deadline that is below some threshold. printout is like this

2014-11-13 20:21:00 INFO: nxt.MaxDeadlineToLog = "200000"

2014-11-13 20:24:06 INFO: Block:33729 Nonce: 185031959 Deadline: 191396

2014-11-13 20:24:11 INFO: Block:33729 Nonce: 188402891 Deadline: 52789

2014-11-13 20:27:15 INFO: Block:33730 Nonce: 120617291 Deadline: 160732

2014-11-13 20:27:29 INFO: Block:33730 Nonce: 157212105 Deadline: 22100

The deadline numbers are of course aligned but github markdown seems to remove or not show the extra spaces