Commit graph

3038 commits

Author SHA1 Message Date
Manfred Karrer
999fe85afc
Reduce durations of phases for DAO_REGTEST 2019-03-26 20:46:30 -05:00
Manfred Karrer
1bd6f03e15
Add new genesis tx for DAO_REGTEST 2019-03-26 20:43:08 -05:00
Manfred Karrer
793d00699a
Rename BTC_DAO_TESTNET2 to BTC_DAO_REGTEST 2019-03-26 20:13:08 -05:00
Manfred Karrer
8016f452f3
Add try/catch to print error in case the file does not exist 2019-03-26 20:12:43 -05:00
Manfred Karrer
bf83687524
Rename BTC_DAO_TESTNET to BTC_DAO_TESTNET2 to enforce new network 2019-03-26 19:24:45 -05:00
Manfred Karrer
121c0f6f68
Merge branch 'add-check-for-bsq-balance' of https://github.com/ManfredKarrer/bisq into add-check-for-bsq-balance 2019-03-26 19:05:03 -05:00
Manfred Karrer
7479b88a08
Keep invalid state for txs which cannot have been created by the app 2019-03-26 19:04:51 -05:00
sqrrm
a3e1e677c7
Update core/src/main/java/bisq/core/dao/node/parser/TxParser.java
Co-Authored-By: ManfredKarrer <mk@nucleo.io>
2019-03-26 18:57:31 -05:00
sqrrm
83b7ed9fea
Update core/src/main/java/bisq/core/dao/governance/votereveal/VoteRevealService.java
Co-Authored-By: ManfredKarrer <mk@nucleo.io>
2019-03-26 18:56:28 -05:00
sqrrm
3d5ff1c674
Update core/src/main/java/bisq/core/dao/governance/votereveal/VoteRevealService.java
Co-Authored-By: ManfredKarrer <mk@nucleo.io>
2019-03-26 18:56:20 -05: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
c20964f47a
Don't create vote reveal tx in last block of phase 2019-03-26 00:33:57 -05:00
Manfred Karrer
15bf8ff08b
Merge pull request #2584 from ManfredKarrer/add-issuance-limit
Add ISSUANCE_LIMIT param and check for max issuance per cycle
2019-03-25 18:34:22 -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
f6f2a663e8
Improve layout and fix issue with phase breaks 2019-03-25 20:47:28 +01:00
Manfred Karrer
f75ddf9346
Add ISSUANCE_LIMIT param and check for max issuance per cycle
We limit the possible max. issuance (including reimbursements) to the
valued defined in the ISSUANCE_LIMIT param.
In case we exceed that limit the whole cycle becomes invalid.

The main reason for that feature is limitation of max.
damage in case that an attacker manages to create unjustified issuance.

For valid cases we consider such a case as social consensus problem as
the majority of voters should be aware of that limit before they
accept such a high issuance. If known in advance that an extraordinary
high issuance is expected the DAO parameter can be changed.
2019-03-25 13:36:34 -05:00
Christoph Atteneder
ab4d203ece
Merge pull request #2575 from ManfredKarrer/higher-max-buyer-security-deposit
Set max buyer's security deposit to 20% instead of 10%
2019-03-25 10:24:48 +01:00
Christoph Atteneder
f65b340d3d
Merge pull request #2576 from ManfredKarrer/mk-fix-get-all-bonds
Fix get all bonds not returning not active bonds
2019-03-25 10:24:33 +01:00
Christoph Atteneder
3491c40e13
Merge pull request #2579 from devinbileck/update-change-param-validator-error-messages
Update change param validator error messages
2019-03-25 10:24:01 +01:00
Christoph Atteneder
100d838908
Set max buyer's security deposit to 20% instead of 10%
A Bisq trader suggested that change to cover risks with volatility
for seller.
2019-03-25 10:17:08 +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
Ben Kaufman
5c066a6942
Fix get all bonds not returning not active bonds
Fix #2522
2019-03-25 10:05:18 +01:00
Christoph Atteneder
942d8366b2
Add informational popup when voting for the first time 2019-03-25 09:51:42 +01:00
Christoph Atteneder
e4ecb869ad
Use stake to reference voting weight 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
Devin Bileck
85fc633430
Fix incorrect value stated in error message and use inputToBeAtLeast 2019-03-24 23:02:56 -07:00
Devin Bileck
a902a7b627
Fix incorrect display string name inputTooToBeAtLeast 2019-03-24 22:56:18 -07:00
Manfred Karrer
497e202420
Merge pull request #2577 from ManfredKarrer/mk-lock-bond-fees
Added mining fee to un/lock bond popup
2019-03-24 19:12:35 -05:00
Manfred Karrer
5d4235ff87
Update BTC_DONATION_ADDRESS_OWNER bond 2019-03-24 13:44:16 -05:00
Manfred Karrer
be94f106be
Add null check 2019-03-24 12:56:03 -05:00
Manfred Karrer
a6bdbe927b
Add null checks 2019-03-24 12:38:56 -05:00
Manfred Karrer
646c39033f
Add testnet seeds 2019-03-23 18:15:42 -05: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
43155b8926
Fix % display 2019-03-22 20:31:16 -05:00
Manfred Karrer
26fd61defb
Fix tests 2019-03-22 14:31:48 -05:00
Manfred Karrer
954c5afc7b
Use translation strings and show min/max values at change param validation 2019-03-22 14:14:24 -05: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
7b6142920e
Fix string 2019-03-22 00:46:31 -05:00
Manfred Karrer
2ad86abe9f
Apply code inspection, cleanup 2019-03-22 00:44:58 -05:00
Manfred Karrer
61a3be354e
Remove nonBsqTxOutputMap from daoState
We can evaluate the nonBsqTxOutputs without storing it.
Storing them in the map would have required to remove them as well
once withdrawn from the wallet.
2019-03-21 23:48:19 -05:00
Manfred Karrer
49a0076139
Don't support spending of pending BTC utxos in the BSQ wallet. 2019-03-21 21:11:18 -05:00
Manfred Karrer
92fdca2abd
Cleanup TODOs 2019-03-21 20:53:08 -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
c9ff5f7eba
Misc cleanups and refactorings 2019-03-21 18:45:53 -05:00
Manfred Karrer
7651a946e4
Support exportToJson also for lite node 2019-03-21 18:42:34 -05:00