Commit graph

5897 commits

Author SHA1 Message Date
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
Manfred Karrer
f0b90600aa
Merge pull request #1486 from ManfredKarrer/voting
Fix bugs in issuance process and tx view
2018-03-30 11:11:28 -05:00
Manfred Karrer
b39e14e3e5
Rename address column. Change log level 2018-03-29 20:57:52 -05:00
Manfred Karrer
6cca1f2742
Fix BSQ Tx view 2018-03-29 19:30:12 -05:00
Chris Beams
86947c976c
Revert to 4-space indentation in build.gradle
Recent changes to dependencyVerification got committed with 8-space
indentation, causing a diff for the whole block. This reverts it to
4-space, which is what is generated by `gradle -q calculateChecksums`.
2018-03-29 19:44:35 +02:00
Manfred Karrer
f72a796b08
Merge branch 'master' into voting 2018-03-29 12:41:40 -05:00
Manfred Karrer
11446d27f4
Add checksum for org.bouncycastle:bcpg-jdk15on 2018-03-29 12:36:08 -05:00
Manfred Karrer
a05ab5ae17
Update checksum hashes of dependencies 2018-03-29 12:34:39 -05:00
Manfred Karrer
8dd94c5a5f
Merge remote-tracking branch 'origin/master' into voting 2018-03-29 11:37:36 -05:00
Manfred Karrer
5068a4e12a
Merge pull request #1483 from ManfredKarrer/voting
Refactor verification controllers. Remove fee from vote reveal tx
2018-03-29 11:32:11 -05:00
Christoph Atteneder
5796c1797b
Merge pull request #1485 from ripcurlx/ignore-test-to-fix-linux-build-issue
Ignore test for now as it causes issues during linux build
2018-03-29 14:07:54 +02:00
Christoph Atteneder
f452336cdb
Ignore test for now as it causes issues during linux build 2018-03-29 13:54:32 +02:00
Manfred Karrer
f7a4137559
Merge remote-tracking branch 'origin/master' into voting 2018-03-29 00:27:43 -05:00
Manfred Karrer
b7db52759d
Refactorings, cleanup
- Rename getIssuedAmount to getIssuedAmountAtGenesis
- Fix variable name missed in earlier refactoring
- Add comments
2018-03-28 21:50:04 -05:00
Manfred Karrer
fb6a5301b8
Refactor: Rename TxType.VOTE to TxType.BLIND_VOTE 2018-03-28 21:19:54 -05:00
Manfred Karrer
06a40c0b27
Refactor BSQ verification and state change code.
- Add preliminary opReturn type to make case detection easier
- Set txType at the BsqTxController after iteration
- Move apply state code to BsqTxController
- Add more warning logs and checks
- Add stakeSpendingOutput to verify reveal tx more strictly
2018-03-28 20:02:12 -05:00
Manfred Karrer
57d657b6bf
Merge pull request #1482 from ripcurlx/add-info-tooltips-for-offer-table
Add info icons to prices in offer table
2018-03-28 08:35:03 -05:00
Christoph Atteneder
dbc9f5cfa6
Add info tooltips in offer table 2018-03-28 15:21:37 +02:00
Christoph Atteneder
e4aca5e979
Add missing copyright notice. 2018-03-28 15:21:11 +02:00
Christoph Atteneder
49765f6c77
Merge pull request #1481 from ripcurlx/fix-wrong-row-span
Fix wrong row span so group is closed after offer table
2018-03-28 09:47:30 +02:00
Christoph Atteneder
deee136d4e
Merge pull request #1480 from ripcurlx/fix-style-issue-with-deactivated-offers
Fix wrong style scope
2018-03-28 09:47:14 +02:00
Christoph Atteneder
3eaeeb2ce4
Fix wrong row span so group is closed after offer table 2018-03-28 09:42:36 +02:00
Christoph Atteneder
55665cbabb
Fix wrong style scope 2018-03-28 09:28:54 +02:00
Manfred Karrer
c777600dfa
Merge pull request #1478 from ManfredKarrer/voting
Voting
2018-03-27 19:46:15 -05:00
Manfred Karrer
02d616aec3
Merge pull request #1479 from ripcurlx/add-info-for-market-based-price-input
Adds information/warning icon for market based price input field
2018-03-27 13:02:59 -05:00
Manfred Karrer
7f1c0f8afb
Remove dev log 2018-03-27 12:29:23 -05:00
Christoph Atteneder
24522f0290
Remove new Fontawesome icon library as it creates side-effects depending which version of the font is loaded first. Have to be replaced everywhere at once. 2018-03-27 18:14:25 +02:00
Manfred Karrer
969f32f05a
Implement issuance 2018-03-27 10:53:28 -05:00
Christoph Atteneder
65a5580697
Add info icon to market based price input field 2018-03-27 17:29:31 +02:00
Christoph Atteneder
50239b69bc
Add Fontawesome Icon support 2018-03-27 17:28:46 +02:00