Commit graph

1319 commits

Author SHA1 Message Date
Manfred Karrer
e624625bbb
Fix missing close handler and avoid nullPointer exception 2019-03-31 15:46:09 -05:00
Manfred Karrer
d5fc7cb97e
Use burnedBsq field in Tx for burnedFee and invalidatedBsq
In case of an invalid tx we burn all available BSQ input. We only know
that at parsing time. We renamed the burntFee field to burntBsq to make
it more generic and use it for the burnt fee in case if a normal tx and
as invalidatedBsq in case of an invalid tx.
2019-03-30 19:35:12 -05:00
Manfred Karrer
d422a732e7
Handle merits better
We did not update the merit correctly in case there was no proposal
selected.
2019-03-30 16:58:28 -05:00
Manfred Karrer
bec73dce53
Add popup in case the utxo balance does not match the bsq balance 2019-03-29 19:42:56 -05:00
Manfred Karrer
a08b91055e
Add support for displaying burned BSQ from invalid txs 2019-03-29 19:42:32 -05:00
Manfred Karrer
995844feb3
Remove setFitToRowsForTableView, update merit at activate 2019-03-29 16:44:34 -05:00
Christoph Atteneder
3c12b91949
Show fiat rounding info popup also when switching between payment accounts 2019-03-29 11:59:09 +01:00
Manfred Karrer
acf26482dc
Use lockupTxId instead of uid 2019-03-28 20:30:38 -05:00
Manfred Karrer
18a3f1e5fe
Merge branch 'master' into add-check-for-bsq-balance
# Conflicts:
#	core/src/main/resources/i18n/displayStrings.properties
2019-03-28 19:53:23 -05:00
Christoph Atteneder
dbc202215c
Improve bonded role display and linkage 2019-03-28 15:37:48 +01:00
Christoph Atteneder
2ee9b882c0
Add transaction id and date to proposal votes table 2019-03-28 12:17:01 +01:00
Christoph Atteneder
1ff3013a0b
Reset selected item to enable re-opening of proposal details 2019-03-28 11:40:34 +01:00
Manfred Karrer
499d91e7d5
Improve formatting 2019-03-27 21:34:49 -05:00
Manfred Karrer
c6947ba2d2
Merge branch 'master' into add-check-for-bsq-balance
# Conflicts:
#	core/src/main/resources/i18n/displayStrings.properties
#	desktop/src/main/java/bisq/desktop/main/dao/wallet/dashboard/BsqDashboardView.java
2019-03-27 12:27:29 -05:00
Christoph Atteneder
e7a059950e
Prevent BSQ offers below dust limit 2019-03-27 17:00:29 +01:00
Christoph Atteneder
9143616d85
Increase height of chart to fill window in default size 2019-03-27 15:21:54 +01:00
Christoph Atteneder
ff21c916fa
Improve layout 2019-03-27 15:06:39 +01:00
Christoph Atteneder
4c46b3865b
Put charts into white panes to improve layout 2019-03-27 14:33:22 +01:00
Christoph Atteneder
44764d1fb7
Add supply and transactions sections 2019-03-27 12:19:28 +01:00
Christoph Atteneder
b00f96d06e
Move BSQ economy details into separate view 2019-03-27 09:39:58 +01:00
Christoph Atteneder
1fb9a15668
Move BSQ dashboard in separate economy view 2019-03-27 09:39:58 +01:00
Manfred Karrer
793d00699a
Rename BTC_DAO_TESTNET2 to BTC_DAO_REGTEST 2019-03-26 20:13:08 -05:00
sqrrm
2758db554e
Update desktop/src/main/java/bisq/desktop/main/dao/wallet/dashboard/BsqDashboardView.java
Co-Authored-By: ManfredKarrer <mk@nucleo.io>
2019-03-26 19:03:23 -05:00
Devin Bileck
b86da3925b
Show close button when creating offer without required account
Issue: When attempting to create an offer without a trading account for
the selected currency, a prompt is shown asking the user whether to still
create an offer or to create a new account. But this prompt is missing a
cancel/close button in case you don't want to do either action. And
pressing Esc on the keyboard proceeds to create the account.

Cause: The close button on the prompt was renamed and being used to
create a new account.

Fix: Use the close button as a close button and add a secondary action
button to create a new account. The popup width was increased to
accommodate the long button text without being truncated.
2019-03-26 14:50:03 -07:00
Manfred Karrer
ff868311bb
Merge branch 'master' into add-check-for-bsq-balance
# Conflicts:
#	desktop/src/main/java/bisq/desktop/main/dao/wallet/dashboard/BsqDashboardView.java
2019-03-26 00:40:27 -05:00
Manfred Karrer
ce1da644c2
Add IRREGULAR txType for txs which are not rule conform but not burnt
We don't want to burn BSQ in cases like that the tx was published too
late, which is a valid case if the tx does not make it in the next block.
We set such txs as IRREGULAR and allow spending of the BSQ, but there
function in the governance is invalidated.

We also add a check if the sum of all UTXO is the same as the sum of the
genesis + sum of issuance txs - burned fees.
2019-03-26 00:37:55 -05:00
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