Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the configuration files and codebase to improve the build process, enhance the network information handling, and clean up the code. The most important changes include updates to the CircleCI configuration, modifications to the coin configuration files, and code refactoring to remove unused dependencies and improve readability.
Build Process Improvements:
.circleci/config.yml
: Updated the test commands to usenpm run test
instead ofnpm start
and combined the build and test verification steps. [1] [2] [3] [4] [5] [6] [7].github/workflows/node.js.yml
: Corrected the build command tonpm install
and updated the test and verification steps.Network Information Enhancements:
coins/coins-examples-testnet/sugarchain.json
: Added new fields for network information and explorer URLs. [1] [2]coins/coins-examples-testnet/susucoin.json
: Added new fields for network information and version masking.coins/coins-examples/susucoin.json
: Updated explorer URLs and added version masking.Code Refactoring:
init.js
: Replacedreturn
statements withprocess.exit(0)
for better process termination handling. [1] [2]libs/api.js
: Removed unusedredis
andasync
dependencies.libs/apiCoinWarz.js
: Replacednonce
withcrypto
and renamedCryptsy
toCoinWarz
. [1] [2] [3] [4]Logging and Date Formatting:
libs/logUtil.js
: Changed date format in log entries fromyyyy-mm-dd
toyyyy/mm/dd
.Miscellaneous Cleanups:
config_example.json
: Removed unnecessary blank lines and adjusted configuration values for better readability and performance. [1] [2] [3] [4]