Commit graph

2143 commits

Author SHA1 Message Date
Manfred Karrer
4cc17feace
Persist EvaluatedProposalList 2018-10-08 19:47:54 -05:00
Manfred Karrer
d279dae032
Rename chainHeadHeight to chainHeight 2018-10-08 11:22:57 -05:00
Manfred Karrer
57355f2b19
Merge branch 'Dao-UI-improvements' 2018-10-08 11:18:42 -05:00
Manfred Karrer
d87bbf9318
Merge pull request #1763 from ManfredKarrer/tx-broadcaster-fix
Tx broadcaster fix
2018-10-08 07:10:52 -05:00
Manfred Karrer
8232eeecd8
Deactivate OKPay as it does not exist anymore
OkPay seems to have rebranded to Weezzo.
The OkPay webpage is offline but some links go to Weezzo.
Seems pretty unprofessional hwo they did the move...
Seems they have been involved with BTC-e…
https://bitcointalk.to/index.php?topic=2094721.0
2018-10-07 21:54:00 -05:00
Manfred Karrer
be1f177fc7
Increase timeout to 30 sec 2018-10-07 17:40:44 -05:00
Manfred Karrer
85c80bcd5c
Remove the maybeCommitTx call at timeout 2018-10-07 17:40:01 -05:00
Manfred Karrer
5dfbb6d596
Merge branch 'master' into Dao-UI-improvements 2018-10-07 00:46:48 -05:00
Manfred Karrer
8c85a1bab5
Merge branch 'master' into small-fixes 2018-10-05 15:21:14 -05:00
Manfred Karrer
f4cfeef2cd
Add checkTradeActivity method, remove ConvertToTradeStatistics2 2018-10-05 02:36:20 -05:00
Manfred Karrer
4770ac9ef5
Remove asset from comboBoxes if it was removed by voting 2018-10-05 00:46:03 -05:00
Manfred Karrer
3e7eba8f04
Add Generic- and removeAsset proposals 2018-10-04 23:24:14 -05:00
Manfred Karrer
072cedc29b
Improve param change selection (WIP)
- Show current formatted value
- Parse input to correct domain value
- Add validation (WIP)
- Add boundary checks (WIP)
2018-10-04 21:36:17 -05:00
Manfred Karrer
ccdac8e20b
Add new items to Param
- Add COMPENSATION_REQUEST_MIN_AMOUNT and COMPENSATION_REQUEST_MAX_AMOUNT
As BSQ based validation values can change over time if BSQ value
rise we need to support that in the Params as well.

