Commit Graph

7749 Commits

Author SHA1 Message Date
Christoph Atteneder
9fce7e2d9d
Merge branch 'master' of github.com:bisq-network/bisq into update-windows-packaging-process
# Conflicts:
#	desktop/package/windows/Bisq.iss
2019-01-07 11:57:30 +01:00
Christoph Atteneder
5553b3b465
Merge pull request #2190 from devinbileck/update-linux-packaging-process
Update linux packaging process
2019-01-07 11:51:25 +01:00
Christoph Atteneder
b03e96821c
Change path structure to match new build process on Linux and Windows 2019-01-07 11:15:48 +01:00
Christoph Atteneder
6966047bc4
Fix wrong path of tools.jar 2019-01-07 11:15:14 +01:00
Christoph Atteneder
148cd30b39
Not clean up old installer of same version as it also deletes the new file on Ubuntu 2019-01-07 11:09:06 +01:00
Christoph Atteneder
dbb8483be0
Run file permission workaround properly for jar-already-exists use case 2019-01-07 10:58:26 +01:00
Christoph Atteneder
fcd7ae961b
Not run everything with root user 2019-01-07 10:56:51 +01:00
Christoph Atteneder
12db932d6e
Not override JAVA_HOME
Developer should configure this properly on its local machine before running the script
2019-01-07 10:55:45 +01:00
Christoph Atteneder
c985bf64c2
Merge pull request #2187 from CaveSpectre11/2134-focus-color
Focus color of buttons should be more saturated/darker (Issue #2134)
2019-01-07 08:59:50 +01:00
Christoph Atteneder
75e9e99d87
Merge pull request #2205 from j3ko/hotfix/take_offer
Update offer button state on account change
2019-01-07 08:51:40 +01:00
Manfred Karrer
3c8bdafd71
Merge pull request #2211 from devinbileck/configure-default-system-jdk
Configure default system JDK
2019-01-07 01:19:57 +01:00
Devin Bileck
04d7a6f7e2
Configure default system JDK
The install_java.sh script was not setting the appropriate java and
javac as default. This is not an issue if no other JDK is installed, but
if so it could cause the wrong JDK to be used. So it now sets the
appropriate default system JDK.

Also, added a comment at the top of the install_java.sh and
install_java.bat files indicating it configures the default system
JDK and informs the user how to go about selecting a different
default JDK if necessary.
2019-01-06 16:13:57 -08:00
Manfred Karrer
1c14b07fa1
Add null check 2019-01-06 13:05:46 +01:00
Manfred Karrer
3c08a2739f
Merge pull request #2178 from tau3/feature/refactor-ballot-service
Unit test for BallotListService
2019-01-06 04:06:03 +01:00
Manfred Karrer
a41b4a5ffc
Merge pull request #2199 from ManfredKarrer/dao-fix-performance-issue-at-parsing
Dao: Fix performance issue at parsing
2019-01-05 20:08:15 +01:00
Manfred Karrer
f832633593
Merge branch 'master' into dao-fix-performance-issue-at-parsing 2019-01-05 16:23:17 +01:00
Manfred Karrer
a3287ab0c2
Merge pull request #2195 from ManfredKarrer/dao-fix-vote-reveal-tx-publishing
Dao: fix vote reveal tx publishing
2019-01-05 16:22:42 +01:00
Manfred Karrer
4d8a348efb
Merge branch 'master' into dao-fix-vote-reveal-tx-publishing 2019-01-05 16:12:36 +01:00
Jeffrey Ko
50b41369ee
Update offer button state on account change
Add updateButtonDisabledState() to onPaymentAccountSelected() in
TakeOfferViewModel since changing the account dropdown in the take
offer screen does not trigger an update of the "Next Step" button.

The default amount of an offer should not change to less than what is
actually offered, change onPaymentAccountSelected() in
TakeOfferDataModel to take into account the min. amount offered.

In TakeOfferView, the payment account defaults to the last one
selected.  Make sure TakeOfferViewModel and TakeOfferDataModel take
this into account in a couple locations.
2019-01-05 00:07:08 +07:00
Manfred Karrer
f12ff5ce92
Adjust % value for offer price tolerance window
- There have been some reports that the 0,5% value is too narrow so we
increase it to 1%.
2019-01-04 13:50:38 +01:00
Manfred Karrer
39f3c6effe
Merge pull request #2191 from ManfredKarrer/dao-fix-late-proposals-processing
Dao: fix late proposals processing
2019-01-04 13:21:10 +01:00
Christoph Atteneder
d338564d00
Merge pull request #2198 from oscarguindzberg/freebitcoinj
Be able to upgrade bitcoinj without upgrading libdohj
2019-01-04 12:29:28 +01:00
Christoph Atteneder
4e5e58e595
Merge pull request #2165 from devinbileck/update-install_java.bat
Update install_java.bat
2019-01-04 12:10:45 +01:00
Christoph Atteneder
d1a5aaec3e
Merge pull request #2164 from devinbileck/update_windows_install_experience
Update windows install experience
2019-01-04 12:09:27 +01:00
Manfred Karrer
a8626025c2
Add db storage files 2019-01-04 00:32:20 +01:00
Manfred Karrer
0a5417b861
Add duration for batch parsing to logs 2019-01-04 00:08:00 +01:00
Manfred Karrer
930d7a79e3
Call onParseBlockComplete listeners only after onParseBlockChainComplete
To avoid performance issues we omit the listener calls at
onParseBlockComplete as long we are in the batch processing of blocks.
Without that optimization it took about 50 sec. for 4000 blocks, with it
we could reduce it to 4 seconds.
2019-01-04 00:07:35 +01:00
Manfred Karrer
c334018845
Change log level 2019-01-04 00:01:21 +01:00
Manfred Karrer
9ab941ff4a
Move logs and comments to 'if' clause 2019-01-03 23:33:30 +01:00
Manfred Karrer
2f9125a3db
Improve logs 2019-01-03 22:55:05 +01:00
Manfred Karrer
d23bb2cd18
Improve logs 2019-01-03 22:34:58 +01:00
Manfred Karrer
c87383a017
Refactorings 2019-01-03 22:34:47 +01:00
Manfred Karrer
c1792a3e7f
Ignore items if isBlindVoteInCorrectPhaseAndCycle is false.
If we get a voteReveal tx which was published too late we ignore it.
- Refactorings
- Improve logs
2019-01-03 22:34:13 +01:00
Manfred Karrer
0a9f4fc236
Remove phase and cycle check for vote reveal txs.
We do not check phase or cycle as a late voteReveal tx is considered
a valid BSQ tx. The vote result though will ignore such votes.

Add more log info.
2019-01-03 22:32:27 +01:00
Manfred Karrer
c137e7ec09
Refactor maybeRevealVotes method.
Add exception handling to revealVote
2019-01-03 22:31:14 +01:00
Manfred Karrer
ef37dc3256
Set chainTipHeight before parsing. 2019-01-03 22:30:25 +01:00
Oscar Guindzberg
f4a40ca6f6 Be able to upgrade bitcoinj without upgrading libdohj 2019-01-03 15:57:26 -03:00
Manfred Karrer
db439ce4e2
Merge pull request #2197 from oscarguindzberg/asset-dependency
Remove "pricenode" direct dependency on "assets"
2019-01-03 19:38:55 +01:00
Oscar Guindzberg
257a8627e6 Remove "pricenode" direct dependency on "assets"
It depends on "assets" already because it is a depencendy of "core"
2019-01-03 14:49:45 -03:00
Manfred Karrer
e70612dbfc
Merge branch 'master' into dao-fix-vote-reveal-tx-publishing 2019-01-03 17:50:33 +01:00
Manfred Karrer
31547048b9
Merge branch 'master' into dao-fix-late-proposals-processing 2019-01-03 17:50:05 +01:00
Manfred Karrer
aca24f290e
Merge pull request #2194 from freimair/netlayer063
Introduce netlayer release 0.6.3
2019-01-03 17:46:24 +01:00
Florian Reimair
bd0cf85f16 Introduce netlayer release 0.6.3 2019-01-03 17:11:21 +01:00
Manfred Karrer
4fd8490df1
Handle late vote reveal txs
If the phase and cycle for the vote reveal tx was missed we still
publish it but it is considered invalid. We do not throw an exception
but filter such txs away from the vote result evaluation.

We cannot use the strategy to unlock the BSQ from the vote tx in such a
case because the blind vote tx is already in the past and is not parsed
again (snapshot).
Alternatively we could have used a different tx type for the unlock
purpose but we prefer to keep such an exceptional case simple.
2019-01-03 16:44:39 +01:00
Manfred Karrer
00d0aa51e3
Use chain tip height for vote reveal tx publishing
- Use the chain tip height and not the current chain height in the
parsing to check if we are in the correct phase and cycle. Only
publish the tx if we are in the correct cycle.
2019-01-03 15:39:03 +01:00
Manfred Karrer
96581155e8
Add chainTipHeight property
- We want to know for the vote reveal service what is the latest block.
Currently that is not exposed in the DAO only in the BitcoinJ classes,
but we don't want to access it from there.
2019-01-03 15:37:44 +01:00
Manfred Karrer
ff22470262
Improve logging 2019-01-03 15:07:37 +01:00
Manfred Karrer
879d6d6c43
Merge pull request #2192 from ManfredKarrer/revert-netlayer-update
Revert to netlayer 0.6 because of an issue with seednodes
2019-01-03 14:55:49 +01:00
Manfred Karrer
975643aa56
Revert to netlayer 0.6 because of an issue with seednodes
If a seednode is using netwlayer version 0.6.2 (or 0.6.1) it is not
reachable from other nodes. Still unclear what causes that and if it
would affect also normal Bisq nodes, but to be careful we revert to
latest stable netlayer version which fixes the issue.
2019-01-03 14:18:57 +01:00
Manfred Karrer
c63ecb1ec3
Improve logging 2019-01-03 14:00:39 +01:00