Skip to content

Conversation

@DennisFantoni
Copy link

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

…shes,

run_repeat.bat also have an easy way to set the memory ceiling for the wallet
File is saved with windows line endings to enable notepad users to edit it.
…ow 1 million from a miner. This way a user does not have to look at 10 miner windows but just one wallet window to see if a low deadline shows up. Also useful to spot very high deadlines, that may be indicative of configuration issues. nonce is also printed to assist identifying the plot file. It would be nice if the message was routed via the logfile system but i don't know how to do that from within SubmitNonce
…hey are 1M or lower, also prints out block# and nonce. Printout is not going via the log system which it ought to do, but i don't know how to hook up to it right now, and this system console output thing works fine enough for my own use.
… created every time a nonce with a deadline lower than 1 million is sent to the wallet. Info log line is still block#, Nonce, Deadline in seconds.
…n about low deadlines are logged, and also how low a deadline must be, before it is logged.

Default is 0 which means no logging, so backward compatible.
also gave DumpPeersVersion a value of false instead of just nothing
… not yet been taking into the main branch.

corrected spelling error in the config file
also updated run_repeat.bat to use newest java 8 version, and made it easier
to adapt run_repeat.bat in case you update to an even newer version of java.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant