Commit graph

7881 commits

Author SHA1 Message Date
Devin Bileck
3683204446
Generate RPM package
An RPM package is now generated as part of the Linux packaging script.
The packaging script can be run on any Debian or Redhat based
system and will generate both a deb and rpm package.

Resolves https://github.com/bisq-network/bisq/issues/401
2019-01-04 00:59:48 -08: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
Manfred Karrer
d57f6ad3d2
Fix startup behaviour.
Call fillListFromProtectedStore and fillListFromAppendOnlyDataStore
at start. The listeners are not triggered as registered after we have
received the initial data. So we need to read the P2P network data at
the start method.
2019-01-03 14:00:19 +01:00
Manfred Karrer
abb34230a3
Change handling of addListeners and start calls
We add first all listeners at all services and then call the start methods.
Some services are listening on others so we need to make sure that the
listeners are set before we call start as that might trigger state change
which triggers listeners.

- Change order of ballotListService and proposalService to reflect
dependency.
2019-01-03 13:58:58 +01:00
Manfred Karrer
0b30b69355
Fix handling of case when no seed node is available.
In regtest we got incorrectly onNoPeersAvailable called if the first
seed node in our list was not available. It triggered a
onAllServicesInitialized and led to incorrect behaviour in case we
received data from the second seednode. One bug was that we did not
clone the remaining nodes list in the for loop which led that the list
was empty for each delayed call. The other bug was that we did not
check if there is another connection attempt open when we got a
connection fault from the not available seed.
2019-01-03 12:31:56 +01:00
Manfred Karrer
5c747d71d9
Use lambda 2019-01-03 10:51:41 +01:00
Manfred Karrer
a6a974ef5c
Remove final qualifier 2019-01-03 10:51:19 +01:00
Manfred Karrer
9f27fefe22
Add number of blocks in comment 2019-01-03 10:30:42 +01:00
Manfred Karrer
a7be0c4d31
Improve error logs 2019-01-03 10:16:26 +01:00
Devin Bileck
fd775eb128
Update linux packaging process
The 64bitBuild.sh script has been renamed to package.sh and has
been updated so that it is capable of performing the complete packaging
process without having to rely on the jar first being built and prepped
from the MacOS scripts. However, it does support having the jar
previously built and prepped and will look for a prepped jar in the
desktop/package folder. If not found, it will build and prep it
prior to packaging.

Additionally, the Bruntime option passed to javapackager is unnecessary and
has been removed. The Bruntime option is valid only when the -native
option is set to jnlp.

Also, the prepare-system.sh script was removed as it did not appear to be
doing anything useful.

Finally, a release.sh script has been added that will perform the
release process of copying necessary files to a versioned release folder
and generating/verifying signatures. Windows and MacOS packaged installers
should be copied to their appropriate package folders prior to
executing this script if they are to be included in this release
process, otherwise only the Linux files will be included.
2019-01-03 00:33:00 -08:00
Manfred Karrer
1b17109b6b
Add more logs 2019-01-03 00:23:33 +01:00
Manfred Karrer
cbc559c7ee
Only log warning if mainnet 2019-01-02 02:02:07 +01:00
Manfred Karrer
ccd90e763d
Add peer address to error log
- Add full toString method to Connection.SharedModel
2019-01-02 00:34:19 +01:00
Manfred Karrer
b48984c8f5
Add comment 2019-01-02 00:07:31 +01:00
Manfred Karrer
d35adf68ae
Comment out debug logs 2019-01-02 00:06:00 +01:00
Manfred Karrer
4c3a721535
Improve logging 2019-01-02 00:05:14 +01:00
Manfred Karrer
0dadc05233
Add toString methods 2019-01-02 00:04:55 +01:00
Manfred Karrer
b81909925d
Merge pull request #2161 from CaveSpectre11/list-gamblecoin-asset
List GambleCoin (GMCN)
2019-01-01 23:34:05 +01:00
Manfred Karrer
a960533524
Merge pull request #2185 from BravoIndia/patch-3
Update displayStrings.properties (error & bug report message)
2019-01-01 23:29:53 +01:00
Cave Spectre
c495118c47 #2134 - Focus color of buttons should be more saturated/darker not lighter 2018-12-31 12:02:36 -05:00
BravoIndia
48cf173b27
Update displayStrings.properties
Clarifying/correcting grammar of bug report message.
2018-12-31 16:17:05 +07:00
Manfred Karrer
d013e7d8a5
Merge pull request #2181 from freimair/monitor
Bisq Network Monitor: Babysteps
2018-12-30 11:05:57 +01:00
Florian Reimair
32650f13ac Merge branch 'ManfredKarrer-monitor-nits' into monitor 2018-12-30 10:56:18 +01:00
Florian Reimair
decd648a41 Merge branch 'monitor-nits' of git://github.com/ManfredKarrer/bisq into ManfredKarrer-monitor-nits 2018-12-30 10:44:41 +01:00
Florian Reimair
cfec7146a2 Merge branch 'master' into monitor 2018-12-30 09:52:10 +01:00