Commit graph

884 commits

Author SHA1 Message Date
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
d02609af2a
Refactor: Rename ValidationException to ProposalValidationException 2019-03-18 21:56:25 -05:00
Manfred Karrer
3d5e109b82
Rename getMiningFeeAndTxSize to getBlindVoteMiningFeeAndTxSize 2019-03-18 18:22:19 -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
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
00e350e256
Small fixes 2019-03-15 22:58:34 -05:00
Manfred Karrer
933fa46780
Fix table layout issue
The setFitToRowsForTableView call at activate fixes the issue that the
views sometimes do not render when changing views.
2019-03-15 21:45:25 -05:00
Manfred Karrer
4af74950cb
Add blind vote monitoring 2019-03-15 19:38:30 -05:00
Manfred Karrer
2109c66e51
Add num proposals
- Cleanups
- Improve logs
2019-03-15 10:18:31 -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
Manfred Karrer
2009c30d81
Refactor dao state monitor
- Move dao state monitor classes to other package structure
- Add support for proposal payload monitor (WIP)
- Use generics and sub classes for common functionality
2019-03-14 19:03:11 -05:00
Manfred Karrer
9c0156012a
Call listeners only after batch of hashes is processed 2019-03-13 22:23:05 -05:00
Manfred Karrer
47024d18b6
Show dash instead of N/A for prev hash at genesis height 2019-03-13 11:08:23 -05:00
Manfred Karrer
c280f30fa7
Use domain data or sorting 2019-03-13 10:56:24 -05:00
Manfred Karrer
f56041383f
Update UI, remove checkArgument call 2019-03-11 20:32:39 -05:00
Manfred Karrer
bbec682d98
Add UI for Dao state monitor
Refactor dao state monitor domain.
Add support for requesting all hashed from genesis from a peer which is
in conflict (can help to find at which block the issue started).
2019-03-11 18:32:48 -05:00
Manfred Karrer
cdce61c128
Merge pull request #2521 from ben-kaufman/dao-feedback-popup
Added  feedback popup for DAO test users
2019-03-11 10:44:33 -05:00
Ben Kaufman
ea4466c479 Use services instead of wallet and fix text 2019-03-11 08:13:44 +02:00
Ben Kaufman
a5a068a246 Fix popup wording 2019-03-11 06:45:03 +02:00
Manfred Karrer
d3349864ae
Automatically restart after restore 2019-03-10 23:40:25 -05:00
Ben Kaufman
f7f91da927 Added feedback popup for DAO test users 2019-03-10 15:43:49 +02:00
Manfred Karrer
257550ac81
Merge pull request #2515 from ManfredKarrer/make-vote-result-json-determinisitic
Make vote result json deterministic
2019-03-08 13:06:23 -05:00
Manfred Karrer
ee0fef4d2f
Remove duplicate entry for number of proposals 2019-03-08 12:20:06 -05:00
Manfred Karrer
ca01376ffc
Merge pull request #2517 from ManfredKarrer/fix-missing-balance-at-restore-from-seed-words
Fix missing balance at restore from seed words
2019-03-08 12:08:49 -05:00
Christoph Atteneder
ced71361b4
Merge pull request #2519 from ben-kaufman/txid-proposal-display
Add txId to proposal display
2019-03-08 17:51:23 +01:00
Ben Kaufman
864fc55c25 Use correct method to open bisq explorer 2019-03-08 18:20:28 +02:00
Ben Kaufman
a5af75961c Add txId to proposal display 2019-03-08 12:03:00 +02:00
Manfred Karrer
9152733bb1
Set wallet date 1 day earlier to cover timezone issues
We subtract 1 day to be sure to not have any issues with timezones.
Even if we can be sure that the timezone
is handled correctly it could be that the user created the wallet in
one timezone and make a restore at
a different timezone which could lead in the worst case that he miss
the first day of the wallet transactions.
2019-03-07 21:46:25 -05:00
Manfred Karrer
01f3bdc557
Make vote result json deterministic 2019-03-07 17:53:30 -05:00
Manfred Karrer
6481a53f5c
Merge pull request #2512 from ripcurlx/fix-problem-with-display-of-zero-trading-fees
Show the correct BSQ or BTC trading fee if it is maker or taker
2019-03-07 15:53:28 -05:00
Christoph Atteneder
85274b1e52
Show the correct BSQ or BTC trading fee if it is maker or taker 2019-03-07 18:43:27 +01:00
Christoph Atteneder
0a42b15972
Improve wording for security deposit 2019-03-07 18:15:17 +01:00
Christoph Atteneder
eefa649836
Fix null pointer if security deposit percentage is changed before amount was set 2019-03-07 17:48:52 +01:00
Manfred Karrer
76e753f35a
Merge pull request #2478 from oscarguindzberg/bitcoinj-0.14.7
Use bitcoinj 0.14.7
2019-03-06 18:43:41 -05:00
Manfred Karrer
73eea7927a
Merge pull request #2469 from freimair/refactor_capabilities
Refactor capabilities and other P2P-related stuff
2019-03-06 18:38:23 -05:00
Manfred Karrer
7d59e1a67a
Adjust layout of export Json button 2019-03-06 17:27:07 -05:00
Manfred Karrer
ff023ce32f
Merge pull request #2504 from ben-kaufman/export-voting-history
Added button to export voting history into JSON
2019-03-06 16:52:59 -05:00
Ben Kaufman
2a4e004133 Fixes and improvements 2019-03-06 23:38:16 +02:00
Christoph Atteneder
d6fb97880a
Revert to SNAPSHOT 2019-03-06 15:37:23 +01:00
Ben Kaufman
873a57eea9 Added button to export voting history into json 2019-03-06 15:31:43 +02:00
Christoph Atteneder
75fd991b3b
Bump version number 2019-03-06 10:04:50 +01:00
Florian Reimair
22b4ef921b
Use Lombok Getter 2019-03-06 09:50:30 +01:00
Manfred Karrer
92b91ba391
Merge pull request #2500 from ManfredKarrer/remove-dev-logging
Remove Log.traceCall methods
2019-03-05 11:52:21 -05:00
Manfred Karrer
b711f571a4
Cleanup some log.debug calls 2019-03-05 11:24:07 -05:00
Manfred Karrer
7fd2030003
Remove Log.traceCall methods
Florian reported that they consume quite a bit of performance.As
they have not been used for development testing since long we should
better remove those.
2019-03-05 10:32:39 -05:00
Christoph Atteneder
5c69d75192
Update data stores 2019-03-05 16:24:55 +01:00
Christoph Atteneder
549348aee0
Add news badge for instant trade 2019-03-05 15:02:37 +01:00
Christoph Atteneder
95d8f514ad
Add news badge for new percentage security deposit 2019-03-05 13:08:26 +01:00