Commit graph

6433 commits

Author SHA1 Message Date
Christoph Atteneder
e32b7f3612
Change group title to display edit price only 2018-04-27 11:23:08 +02:00
Manfred Karrer
956924e6df
Merge branch 'master' into mk_master 2018-04-26 18:49:31 -05:00
Manfred Karrer
54cc34bb96
Merge branch 'master' into voting 2018-04-26 18:16:46 -05:00
Christoph Atteneder
1a066cb9ff
Force revalidation of changed fields 2018-04-26 11:10:16 +02:00
Christoph Atteneder
3adf086650
Not set focus to disabled field 2018-04-26 11:09:49 +02:00
Christoph Atteneder
a8baead3f9
Start edit only when intialized with data 2018-04-26 11:09:09 +02:00
Christoph Atteneder
5276671f1e
Prevent updating of amount 2018-04-26 10:22:15 +02:00
Christoph Atteneder
8b9ccfe588
Disable also currency labels and volume fields 2018-04-26 10:21:35 +02:00
Manfred Karrer
b996e948a2
Store only proposal TxId + vote instead of whole ballot in BlindVote
- Add BallotFactory
- Change encryptedBallotList to encryptedVotes
2018-04-25 12:42:26 -05:00
Manfred Karrer
85328e4db8
Move period package into state package 2018-04-24 21:08:29 -05:00
Manfred Karrer
99e9943eb2
Move proposal and vote package into ballot package 2018-04-24 21:04:06 -05:00
Manfred Karrer
a66b62ef28
Move ValidationException to voting package 2018-04-24 21:01:04 -05:00
Manfred Karrer
8381ce6f9e
Rename VOTE_RESULT to RESULT 2018-04-24 18:18:26 -05:00
Manfred Karrer
62da432790
Refactor ParamChange domain 2018-04-24 16:35:18 -05:00
Manfred Karrer
55ee4a15b8
Remove Meta data from block.
- Remove Block
- Rename TxBlock to Block
- Rename classes, methods with *TxBlock* to *Block*
- Remove stateChangeEventsProviders
2018-04-24 11:00:26 -05:00
Manfred Karrer
73357871bd
Merge pull request #1519 from ripcurlx/fix-bouncy-castle-error
Change startup order to prevent Bouncy Castle exception
2018-04-24 10:38:38 -05:00
Manfred Karrer
3b6138c6f6
Merge pull request #1520 from ripcurlx/limit-edit-offer-options
Prevent editing of amount
2018-04-24 10:38:03 -05:00
Christoph Atteneder
ffb2c6b60c
Prevent editing of min amount and max amount for now, as it would need a change in locked up funds for higher amounts. 2018-04-24 17:30:26 +02:00
Christoph Atteneder
a5e1be3725
Change startup order to prevent Bouncy Castle exception 2018-04-24 17:19:05 +02:00
Manfred Karrer
81c57cf2d5
Remove chainHeightListeners from PeriodService
- Rename addPeriodStateChangeListener to addChainHeightListener
2018-04-24 09:28:19 -05:00
Manfred Karrer
bf8629d23e
Refactor handling of cycles
- Remove PeriodState
- Add cycles to state
- Use stateService for getting chainHeight instead of periodService
- Let parser call stateService methods on start parsing and on new block
- Rename PeriodStateChangeListener to ChainHeightListener
- Rename PeriodStateUpdater to CycleService
- Use StartParsingListener to decouple CycleService with StateService
- Remove StateChangeEventsProvider interface from CycleService
- Let CycleService write to StateService not PeriodService
2018-04-23 22:59:34 -05:00
Manfred Karrer
15ff5fadab
Move voting related classes to voting package 2018-04-23 19:20:00 -05:00
Manfred Karrer
6ed700589d
Move ValidationException to bisq.core.dao.exceptions 2018-04-23 00:16:34 -05:00
Manfred Karrer
3d99e92267
Add DaoFacade to provide a reduced API for clients (UI) 2018-04-22 21:22:37 -05:00
Manfred Karrer
dc2db746b7
Move classes out of consensus package 2018-04-22 19:32:16 -05:00
Manfred Karrer
aa6a9226a2
Improve proposal and ballot domain
- Add ProposalService for publishing proposal
- Use ballotListService for maintaining ballotList
- Add BallotUtil
2018-04-22 19:16:00 -05:00
Manfred Karrer
8a3e8c7a96
Cleanup 2018-04-22 00:09:47 -05:00
Manfred Karrer
930573a6dd
Merge branch 'rpc_thread' into voting 2018-04-21 22:21:04 -05:00
Manfred Karrer
53b5b7b831
Remove presentation package and classes 2018-04-21 21:41:28 -05:00
Manfred Karrer
faa15f3da6
Move ballot classed from bisq.core.dao.presentation to consensus 2018-04-21 21:04:17 -05:00
Manfred Karrer
6551ad28df
Remove StateServiceFacade 2018-04-21 21:03:47 -05:00
Manfred Karrer
7e207d380d
Remove usage of PeriodServiceFacade and ThreadAwareListener 2018-04-21 20:52:33 -05:00
Manfred Karrer
c9a4d54615
Rename package bisq.core.dao.presentation.proposal to ballot 2018-04-21 14:40:42 -05:00
Manfred Karrer
30b4e56b61
Separate blindVoteService 2018-04-20 22:33:37 -05:00
Manfred Karrer
4fd29557f5
Apply separation of thread access to myVote domain 2018-04-20 22:04:23 -05:00
Manfred Karrer
46a440d84b
Change ballot list services to user thread services 2018-04-20 20:29:31 -05:00
Manfred Karrer
ca1ab3d3f0
Remove proposalService from views 2018-04-20 14:17:00 -05:00
Manfred Karrer
0389fb03e0
Move ballot classed to own package 2018-04-20 14:10:51 -05:00
Manfred Karrer
9becb6d25f
Move packages level up 2018-04-20 14:07:49 -05:00
Manfred Karrer
75f84a0fa5
Refactoring
- Add PeriodStateMutator to guice module
- Add ConsensusServicesSetup and PresentationServicesSetup
- Separate code from onAllServicesInitialized into listener registration and start method
- Move MyProposalService and ProposalListService to bisq.core.dao.presentation.proposal (WIP)
- Add PresentationService marker interface
- Rename PHASE_ISSUANCE to PHASE_VOTE_RESULT
- Remove onInitialState from PeriodStateChangeListener
- Add getCloneOnUserThread method to PeriodState
- Change addListenerAndGetNotified to addPeriodStateChangeListener
- Call start on PeriodStateMutator from ConsensusServicesSetup instead of own constructor
- Use explicit interface StateChangeEventsProvider for registerStateChangeEventsProvider
- Set setChainHeight at onStartParsingNewBlock at the end to avoid that listeners get called before the cycle is added
- Use PeriodServiceFacade instead of PeriodService in ProposalListService
- Use StateServiceFacade instead of StateService in ProposalListService
- Add market interface StateChangeEventsProvider
2018-04-20 14:02:45 -05:00
Manfred Karrer
8fcab9b1e7
Rename ISSUANCE to VOTE_RESULT and openBallotList to ballotList 2018-04-20 11:34:21 -05:00
Manfred Karrer
2e95971502
Add BlockListener
- Reintroduce BlockListener and use it instead of PeriodStateChangeListener in most use cases as we are usually interested in the event when a block is complete not when the periods service chain height change gets triggered before parsing starts.
2018-04-20 11:28:58 -05:00
Manfred Karrer
5bdef18fcb
Move bisq.core.dao.consensus.vote.myvote package to bisq.core.dao 2018-04-20 10:39:37 -05:00
Manfred Karrer
01f4731700
Remove BlockListener from StateService
- Use PeriodStateChangeListener instead of BlockListener for getting notified about block height changes.
2018-04-20 00:03:54 -05:00
Manfred Karrer
4460882adc
Move code for writing to periodState to mutator class.
- Use local periodState object in PeriodStateFacade
2018-04-19 22:57:39 -05:00
Manfred Karrer
41b6155273
Add option key daoActivated to enable all dao features for dev 2018-04-19 20:51:03 -05:00
Manfred Karrer
006e682249
Merge branch 'master' into voting
# Conflicts:
#	src/main/java/bisq/desktop/main/account/content/fiataccounts/FiatAccountsView.java
2018-04-19 20:17:42 -05:00
Manfred Karrer
ab0ac64628
Merge branch 'master' into voting
# Conflicts:
#	src/main/java/bisq/desktop/main/account/content/fiataccounts/FiatAccountsView.java
2018-04-19 20:17:36 -05:00
Manfred Karrer
20b2957eb9
Split Proposal into Proposal and ProposalPayload 2018-04-19 20:11:25 -05:00
Manfred Karrer
8cf2b6c730
Deactivate removeAsset, generic adn changeParam domains.
- To not have too much extra work while refactoring we deactivate those incomplete domains. Once refactoring is complete we apply the changes there.
2018-04-19 19:11:21 -05:00