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
Oscar Guindzberg
aee1c6fa31
Move clear blockstore feature to bitcoinj
2019-03-19 15:27:55 -03:00
Mr QWC
88dd068fdc
List Qwertycoin (QWC)
2019-03-19 12:41:22 +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
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
b66c23f1ff
Log time needed for rpc getBlock call
2019-03-18 14:01:26 -05:00
Manfred Karrer
7748366cdd
Add UNDEFINED enum entry to all dao enums to allow updates
...
For backward compatibility we resolve an unknown new enum entry with
UNDEFINED if UNDEFINED is available in the enum.
Adding a bonded role and adding a param is tested with that and works.
Other changes need to be tested before implemented as they might have
more consequences for consensus.
2019-03-18 12:13:28 -05:00
Manfred Karrer
1160986eb0
Add dao-testnet explorer, update testnet url
2019-03-18 11:17:08 -05:00
Florian Reimair
9f1556f339
Cleanup capabilities setup
2019-03-18 12:59:24 +01:00
Florian Reimair
837b4dffb3
Refactor Capabilities for Peer
2019-03-18 12:46:32 +01:00
Florian Reimair
7a03aba02e
Refactor Capabilities for Connection
2019-03-18 12:29:09 +01:00
Manfred Karrer
45185d3e34
Fix incorrect maybeUpdateHashChain call
2019-03-18 00:26:26 -05:00
Manfred Karrer
2baced146b
Only log if hashchain has been updated
2019-03-17 23:33:41 -05:00
Manfred Karrer
51f332eb2d
Fix comment
2019-03-17 21:59:19 -05:00
Manfred Karrer
765bf54a0a
Use shorter phase periods for dao-betanet
2019-03-16 21:18:53 -05:00
Manfred Karrer
a3eed2b82d
Fix missing parm in GenesisTxInfo constructor in test
2019-03-16 19:00:51 -05:00
Manfred Karrer
41d5fc5395
Improve wording
2019-03-16 18:37:05 -05:00
Manfred Karrer
0caa5bc18f
Set DAO_BETANET (Mainnet test) genesis tx
2019-03-16 18:32:31 -05:00
Manfred Karrer
55f01df842
Make genesisTotalSupply customizable by network.
...
- Add genesisTotalSupply prog arg
2019-03-16 16:57:03 -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
0ba2f6fc92
Cleanup after code inspection
2019-03-16 13:00:42 -05:00
Manfred Karrer
82e2a4860a
Add comments
2019-03-16 12:56:13 -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
e3dace8f3f
Fix tests
2019-03-15 23:20:09 -05:00
Manfred Karrer
00e350e256
Small fixes
2019-03-15 22:58:34 -05:00
Manfred Karrer
f5ab159cb5
Remove useless stopAndRemoveTimer call
2019-03-15 22:14:03 -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
52e1455d92
Refactor updateHashChain
2019-03-14 22:02:43 -05:00
Manfred Karrer
3411cde8b7
Reflect code review comments
2019-03-14 22:01:38 -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