Commit graph

1112 commits

Author SHA1 Message Date
Manfred Karrer
2a46133292
Merge pull request #2566 from ripcurlx/ui-dao-improvements
DAO UI improvements
2019-03-25 18:34:02 -05:00
Christoph Atteneder
1324290d34
Move vote results for proposal into popup 2019-03-25 23:46:40 +01:00
Christoph Atteneder
f6f2a663e8
Improve layout and fix issue with phase breaks 2019-03-25 20:47:28 +01:00
Manfred Karrer
a9aaef7e9b
Complete pull request
We only want to show active bonds in the list for confiscation.
The Inactive bond label is not necessary in the vote result as a
confiscated bond is inactive anyway. Intention was probably to show it
as inactive in the proposal display but they will be filtered out
anyway there.
2019-03-25 10:05:19 +01:00
Ben Kaufman
f1077b82b3
Disallow proposing to confiscate inactive bonds 2019-03-25 10:05:19 +01:00
Christoph Atteneder
942d8366b2
Add informational popup when voting for the first time 2019-03-25 09:51:42 +01:00
Christoph Atteneder
4ba8342f20
Move display of selected proposal into popup instead of showing it inline 2019-03-25 09:51:42 +01:00
Christoph Atteneder
0099c9c5e3
Move my vote out of selected proposal section 2019-03-25 09:51:42 +01:00
Christoph Atteneder
8d4a3de7b7
Make create proposal view more compact 2019-03-25 09:51:41 +01:00
Christoph Atteneder
8d7a35bd5b
Not show group separator for last group 2019-03-25 09:51:41 +01:00
Manfred Karrer
7c97a90f4a
Complete pull request
Use lockup and unlock tx for miner fee and tx size display.
The getMiningFeeAndTxSize in daoFacade was used for blind vote. Got
renamed in the meantime to make it more clear.
2019-03-23 17:06:28 -05:00
Manfred Karrer
c4a3a2ba77
Merge branch 'lock-bond-fees' of https://github.com/ben-kaufman/bisq into ben-kaufman-lock-bond-fees 2019-03-23 16:37:28 -05:00
Manfred Karrer
a9a43159f9
Add warning for money order accounts.
See discussion at: https://github.com/bisq-network/proposals/issues/75
2019-03-23 16:09:11 -05:00
Manfred Karrer
47fb177c07
Merge pull request #2556 from ManfredKarrer/misc-dao-improvements
Improve data structure, validation and performance
2019-03-22 23:46:17 -05:00
Manfred Karrer
43155b8926
Fix % display 2019-03-22 20:31:16 -05:00
Devin Bileck
032892c8fd
Suppress popup at shutdown when open offers are disabled
Issue: When shutting down the application with disabled open offers, the
confirmation popup was still being shown informing the user there are
open offers.

Fix: On shutdown, check all open offers and only show the popup if any
of them are enabled.

Fixes #2115
2019-03-22 12:50:20 -07:00
Manfred Karrer
f36678e90b
Add phaseChangeListener only after batch processing 2019-03-22 12:25:28 -05:00
Manfred Karrer
a9ef339762
Merge branch 'master' into misc-dao-improvements 2019-03-22 12:00:51 -05:00
Manfred Karrer
2ad86abe9f
Apply code inspection, cleanup 2019-03-22 00:44:58 -05:00
Manfred Karrer
7e61afcb8e
Add BONDED_ROLE_FACTOR to param to react on BSQ price changes
To avoid the need to change the required bond in the BondedRoleType
if the BSQ price changes we use the BONDED_ROLE_FACTOR param where the
factor can be changed. In the BondedRoleType we use the requiredBondUnit
which will be multiplied with the BONDED_ROLE_FACTOR value to get the
required bond amount.
2019-03-21 19:46:15 -05:00
Manfred Karrer
46f5b155dd
Update json export for vote results
Try to reflect domain structure and field names.
2019-03-21 18:46:27 -05:00
Manfred Karrer
c9ff5f7eba
Misc cleanups and refactorings 2019-03-21 18:45:53 -05:00
Devin Bileck
c842575eba
Fix BTC status incorrectly hidden on splash screen
Issue: When launching a new Bisq instance (i.e. new data directory) and
remaining on the user agreement screen for >90 seconds while reading it,
once you accept the agreement the BTC status was not being shown
on the splash screen.

Cause: showTorNetworkSettingsTimer gets triggered after 90 seconds
and since Tor is not started until after accepting the user agreement,
it was incorrectly assuming that Tor is not working and as a result
hiding the BTC status.