- Add validateParamValue to ChangeParamValidator
2018-10-04 20:28:17 -05:00
Manfred Karrer
6299411a2f
Fix/add comments 2018-10-04 18:15:00 -05:00
Manfred Karrer
c6c617e4b6
Improve comment 2018-10-04 15:06:44 -05:00
Manfred Karrer
281e156449
Rename AvoidStandbyMode to AvoidStandbyModeService 2018-10-04 11:36:29 -05:00
Manfred Karrer
0728d04b02
Improve logs, don't show popups in dev mode 2018-10-04 11:33:44 -05:00
Manfred Karrer
1b8863652c
Merge branch 'master' into DAO-improvements 2018-10-04 10:40:42 -05:00
Manfred Karrer
fcc333cd89
Merge pull request #1747 from fotispap/fotispap/remove-age-altcoin-accounts
Remove age from limitations of altcoin accounts
2018-10-04 10:09:57 -05:00
Manfred Karrer
3ed70f76be
Fix wrong log 2018-10-04 00:51:30 -05:00
Manfred Karrer
ba876d8884
Refactor parsing of genesis tx
- Extract genesis parsing to GenesisTxParser
- Cleanups
2018-10-04 00:38:21 -05:00
Manfred Karrer
40177dd52c
Refactor parser classes
- Use commitUTXOCandidates for processGenesisTxOutput
- Cleanup
2018-10-03 23:30:19 -05:00
Manfred Karrer
886272d6ce
Refactor parser classes
- Add check for opReturn in processTxOutput
- Handle burntBondValue
- Check for TxOutputType.INVALID_OUTPUT in isTxInvalid
2018-10-03 23:11:49 -05:00
Manfred Karrer
56b8a3986b
Refactor parser classes
- Remove tempTx from TxOutputParser
- Renamings
- Add isOpReturnOutput method to TempTxOuput
2018-10-03 22:28:31 -05:00
Manfred Karrer
c0d776e536
Fix wrong check for isVoteRevealInputValid 2018-10-03 21:45:49 -05:00
Manfred Karrer
248c5546be
Refactor parser classes
- Move unlockBlockHeight field from Tx to TxOutput
2018-10-03 21:31:26 -05:00
Manfred Karrer
097fa66c99
Refactor parser classes
- Add isUnLockInputValid to TxInputParser
- Continue to refactor to make methods more testable
- Clean up
2018-10-03 20:55:25 -05:00
Manfred Karrer
5df40f7e1f
Refactor parser classes
- Continue to refactor to make methods more testable
2018-10-03 20:13:16 -05:00
Manfred Karrer
7d14ab8376
Refactor parser classes
- Remove voteRevealInputState and replace with isVoteRevealInputInValid
in TxInputParser
- Rename optionalVerifiedOpReturnType to optionalOpReturnType
- Replace if checks with checkNotNull if case must not happen
- Remove unused isLastOutput param
- Inline handleOpReturnOutput code to processOpReturnOutput
- Remove class fields remainingInputValue and use a local var instead
- Rename getOptionalVerifiedOpReturnType to getOptionalOpReturnType
2018-10-03 19:03:43 -05:00
Manfred Karrer
744f0cc516
Refactor TxOutputParser
- Remove unneeded isLastOutput
- Rename bsqOutputs to tempTxOutputs
- Rename commitTxOutputs to commitTxOutputsForValidTx
2018-10-03 17:59:34 -05:00
Manfred Karrer
0c8d475c24
Improve string 2018-10-03 17:58:01 -05:00
Manfred Karrer
69210d9125
Fix missing updates of enum entries 2018-10-03 17:50:36 -05:00
Manfred Karrer
294c941512
Fix missing updates of enum entries 2018-10-03 17:34:40 -05:00
Manfred Karrer
e11e2b3c9e
Fix PB enum
As PB handles enums globally there must not be same entries in 2 diff.
enums. Therefore I postfixed with _OUTPUT 3 entries in TxOutputType.
2018-10-03 17:32:34 -05:00
Manfred Karrer
275286690b
Improve logs 2018-10-03 17:28:54 -05:00
Manfred Karrer
126d279e6e
Merge pull request #1718 from sqrrm/refactor-dao-parser
[WIP] Refactor dao parser
2018-10-03 17:10:13 -05:00
fotispap
c305a3cb03 Remove age from limitations of altcoin accounts 2018-10-03 22:26:50 +02:00
sqrrm
bc262460a1
Merge remote-tracking branch 'origin/master' into refactor-dao-parser 2018-10-03 10:51:49 +02:00
Manfred Karrer
d68f9b5474
Fix wrong validation checks on proposals and ballots
- We cannot validate the txType at startup as the blockchain is nto ready at that moment. So we cannot apply that validation when we receive the payloads. We do the validation instead at the access to the lists.
- We fix a glitch with missing cycle start time in ResultsOfCycle
- Cleanup in VoteResultView
2018-10-01 21:19:12 -05:00
Manfred Karrer
2de9c7282e
Make DaoFacade implement DaoSetupService
- Fixes a bug that the phaseProperty was not set in DaoFacade as the
class was instantiated on demand and missed updates.
2018-10-01 21:16:02 -05:00
Manfred Karrer
030dc0209b
Change btcd-cli4j to 3864e1c4 2018-10-01 12:17:40 -05:00
Manfred Karrer
b981737775
Change log msg with update to new btcd-cli4j 2018-10-01 12:17:28 -05:00
Manfred Karrer
7ac2a02279
Fix startHeight, handle errors 2018-10-01 11:39:45 -05:00
Manfred Karrer
6873d03216
Merge pull request #1735 from ManfredKarrer/master
Fixes and improvements
2018-09-29 12:27:04 -05:00
Manfred Karrer
012dab9ad2
Add isUnspent to JsonTxOutput 2018-09-28 19:58:03 -05:00
Manfred Karrer
3de2746834
Rename outputIndex 2018-09-28 19:49:36 -05:00
Manfred Karrer
54fc96a5d7
Update json classes for BSQ explorer 2018-09-28 19:34:08 -05:00
Manfred Karrer
dcd0ff5efd
Add tx validation for proposals 2018-09-28 14:53:27 -05:00
Manfred Karrer
1760094286
Handle reorgs 2018-09-28 14:52:59 -05:00