Skip to content

Dev maven - #4

Open
tryiou wants to merge 31 commits into
devfrom
dev-maven
Open

Dev maven#4
tryiou wants to merge 31 commits into
devfrom
dev-maven

Conversation

@tryiou

@tryiou tryiou commented Apr 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

tryiou and others added 30 commits December 7, 2023 17:51
- Replace Gradle with Maven for build automation
- Update CI/CD workflows to use Maven wrapper (mvnw)
- Add Maven wrapper configuration files
- Update README with Maven build instructions
- Clean up Gradle-specific files (.gradle, .project)
- Update .gitignore for Maven artifacts
…ances

- Filter coin initialization to only enabled coins in ConsoleMenu
- Check RPC enabled status before returning CoinInstance
- Skip address discovery for coins with RPC disabled
- Update HTTPClient to iterate over active coin instances only
- Update tests to use BLOCKNET coin ticker
…variable management

- Add io.github.cdimascio:java-dotenv 5.2.2 dependency to manage .env files
- Implement App.getEnv() method with dotenv fallback to System.getenv()
- Update environment variable access in App.java, ConsoleMenu.java, ConfigHelper.java, and LogRotationUtil.java
- Increase default log retention from 2 to 30 days
- Add current time display to background timer log messages for better observability
 - KeyHandler: rewrite with WalletData inner class, 4-line wallet format, deriveKey/clearPassword
 - CoinInstance: toCharArray() passphrases with Arrays.fill in finally blocks
 - HTTPClient: remove SSL trust-all, use system socket factory
 - LoginUtils: replace e.printStackTrace with LOGGER.log
 - KeyHandlerTest: rewrite to char[] API, JUnit 5 @tempdir
 - CoinInstanceTest: update List signature
Lazy load dotenv configuration on first access.
Add --version and --help flags to main entry.
Support environment variables for passwords.
Use secure console input for password reading.
Improve shutdown sequence with null safety.
Validate endpoint arguments to prevent errors.
…all modules

- Replace e.printStackTrace() with proper LOGGER.log(Level.WARNING, ...) calls
- Update log levels from FINER/SEVERE to WARNING for operational errors
- Add exception objects to logger calls for better error tracking
- Add context-specific messages (coin ticker, operation type, etc.)
- Change AddressBalance.utxos from ArrayList to CopyOnWriteArrayList with synchronization
- Add proper thread interrupt handling in BackgroundTimerThread

This improves error visibility and maintainability of the codebase.
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