Fix: Don't hide the BTC status in showTorNetworkSettingsTimer. If there
is an issue with Tor, splashP2PNetworkErrorMsgListener handles
hiding the BTC status.
2019-03-21 10:44:20 -07:00
Manfred Karrer
735f619fee
Stream block batch processing on render frames
To avoid that the UI gets frozen at batch processing of blocks we
delay each parsing to the next render frame. The total parsing time is
just about 5% slower that way but the UI can render updates.
We also changed the hash for the daoState as the hashing of the full
state becomes quite heavy. The size of the blocks is about 1,4 MB for
7000 blocks (dao testnet). As on a new block only the last block in the
chain got added and as we use the previous hash in the hash chain we
do not need to hash the full blocks list but only the last block.
By that we decrease batch processing time from 30 sec to 7 sec. and data
size of the daoState from 1,4 MB to 200 kb.
Also added progress display of missing blocks in the Tx UI.
2019-03-21 00:27:12 -05:00
Manfred Karrer
13ca802dd1
Add extraDataMap to BlindVote and Proposal
In case we need to add additional data in future we are can use that map
without breaking consensus or breaking the hash chain.
2019-03-19 22:20:13 -05:00
Manfred Karrer
3aa50a3be5
Store requiredBond and unlockTime in RoleProposal 2019-03-19 21:22:28 -05:00
Manfred Karrer
ac3374cc47
Remove requiredQuorum and requiredThreshold from EvaluatedProposal
We would break the hash chain if we would change the quorum or
threshold values in the param enum.
2019-03-19 20:39:47 -05:00
Manfred Karrer
ff5d18a493
Use block height of proposal tx if available
To be able to apply the validation also on past cycles we need to use
the block height if the proposal tx and not the current one. Just in
case the tx is not confirmed (when temp proposal gets published) we use
the current height, but that would anyway match the cycle.
In a past cycle params could have been different and validation need to
use the correct param value from that cycle.
2019-03-18 23:39:57 -05:00
Manfred Karrer
d02609af2a
Refactor: Rename ValidationException to ProposalValidationException 2019-03-18 21:56:25 -05:00
Manfred Karrer
3d5e109b82
Rename getMiningFeeAndTxSize to getBlindVoteMiningFeeAndTxSize 2019-03-18 18:22:19 -05:00
Manfred Karrer
01a582f26b
Add BTC_DAO_BETANET
We want to test on mainnet with a test genesis tx. We create a new
network type which is BTC mainnet but has a different data directory to
make sure to not mix up the real wallet with the betatest
2019-03-16 16:16:32 -05:00
Manfred Karrer
b7941c82c3
Merge branch 'master' into add-hash-of-dao-state 2019-03-16 13:04:06 -05:00
Manfred Karrer
b222fd28f2
Change file name for DaoStateStore db file to DaoStateStore2, Cleanup
- Change onDaoStateBlockChainChanged to onChangeAfterBatchProcessing
to make it more clear that it is only called after parsing of
blockchain is completed.
- Change file name for DaoStateStore db file to DaoStateStore2
- Remove TODOs and outdated comments
- Increase delay for broadcasting
2019-03-16 12:47:12 -05:00
Manfred Karrer
00e350e256
Small fixes 2019-03-15 22:58:34 -05:00
Manfred Karrer
933fa46780
Fix table layout issue
The setFitToRowsForTableView call at activate fixes the issue that the
views sometimes do not render when changing views.
2019-03-15 21:45:25 -05:00
Manfred Karrer
4af74950cb
Add blind vote monitoring 2019-03-15 19:38:30 -05:00
Ben Kaufman
1f34b3197e Added mining fee to un/lock bond popup. 2019-03-15 20:05:06 +02:00
Manfred Karrer
2109c66e51
Add num proposals
- Cleanups
- Improve logs
2019-03-15 10:18:31 -05:00
Manfred Karrer
59bed76c0c
Add proposal monitor view 2019-03-14 21:11:38 -05:00
Manfred Karrer
36852701cd
Move monitor view to new tab 2019-03-14 20:31:27 -05:00
Manfred Karrer
2009c30d81
Refactor dao state monitor
- Move dao state monitor classes to other package structure
- Add support for proposal payload monitor (WIP)
- Use generics and sub classes for common functionality
2019-03-14 19:03:11 -05:00
Manfred Karrer
9c0156012a
Call listeners only after batch of hashes is processed 2019-03-13 22:23:05 -05:00
Manfred Karrer
47024d18b6
Show dash instead of N/A for prev hash at genesis height 2019-03-13 11:08:23 -05:00
Manfred Karrer
c280f30fa7
Use domain data or sorting 2019-03-13 10:56:24 -05:00
Manfred Karrer
f56041383f
Update UI, remove checkArgument call 2019-03-11 20:32:39 -05:00
Manfred Karrer
bbec682d98
Add UI for Dao state monitor
Refactor dao state monitor domain.
Add support for requesting all hashed from genesis from a peer which is
in conflict (can help to find at which block the issue started).
2019-03-11 18:32:48 -05:00
Manfred Karrer
cdce61c128
Merge pull request #2521 from ben-kaufman/dao-feedback-popup
Added  feedback popup for DAO test users
2019-03-11 10:44:33 -05:00
Ben Kaufman
ea4466c479 Use services instead of wallet and fix text 2019-03-11 08:13:44 +02:00
Ben Kaufman
a5a068a246 Fix popup wording 2019-03-11 06:45:03 +02:00
Manfred Karrer
d3349864ae
Automatically restart after restore 2019-03-10 23:40:25 -05:00