Commit graph

5926 commits

Author SHA1 Message Date
Manfred Karrer
b5bbdca96a
Add setBouncyCastleProvider to CoreSetup 2018-04-07 16:02:01 -05:00
Manfred Karrer
101365aef6
Add setupStage and setDatabaseCorruptionHandler methods 2018-04-07 15:58:04 -05:00
Manfred Karrer
8a266b16bb
Add addSceneKeyEventHandler and checkForCorrectOSArchitecture methods 2018-04-07 15:53:52 -05:00
Manfred Karrer
b87d4cc540
Add apply method to PersistedDataHost. Add CoreSetup 2018-04-07 15:49:45 -05:00
Manfred Karrer
01c2316e3e
Move setting of isDevMode to DevEnv 2018-04-07 15:35:31 -05:00
Manfred Karrer
dbaa938f46
Move USE_DEV_MODE to CommonOptionKeys 2018-04-07 15:34:51 -05:00
Manfred Karrer
c12ce392a8
Move set of PersistedDataHosts to custom classes at core and desktop 2018-04-07 15:31:55 -05:00
Manfred Karrer
cf39bb9e26
Move setup for Capabilities to CoreNetworkCapabilities 2018-04-07 15:17:27 -05:00
Manfred Karrer
87360f1224
Merge pull request #1499 from ripcurlx/add-trader-icon-to-offer-book
Add trader icon to offer book
2018-04-06 08:47:05 -05:00
Christoph Atteneder
77f0260dd2
Merge pull request #1500 from blabno/bugfix/enable-distZip
Enable distZip flag in "build.gradle".
2018-04-06 11:35:26 +02:00
Bernard Labno
d2ba3b8c95 Enable distZip flag in "build.gradle". 2018-04-06 11:20:50 +02:00
Christoph Atteneder
b89320f9b7
Add small peer icon (trader icon) to each offer in offer book to emphasize that you are trading with real people on Bisq 2018-04-06 10:45:13 +02:00
Manfred Karrer
a7bf94cc1e
Merge pull request #1497 from ManfredKarrer/voting
Add new domain for handling parameter changes
2018-04-05 08:02:33 -05:00
Chris Beams
917d27da6b
Revert "Enable Travis CI Gradle dependency caching"
This reverts commit 92ec88f1fc.
2018-04-05 10:59:01 +02:00
Manfred Karrer
fc62c856d9
Merge remote-tracking branch 'origin/master' into voting 2018-04-04 23:00:24 -05:00
Manfred Karrer
2c61a3c3c5
Add new domain for handling parameter changes
- Add DaoParam, ParamChangeEvent, ParamChangeEventList and DaoParamService
- Move all default values to DaoParam
- Access fees, quorum and voteThreshold from DaoParamService
- Remove handling those param data from BsqBlockChain
2018-04-04 22:47:29 -05:00
Manfred Karrer
acd00ddedc
Merge pull request #1494 from ManfredKarrer/voting
Bugfixes and refactorings for DAO views
2018-04-04 19:32:41 -05:00
Manfred Karrer
557a09e37e
Merge pull request #1492 from ripcurlx/national-bank-transfer-for-AR
Add additional nationalAccountId field to enable national bank transfers in Argentina
2018-04-04 14:41:54 -05:00
Manfred Karrer
21e50772c2
Merge pull request #1496 from ripcurlx/fix-disabled-offer-styles
Clean styles and cells to prevent random errors when re-used
2018-04-04 14:39:46 -05:00
Christoph Atteneder
c23802a136
Clean styles on and cells to prevent random errors when cells are re-used 2018-04-04 17:55:46 +02:00
Christoph Atteneder
325551ece4
Fix broken test 2018-04-04 17:35:07 +02:00
Christoph Atteneder
aceca930b2
Add national account id support for cash deposit 2018-04-04 17:30:32 +02:00
Christoph Atteneder
7e1a7f0400
Remove unnecessary/wrong overriding 2018-04-04 11:11:29 +02:00
Christoph Atteneder
0681ae0baf
Add validation for AR bank accounts and support for Same and Specific Bank Transfers 2018-04-04 11:11:00 +02:00
Manfred Karrer
c756acde53
Bugfixes and improvements
- Reactivate updateProposalList at onBlockAdded
- Use ArrayList instead of FilteredList at getSortedProposalList
- Update Predicates at onBlockAdded and onProtectedStorageEntry
- Remove isProposalPeriodValid, isBlindVotePeriodValid and isVoteRevealPeriodValid
- Remove isTxHeightInPhaseTest (removed buggy method)
2018-04-03 23:53:42 -05:00
Manfred Karrer
bdaeec0ca3
Refactor CompensationRequest/Proposal domain
- Add input checks for RequestedBsq
- Add check for description
- Use @Value instead of @Data
- Rename getCompensationRequestPayload to createCompensationRequestPayload and getCompensationRequest to createCompensationRequest
2018-04-03 20:03:09 -05:00
Manfred Karrer
1951fedb37
Refactor ProposalService
- Remove JsonExclude from ProposalPayload as not used anymore (was used earlier for sig of json from payload)
- Rename allProposals to observableList
- Use standard API for ProposalList persistence
- Remove onBlockAdded listener
- Add move detailed logging and error handling
- Improve numConnectedPeersListener handler
- Use ResultHandler and ErrorMessageHandler at publishProposal instead of a FutureCallback<Transaction> callback
- Add check for isTxInCurrentCycle to isInPhaseOrUnconfirmed method
- Remove updatePredicates (set predicates at onstructor)
2018-04-03 19:39:10 -05:00
Manfred Karrer
8a4c249041
Use logErrorAndThrowIfDevMode, add cycle check
- Use DevEnv.logErrorAndThrowIfDevMode to throw exception in dev mode
- Add filter for isTxInCurrentCycle when republishing myVotes.
- Add logs for successful or failed p2p network broadcast
2018-04-03 18:49:10 -05:00
Manfred Karrer
c2ea31f6db
Refactor MyVoteService
- Replace ObservableList in MyVoteService with MyVoteList.
- Use standard API for myVoteListStorage
- Rename getMyVotesList to getMyVoteList
2018-04-03 13:39:14 -05:00
Manfred Karrer
143a26639c
Extract MyVote aspects from BlindVoteService to MyVoteService 2018-04-03 13:13:17 -05:00
Manfred Karrer
ed7519c1e8
Move myVote classed to myvote package 2018-04-03 12:44:20 -05:00
Manfred Karrer
90ad5313aa
Rename DaoManager to DaoSetup 2018-04-03 12:11:32 -05:00
Christoph Atteneder
7c2b654f65
Remove unnecessary override 2018-04-03 19:00:20 +02:00
Manfred Karrer
dcaeb4d446
Rename DaoPeriodService to PeriodService 2018-04-03 11:58:13 -05:00
Manfred Karrer
18c8e3d33f
Move vote result classes to result package 2018-04-03 11:56:27 -05:00
Christoph Atteneder
24f46d1d58
Add additional nationalAccountId field to enable national bank transfers in Argentina 2018-04-03 17:52:31 +02:00
Manfred Karrer
cfef8c7218
Add more logs. Add PROPOSAL in bsqTxView table 2018-04-02 22:36:36 -05:00
Manfred Karrer
dd25aaafe3
Merge remote-tracking branch 'origin/master' into voting 2018-04-01 19:38:16 -05:00
Manfred Karrer
86ad6ef41a
Merge pull request #1490 from ManfredKarrer/voting
Improve data structure, refactor Proposal domain
2018-04-01 19:27:23 -05:00
Manfred Karrer
9488bbe8e7
Fix tests 2018-03-31 23:23:12 -05:00
Manfred Karrer
05b120fd03
Rename ProposalCollectionsService to ProposalService 2018-03-31 22:08:01 -05:00
Manfred Karrer
124199d0aa
Refactorings and improvements in Proposal domain:
- Removed signature from ProposalPayload
- Only add hash of payload to OpReturn data not signature + hash
- Rename getCreateCompensationRequestFee to getProposalFee
- Rename CompensationAmountException to ValidationException
- Move code from Restrictions to CompensationRequestConsensus
- Rename RemoveAltcoinProposal to RemoveAssetProposal
- Add version byte for PROPOSAL
2018-03-31 22:07:33 -05:00
Manfred Karrer
3e0b7d360a
Add new fields to Tx. Remove ISSUANCE type from TxType 2018-03-31 19:28:26 -05:00
Manfred Karrer
169f85d0c3
Clean up BsqBlock handlers
- Use BsqBlockChain.Listener instead of BsqNode.BsqBlockChainListener
- Remove BsqNode.BsqBlockChainListener
- Replace BsqBlockChain with ReadableBsqBlockChain in injected parameters
- Remove BsqBlockChainChangeDispatcher
- Change handler at bsqLiteNodeExecutor.parseBlock
2018-03-30 21:39:31 -05:00
Manfred Karrer
ae737f5428
Improve and refactor issuance domain 2018-03-30 18:12:56 -05:00
Manfred Karrer
b6c3b33285
Refactorings:
- move proposal to vote
- move blind vote domain to blindvote package
- move vote reveal domain to votereveal package
2018-03-30 16:34:23 -05:00
Manfred Karrer
0b1abc312f
Refactorings and error handling in Vote domain:
- Rename VoteService to BlindVoteService
- Add VoteRevealService
- Add VoteConsensusCritical to BlindVoteList
- Remove getBlindVoteStakeTxOutputs
- Rename getLockedForVoteTxOutputs to getBlindVoteStakeTxOutputs
- Add publishAndCommitBsqTx to walletsManager to avoid code duplication
- Add completePreparedBsqTxWithBtcFee to avoid code duplication
- Move getClonedTransaction to WalletService
- Add VoteRevealException
2018-03-30 16:24:40 -05:00
Manfred Karrer
713b0c59d3
Refactorings
- Remove ChangeBelowDustException
- Add addInputsForTx method to avoid code duplication
- Avoid potential dust output in addInputsForTx
- Remove unused BtcCompensationRequestFeeCoinSelector
- Add signAllBtcInputs method to avoid code duplication
- Add addInputsForMinerFee method to avoid code duplication
- Split VoteRevealConsensus with BlindVoteConsensus
2018-03-30 13:44:14 -05:00
Manfred Karrer
4ea7a88f32
Refactorings
- Rename getChangeExcludingFee to getChange and make it general purpose not fee specific.
- Remove Restrictions.isAboveDust method with extra parameter for fee
- Add Restrictions.isDust method
2018-03-30 12:08:54 -05:00
Manfred Karrer
5aee2c2789
Merge remote-tracking branch 'origin/master' into voting 2018-03-30 11:19:04 -05:00