- Use consensus package for all consensus relevant code
- Move UserThreadStateService from bisq.core.dao.state to bisq.core.dao.presentation.state
- Rename UserThreadStateService to StateServiceFacade
- Add HeadlessAppWithP2PModule for headless apps which do not use wallet
- Add gracefulShutDown to HeadlessExecutable
- Update Monitor, SeedNode and Statistics to latest refactorings
- Remove BisqEnvironment from BisqApp
- Add startApplication method to BisqApp
- Set up bisqEnvironment in BisqExecutable
- Add addCapabilities method
- Add more comments
- Add to onApplicationLaunched, setupGuice, setupPersistedDataHosts and gracefulShutDown methods to BisqExecutable
- Move CommonSetup.setup to BisqAppMain
- Add UncaughtExceptionHandler and GracefulShutDownHandler interfaces
- Replace BiConsumer in CommonSetup.setup with UncaughtExceptionHandler
- Use getter for BisqApp.shutDownHandler
- Add check if editedOpenOffer is not deactivated to avoid republishing
- Use errorMessageHandler instead of IllegalStateException. We can discuss if you would prefer that style but so far we did not throw exceptions to the UI but rather use error handlers.
- Small cleanups
- Break up state and stateService
- Add UserThreadStateService for access from user thread
- Map state changes to UserThreadStateService
- Add execute method to ThreadAwareListener
- Move mutual state to PeriodState
- Move stateless methods to BasePeriodService
- Use provider methods for accessing the state
- Use PeriodService for parser thread
- Use UserThreadPeriodService for userThread
- Use PhaseWrapper for holding enum and duration
- Move classes to vote.period package
- Set initial durations at genesis height with default values of params
- Update durations when a changeParamEvent triggers a change
- Add Cycle class
- Add threadsafe wrapper
- Update UI period component
- Remove nodeExecutor.execute in stateService when processing the stateChangeEventsProviders to avoid delayed execution
- Comment out removal of local lists as we have the state not persisted yet
- Fix wrong phase check in BlindVoteService
- Rename getChainHeadHeight to getHeadHeight