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
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
Manfred Karrer
81f4dd65b7
Add UNDEFINED entries
2019-03-21 18:41:47 -05:00
Manfred Karrer
32e27aad9d
Merge pull request #2565 from devinbileck/fix-typos
...
Fix typos/grammar in account.seed.restore.info
2019-03-21 11:59:15 -05:00
Devin Bileck
9d77031c43
Fix typos/grammar in account.seed.restore.info
2019-03-21 00:05:52 -07:00
Manfred Karrer
e371fd44d2
Use ParamValidationException instead of AddressFormatException
2019-03-21 00:37:06 -05:00
Manfred Karrer
28c93672ef
Fix logging
2019-03-21 00:32:40 -05: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
c732ce8d18
Rename db file to enforce usage of new file with new data structure
2019-03-20 13:07:58 -05:00
Manfred Karrer
2a23896d2b
Change log levels, improve logging
2019-03-20 13:07:19 -05:00
Manfred Karrer
eb2975aefb
Dont' call updateBsqBalance while batch processing
...
We got a concurrent modification error when BTC blockchain sync was
running while DAO state was updated.
2019-03-20 13:06:22 -05:00
Manfred Karrer
fb3ca06600
Add ConsensusCritical to proposal validators
...
Changing validation rules can potentially break consensus (e.g. a past
proposal has been accepted according to old rules, and might become
invalid by new rules. The result of the proposal would become
invalidated then.
2019-03-19 22:39:32 -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
7eb414acd1
Change bond lock time from 60 days to 75 days
2019-03-19 20:36:28 -05:00
Manfred Karrer
a47ba424f5
Fix comments
2019-03-19 19:09:40 -05:00
Manfred Karrer
729d59b113
Add 3 new roles, adjust bond amount
2019-03-19 18:58:30 -05:00
Manfred Karrer
4157ce1ea9
Increase bond for youtube operator
2019-03-19 18:48:54 -05:00
Manfred Karrer
aa8dc297cb
Change min/max factor for phase durations from 3 to 2
2019-03-19 18:48:00 -05:00
Manfred Karrer
bf474a3c25
Change blind vote phase and vote reveal durations
...
Blind vote phase changed from 4 days to 3 days and vote reveal from
2 days to 3 days.
2019-03-19 18:45:53 -05:00
Manfred Karrer
e673d6cd15
Merge branch 'master' into misc-dao-improvements
2019-03-19 18:40:40 -05:00