Commit graph

8824 commits

Author SHA1 Message Date
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
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
f780cf5a15
Add SHA3-256 hash function
SHA3-256 is about 30% faster than SHA256
2019-03-20 21:28:25 -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
Manfred Karrer
1c5d1e0240
Add version to dispute opening msg 2019-03-19 17:27:50 -05:00
Manfred Karrer
ce13bae044
Use same detail info for peerOpenedTicket string and peerOpenedDispute 2019-03-19 17:11:07 -05:00
Manfred Karrer
28970d1ef3
Merge pull request #2564 from oscarguindzberg/bitcoinjjdk10
Upgrade bitcoinj version to the one built with jdk 10
2019-03-19 16:04:19 -05:00
Oscar Guindzberg
1746b143be Upgrade bitcoinj version to the one built with jdk 10 2019-03-19 17:16:49 -03:00
Manfred Karrer
02e9b55a4c
Merge pull request #2563 from oscarguindzberg/move-clear-store-bitcoinj
Move clear blockstore feature to bitcoinj
2019-03-19 14:48:36 -05:00
Oscar Guindzberg
aee1c6fa31 Move clear blockstore feature to bitcoinj 2019-03-19 15:27:55 -03:00
Christoph Atteneder
591ec7f5dc
Merge pull request #2562 from qwertycoin-org/master
List Qwertycoin (QWC)
2019-03-19 12:52:39 +01:00
Mr QWC
88dd068fdc List Qwertycoin (QWC) 2019-03-19 12:41:22 +01:00
Christoph Atteneder
fce7644483
Merge pull request #2561 from blabno/bugfix/revert-qwertycoin
Revert "List Qwertycoin (QWC)"
2019-03-19 12:21:56 +01:00
Bernard Labno
b88b2ae29b
Revert "List Qwertycoin (QWC)"
This reverts commit 4500769
2019-03-19 12:17:17 +01:00
Christoph Atteneder
384ffe806c
Merge pull request #2459 from qwertycoin-org/master
List Qwertycoin (QWC)
2019-03-19 11:52:05 +01:00
Christoph Atteneder
68f7aad6ca
Merge pull request #2527 from aguycalled/list-navcoin
List Navcoin (NAV)
2019-03-19 11:46:35 +01:00
alex v
ad44ca5805 List Navcoin (NAV) 2019-03-19 11:22:53 +01: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
dbf3ebadea
Use ProposalValidatorProvider to operate on concrete ProposalValidator
We used ProposalValidator for most validation processes but that missed
the custom validation in the sub classed for each proposal type.
ProposalValidator is now abstract and ProposalValidatorProvider returns
instance matching to proposal type.
2019-03-18 23:19:23 -05:00
Manfred Karrer
d02609af2a
Refactor: Rename ValidationException to ProposalValidationException 2019-03-18 21:56:25 -05:00
Manfred Karrer
3dc99391e9
Refactor ChangeParamValidator 2019-03-18 21:55:41 -05:00
Manfred Karrer
d86aa28ec5
Make ARBITRATOR_FEE % based, Add more validations 2019-03-18 18:22:53 -05:00
Manfred Karrer
3d5e109b82
Rename getMiningFeeAndTxSize to getBlindVoteMiningFeeAndTxSize 2019-03-18 18:22:19 -05:00
Manfred Karrer
c8b0e88dba
Fix incorrect maxIncrease value 2019-03-18 17:11:16 -05:00
Manfred Karrer
d8e226e20d
Add BTC_DONATION_ADDRESS_OWNER translation string 2019-03-18 16:05:43 -05:00
Manfred Karrer
16d1b77edb
Add BTC_DONATION_ADDRESS_OWNER 2019-03-18 16:02:59 -05:00
Manfred Karrer
f411a16879
Rename PRICE_NODE_OPERATOR to DATA_RELAY_NODE_OPERATOR
The price node will likely be used for further data relay tasks and the
delivery of the fee is already not well convered by the price term...
2019-03-18 14:40:28 -05:00
Manfred Karrer
4119113caf
Adjust THRESHOLD_CHANGE_PARAM and THRESHOLD_CONFISCATION 2019-03-18 14:34:08 -05:00
Manfred Karrer
c96147761d
Add comment 2019-03-18 14:28:44 -05:00
Manfred Karrer
0198bf4c23
Merge branch 'master' into misc-dao-improvements 2019-03-18 14:09:20 -05:00
Manfred Karrer
628705787f
Merge pull request #2552 from freimair/refactor_capabilities
Refactor capabilities
2019-03-18 14:08:40 -05:00
Manfred Karrer
b66c23f1ff
Log time needed for rpc getBlock call 2019-03-18 14:01:26 -05:00
Manfred Karrer
a7dacbf4d5
Merge pull request #2538 from devinbileck/fix-handling-exception-during-tor-setup
Fix exception handling during Tor setup
2019-03-18 14:00:25 -05:00