Manfred Karrer
d81498dc01
Remove date and DateTolerantPayload interface from BlindVotePayload
2019-04-06 21:49:18 -05:00
Manfred Karrer
e93284292c
Rename DaoStateStore3 db file to DaoStateStore
2019-04-06 21:46:40 -05:00
Manfred Karrer
a6a0c6ec70
Remove DAO testing feedback window
2019-04-06 21:39:42 -05:00
Manfred Karrer
9b3755cf84
Set Mainnet test genesis tx
2019-04-04 17:37:25 -05:00
Manfred Karrer
a6ec41aaeb
Set dao activated by default
...
We still keep the activation code just in case...
We can clean it up in a later release
2019-04-04 17:06:33 -05:00
Manfred Karrer
e0e1472fac
Merge pull request #2635 from ripcurlx/fix-wrong-crypto-name-in-removed-cryptos
...
Change wrong name for Siacoin in removed crypto list
2019-04-04 10:14:26 -05:00
Christoph Atteneder
b30f166e92
Add information of Satoshis needed for coloring
2019-04-04 13:19:30 +02:00
Christoph Atteneder
383043e932
Change wrong crypto name for Siacoin in removed crypto list
2019-04-04 11:15:36 +02:00
Devin Bileck
2c001ad099
Fix incorrect required BSQ amount in warning text
...
When submitting a proposal with insufficient BSQ balance, the warning
message showed an incorrect required BSQ amount. The amount needed to be
divided by 100 (1 BSQ = 100 satoshis).
2019-04-03 15:17:04 -07:00
Manfred Karrer
3b16d508f4
Change log level
2019-04-03 12:22:59 -05:00
Manfred Karrer
8d22d7b926
Improve error message
...
See https://github.com/bisq-network/bisq/issues/2620
https://github.com/bisq-network/bisq/pull/2614#discussion_r271290565
2019-04-02 19:25:34 -05:00
Christoph Atteneder
4bbbb63c68
Merge pull request #2616 from ManfredKarrer/fix-percentage-rounding-bug
...
Fix wrong precision value
2019-04-02 16:51:36 +02:00
Manfred Karrer
339198bb45
Fix wrong precision value
...
Fixes https://github.com/bisq-network/bisq/issues/2615
2019-04-02 09:42:39 -05:00
Christoph Atteneder
8b2396e7e2
Use pt translation instead of incomplete pt_BR one
2019-04-02 10:12:45 +02:00
Christoph Atteneder
9d4c60b1e0
Update translations
2019-04-02 09:51:20 +02:00
Manfred Karrer
54f1a9ff5f
Only require change output for issuance proposals
2019-04-01 21:39:37 -05:00
Manfred Karrer
69a2a04546
Add check for mandatory BSQ output for compensation tx
...
Fixes https://github.com/bisq-network/bisq/issues/2613
If the user has the exact fee in his wallet no BSQ change output would
be created but that violates our requirement for compensation or
reimbursement txs.
Beside that the error message for dust outputs was not clear.
2019-04-01 21:33:11 -05:00
Manfred Karrer
6387cfa5bf
Refactoring: rename local variable
2019-04-01 21:23:00 -05:00
Manfred Karrer
eaeef7ab2d
Improve error message
...
See: https://github.com/bisq-network/bisq/issues/2613
2019-04-01 20:08:03 -05:00
Manfred Karrer
a3caa56709
Remove https for betanet and testnet explorers
...
- as the redirect does not work correctly with https
2019-04-01 17:53:49 -05:00
Manfred Karrer
70a3b30d49
Remove https for betanet and testnet explorers
...
- as the redirect does not work correctly with https
2019-04-01 16:48:38 -05:00
Manfred Karrer
d97de92dcd
Remove 2 dao testnet seeds
...
- I plan to shut them down soon after launch. I will leave 2 still
running for a few days after that...
2019-04-01 13:50:44 -05:00
Manfred Karrer
b0a2626743
Rename Bitcoin DAO Testnet to Bitcoin DAO Regtest
2019-04-01 13:44:57 -05:00
Christoph Atteneder
2942425d4c
Make create offer label cases easier to translate
2019-04-01 11:51:47 +02:00
Manfred Karrer
e9e4b49014
Add number of irregular txs to UI
2019-03-31 17:41:59 -05:00
Manfred Karrer
4d56ce9a10
Apply ExtraDataMapValidator for all extraDataMap fields
2019-03-31 17:35:14 -05:00
Manfred Karrer
dad4b04093
Update comment
2019-03-31 17:31:53 -05:00
Manfred Karrer
30a710f179
Cleanup
2019-03-31 16:30:35 -05:00
Manfred Karrer
e74ce128b3
Improve comments, cleanup
2019-03-31 16:28:34 -05:00
Manfred Karrer
431f76e058
Add BTC_DAO_TESTNET
2019-03-31 16:11:00 -05:00
Manfred Karrer
fa3ec340fa
Merge branch 'master' into add-check-for-bsq-balance
...
# Conflicts:
# core/src/main/resources/i18n/displayStrings_de.properties
# core/src/main/resources/i18n/displayStrings_el.properties
# core/src/main/resources/i18n/displayStrings_es.properties
# core/src/main/resources/i18n/displayStrings_fa.properties
# core/src/main/resources/i18n/displayStrings_fr.properties
# core/src/main/resources/i18n/displayStrings_hu.properties
# core/src/main/resources/i18n/displayStrings_pt.properties
# core/src/main/resources/i18n/displayStrings_ro.properties
# core/src/main/resources/i18n/displayStrings_ru.properties
# core/src/main/resources/i18n/displayStrings_sr.properties
# core/src/main/resources/i18n/displayStrings_th.properties
# core/src/main/resources/i18n/displayStrings_vi.properties
# core/src/main/resources/i18n/displayStrings_zh.properties
2019-03-31 16:09:53 -05:00
Manfred Karrer
c7bd2ee4b8
Add BTC_DAO_TESTNET again to keep supporting current dao testnet
...
- It is more safe to separate the BTC_DAO_TESTNET and BTC_DAO_REGTEST
by the network ID as that prevents on the P2P network layer that the
network could interconnect. We would have risked that we receive network
data from the other network as users would use the persisted peers for
connections.
2019-03-31 15:55:55 -05:00
Manfred Karrer
73db81a34f
Add more validation
...
- Check max length of strings and byte arrays
- Check that tx ID has 64 chars
- Add ExtraDataMapValidator for validating extraDataMap fields
2019-03-31 15:49:37 -05:00
Manfred Karrer
122bc80cdd
Use null instead of empty string for txId
2019-03-31 15:47:21 -05:00
Manfred Karrer
fe646e5436
Add string validations
2019-03-31 13:37:55 -05:00
Manfred Karrer
d5fc7cb97e
Use burnedBsq field in Tx for burnedFee and invalidatedBsq
...
In case of an invalid tx we burn all available BSQ input. We only know
that at parsing time. We renamed the burntFee field to burntBsq to make
it more generic and use it for the burnt fee in case if a normal tx and
as invalidatedBsq in case of an invalid tx.
2019-03-30 19:35:12 -05:00
Manfred Karrer
823cec086c
Improve handling fo p2p network data broadcasts
2019-03-30 18:45:58 -05:00
Manfred Karrer
69b134b99e
Refactoring: Rename method
2019-03-30 16:57:47 -05:00
Manfred Karrer
e2d9fe1b5f
Fix comment
2019-03-30 16:53:55 -05:00
Manfred Karrer
b39c8bed41
Refactoring: Rename method
2019-03-30 16:53:33 -05:00
Manfred Karrer
1e6f0bf8e9
Refactoring: Rename method
2019-03-30 16:53:07 -05:00
Manfred Karrer
a71a573dd9
Add better comments, cleanup
2019-03-30 16:51:55 -05:00
Manfred Karrer
a28805b983
Use onParseBlockCompleteAfterBatchProcessing to avoid sequence issues
...
When using onParseBlockChainComplete and
onParseBlockCompleteAfterBatchProcessing the
onParseBlockCompleteAfterBatchProcessing is called earlier as
onParseBlockChainComplete which caused incorrect state update in the UI.
2019-03-30 16:02:20 -05:00
Manfred Karrer
d5c7e0a660
Improve Merit handling
...
- We add a filter to the getMeritStake method to avoid an exception at
getWeightedMeritAmount which would set merits to 0 in case the issuance
height blind would be larger than the vote height. I saw that error log
but could not reproduce it afterwards. It basically protects that we do
not add the issuance of the current cycle to the merit used in the
blind vote of that cycle.
- We add 1 block in the getCurrentlyAvailableMerit method to get the
same merit value if the blind vote was included in the next block.
2019-03-30 16:01:08 -05:00
Manfred Karrer
4b11e582a8
Set MAINNET_GENESIS_TOTAL_SUPPLY of old mainnet genesis
2019-03-30 15:55:38 -05:00
Manfred Karrer
bec73dce53
Add popup in case the utxo balance does not match the bsq balance
2019-03-29 19:42:56 -05:00
Manfred Karrer
a08b91055e
Add support for displaying burned BSQ from invalid txs
2019-03-29 19:42:32 -05:00
Oscar Guindzberg
fcbbec6497
Use the latest bisq's bitcoinj (00298b1)
2019-03-29 20:38:13 -03:00
Manfred Karrer
30059ebb44
Cleanup
2019-03-29 14:29:55 -05:00
Manfred Karrer
bb7ff47d9a
Add random delay for proposalPayload publishing
...
We want to avoid that all nodes publish at the same time all proposals,
so we add a random delay from 100 ms - 5 sec.
A more sophisticated protection would be probably good but that delay
should help to avoid network spikes and is simple enough to not add
risks that the publishing would fail.
2019-03-29 13:42:19 -05:00