Commit graph

8989 commits

Author SHA1 Message Date
Christoph Atteneder
0ffc93a091
Bump version number 2019-04-02 17:13:04 +02: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
21e63066af
Revert to SNAPSHOT versions 2019-04-02 11:21:11 +02:00
Christoph Atteneder
fb3c8c214e
Bump version number 2019-04-02 11:19:03 +02: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
Christoph Atteneder
6e2aaecfe7
Merge pull request #2614 from ManfredKarrer/add-missing-check-for-mandatory-bsq-output
Add missing check for mandatory bsq output
2019-04-02 09:35:10 +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
e86238d840
Remove unneeded db files, add trade stats 2019-04-01 13:48:12 -05:00
Manfred Karrer
b0a2626743
Rename Bitcoin DAO Testnet to Bitcoin DAO Regtest 2019-04-01 13:44:57 -05:00
Christoph Atteneder
38728a1132
Update DBs 2019-04-01 15:43:53 +02:00
Manfred Karrer
bbcfd6d9dc
Merge pull request #2606 from ripcurlx/make-new-offer-translatable
Make create offer label cases easier to translate
2019-04-01 08:02:10 -05:00
Christoph Atteneder
2942425d4c
Make create offer label cases easier to translate 2019-04-01 11:51:47 +02:00
Manfred Karrer
3854907c14
Merge pull request #2587 from ManfredKarrer/add-check-for-bsq-balance
Add irregular txType, add check for total balance, prevent proposal withhold attack
2019-03-31 18:01:03 -05:00
Manfred Karrer
f95f770218
Update witness file 2019-03-31 17:54:51 -05:00
Manfred Karrer
0e2bb14683
Break up lines 2019-03-31 17:43:14 -05: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
e624625bbb
Fix missing close handler and avoid nullPointer exception 2019-03-31 15:46:09 -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
d422a732e7
Handle merits better
We did not update the merit correctly in case there was no proposal
selected.
2019-03-30 16:58:28 -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
c8762694d3
Merge pull request #2602 from oscarguindzberg/use-latest-bitcoinj
Use the latest bisq's bitcoinj (00298b1)
2019-03-29 21:23:34 -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