contracts.js: add. README.md: update.
[?]
May 14, 2020, 10:04 PM
FCJA5EXSTV7M22UWY4AR64LDZVNREPWSREZNXHGOH3IC3AIT7UBACDependencies
- [2]
JGNALSUQadd "cyclic_weaken.js" feature. hacker.js, main.js, libs: refactor. README.md: update. - [3]
SLSWBNYTadded ram utilisation logic to `ram.js` and `servers.js`. split and refactored redundant code into separate library files. - [4]
2BKHJI2Sinit - [5]
Y5OWMCQRall: remove unecessary uses of `exec`. refactor. main.js: add RAM reservation logic. lib_ram.js: renamed to lib_ram_server.js. README.js: update. - [6]
ZVQK2652executables: fix help message. - [7]
FBAPT2WWexecutables: dynamically load help messages. lshw.js, main.js: add options to change score correction method and score factor multipliers. README.md: update. - [8]
SXEJJKPIexecutables: add `--help` flag. hacker.js: change scheduling logic. refactor. kill.js: allow handling more than one server or script at a time. cyclic_weaken.js: add. README.md: update. - [9]
HSNSECD5all: refactor. main.js: fix call to `void_kill_script_named_server_named`.
Change contents
- edit in sbin/hacker.js at line 3
* add a way to notify weaken_manager if hacker.js needs more ram so weaken_manager can kill some cyclic weakens and adjust float_ram_fraction_for_weaken_cyclic - replacement in lib/lib_ls.js at line 3
export const array_get_files_to_copy = function (export const array_get_files_with_string = function ( - replacement in lib/lib_ls.js at line 9
let array_files_to_copy = [];let array_files_with_string = []; - replacement in lib/lib_ls.js at line 17
array_files_to_copy.push(string_file);array_files_with_string.push(string_file); - replacement in lib/lib_ls.js at line 19
return array_files_to_copy;return array_files_with_string; - replacement in bin/main.js at line 24
import { array_get_files_to_copy } from "lib_ls.js";import { array_get_files_with_string } from "lib_ls.js"; - replacement in bin/main.js at line 567
array_get_files_to_copy(ns, string_host, string_extension),array_get_files_with_string(ns, string_host, string_extension), - replacement in bin/cp.js at line 7
import { array_get_files_to_copy } from "lib_ls.js";import { array_get_files_with_string } from "lib_ls.js"; - edit in bin/cp.js at line 22
// variableslet boolean_print_help = !1; - replacement in bin/cp.js at line 110
array_files_to_copy = array_get_files_to_copy(array_files_to_copy = array_get_files_with_string( - replacement in README.md at line 120
`run main.js -ao --no-botnet --job-cap 4000 -i "harakiri-sushi" -r 0.7 --steal-cap=0.5 -q normal``run main.js -ao --no-botnet --job-cap 4000 -i harakiri-sushi -r 0.7 --steal-cap=0.5 -q normal` - edit in README.md at line 165
---### "contracts.js" (22.05 GB)* Attempts to solve existing coding contracts in the network.* Displays whether or not any attempts were successful.#### USAGE`run contracts.js [FLAGS ...]`#### FLAGS`-h, --help`* Displays a help message then exits.