Commit graph

2474 commits

Author SHA1 Message Date
Steve Jain
c433663808
Change customer service text 2018-12-10 18:36:06 -05:00
Steve Jain
1739034b3d
Refine various ui strings 2018-12-10 18:04:27 -05:00
Manfred Karrer
57f66f35a3
Add more logs 2018-12-10 14:33:01 +01:00
sqrrm
cb26398b43
Update core/src/main/java/bisq/core/dao/node/full/FullNode.java
Co-Authored-By: ManfredKarrer <mk@nucleo.io>
2018-12-09 19:43:08 +01:00
Manfred Karrer
53a050ab24
Add missing param 2018-12-09 14:34:57 +01:00
Manfred Karrer
f27918c28a
Handle RPC errors
- Trigger apply from snapshot if rpc error is detected
- Add warn handler to show only warning msg instead of error msg if
btc full node is not running in full mode
2018-12-09 14:32:16 +01:00
Manfred Karrer
a27391da16
Merge branch 'master' into handle-rpc-errors 2018-12-09 13:41:21 +01:00
Manfred Karrer
cad0156617
Update btcd-cli4j to 0.5.8.4 (commit hash 065d3786)
- Log btcd-cli4j version
- Update witness
- Update findbugs to 3.0.2
2018-12-09 13:38:08 +01:00
Manfred Karrer
6050bd5ea0
Map error handler to user thread 2018-12-08 18:39:15 +01:00
Manfred Karrer
fb4c865647
Handle RPC errors 2018-12-08 15:37:56 +01:00
Manfred Karrer
2e4b8ea389
Merge pull request #2094 from sqrrm/voting-ui-fixes
Voting ui fixes
2018-12-08 14:48:42 +01:00
sqrrm
91f14f7faf
Show remove column header during proposal phase 2018-12-08 13:13:45 +01:00
Manfred Karrer
f9afcdc0c2
Add check if block exists in list 2018-12-08 00:36:48 +01:00
Manfred Karrer
9b974cfa9b
Merge branch 'master' into DAO_improve-reorg-handling 2018-12-08 00:35:10 +01:00
Manfred Karrer
79c573640a
Add log for trade price 2018-12-07 21:16:13 +01:00
Manfred Karrer
fd2d2fd1d8
Merge pull request #2090 from freimair/remove-defaults
Surgical fix to default command line parameters
2018-12-07 20:51:07 +01:00
Florian Reimair
e9ca340ccb surgically fixes #2048, fixes #2084 2018-12-07 19:45:19 +01:00
Manfred Karrer
66df9692e9
Merge pull request #2081 from freimair/stream-isolation
Stream isolation for Tor
2018-12-07 18:23:01 +01:00
Florian Reimair
14ef76124c Mark --torStreamIsolation experimental 2018-12-07 10:12:30 +01:00
sqrrm
d3498ade5c
Add header to my vote icon column 2018-12-06 23:24:09 +01:00
Florian Reimair
fdd6e7186c Stream-isolation for Tor available 2018-12-06 21:25:51 +01:00
Manfred Karrer
913bc41928
Decrease the tolerance window for offers 2018-12-06 17:50:57 +01:00
Manfred Karrer
9389a8e1fa
Update checkpoint files
We used checkpoint files from BitcoinJ 0.14.4 and those caused a very
slow initial download. I tested with the WalletAppKit and different
release version sof BitcoinJ and could reproduce the behaviour there.
WIth v0.14.5 it was much better. But also that caused slow startup in
Bisq. After creating a current checkpoint file and using that the
download is now very fast.

Also added logging for versions of BitcoinJ and libDohJ so that we have
better control which version is used.
2018-12-06 02:22:58 +01:00
Manfred Karrer
92c852b601
Use only first block in pendingBlocks instead of iteration 2018-12-05 20:33:12 +01:00
Manfred Karrer
806fcbe7c0
Merge pull request #2062 from ripcurlx/left-align-columns
Left align columns, except last one
2018-12-05 20:24:22 +01:00
Manfred Karrer
d0bda91791
Merge pull request #2063 from cbeams/fix-base-currency
Fix base currency option handling
2018-12-05 18:04:06 +01:00
Chris Beams
b122ff4104
Fix base currency option handling
This change fixes #2048 by removing the assignment of a default value
for the `baseCurrencyNetwork` option at the level of the command line
option parser. The assignment of this default was an oversight in #1961
(specifically commit 83e1dd3) that did not account for the fact that
users can change the `baseCurrencyNetwork` value via the Settings screen
in the application. When users change the setting in the application, the new
value is persisted to <appDataDir>/bisq.properties, which is handled at
runtime as a PropertySource with lower precedence than the command line
property source, which means that the changed value is never picked up
because the higher-precedence command line PropertySource always has a
default value.

This fix is surgical in that it addresses only this specific option. A
subsequent change should address the more general issue that setting
defaults in the command line option parser always precludes the
possibility of overriding them in bisq.properties. Basically, we should
revert to the previous strategy of reporting what the default value will
be in the help text without actually assigning a default value in the
option parser using the `defaultsTo` method.
2018-12-05 15:29:35 +01:00
Christoph Atteneder
9b7b0cf8be
Left align all columns, except last one (right-aligned)
Last columns with avatars or icons are centered
Use IBM Sans in columns
2018-12-05 14:48:32 +01:00
Manfred Karrer
397772f5d0
Fix tests 2018-12-05 02:38:56 +01:00
Manfred Karrer
c0d2d534bc
Fix reorg issues
In case of reorgs there are several scenarios:
1. We have no snapshot yet: We start from genesis again
2. We have a snapshot and go back to that: We use last snapshot
3. We have a snapshot but the reorg does deeper so our last block in the
snapshot is invalid as well: -> we go back to genesis

There are many edge cases

There was one important bug fix with a == instead of an equals
comparison.

Added also the check that the first block need to be the genesis block.

Unfortunately the chainHeight is set to the genesis height initially
which is not right (should be 0 as we dont have any block and therefore
no chainHeight). To change that will be a bit risky, but for mainnet we
should consider it. There are several usages where a change might break
stuff, for instance the parameter handling.
2018-12-05 02:12:38 +01:00
Manfred Karrer
a42f91707e
Add and rename exception 2018-12-05 00:39:12 +01:00
Manfred Karrer
547c4f0ff6
Add better comment for opReturn data errors 2018-12-04 13:16:00 +01:00
Christoph Atteneder
ee30a89892
Update translations 2018-12-03 12:43:09 +01:00
Devin Bileck
f3799187cc
Handle cli-output_windows.txt with CRLF line endings
On Windows, it is likely that cli-output_windows.txt will have CRLF line
endings since core.autocrlf is normally true which converts LF endings
to CRLF on checkout. This causes BisqHelpFormatterTest to fail since
the actual content it is compared against uses LF endings.

As a result, when loading the cli-output_windows.txt file normalize
line endings to LF.
2018-12-02 22:36:00 -08:00
Manfred Karrer
4f10ef4287
Republish DAO data with < 4 peers for testnet or regtest 2018-12-02 23:05:59 +01:00
Manfred Karrer
d4729751e8
Fix handling of reorgs
- apply snapshot in case of a reorg and if the snapshot is still empty.
Set chain height to genesis height.
- Handle case if cycles are empty
- Add checks for getLast for linked lists
2018-12-02 22:31:38 +01:00
Manfred Karrer
8add4903fb
Fix testnet genesis tx height 2018-12-02 20:31:41 +01:00
Manfred Karrer
c4145b8312
Set new testnet genesis tx, increase DAO periods 2018-12-02 19:48:46 +01:00
Manfred Karrer
42e0d410d2
Detect if DAO full node has no BTC core running
If DAO full mode is used Bitcoin core need to be running. If not an RPC
exception is thrown. We detect that and show a popup with instructions.
2018-12-02 18:12:45 +01:00
Manfred Karrer
2ba21f0277
Update display string 2018-12-02 14:24:37 +01:00
Manfred Karrer
fe458bce12
Don't use tor for BitcoinJ if testnet 2018-12-02 13:36:47 +01:00
Manfred Karrer
5b3d521e36
Imprve text and actiavte chainSyncIndicator when not synced 2018-12-02 01:18:58 +01:00
Manfred Karrer
86f44c7a64
Use en_US if default locale has no country defined.
On some systems there is not country defined, in that case we use en_US
2018-12-01 01:15:17 +01:00
Manfred Karrer
d929128652
Merge branch 'master' into release-candidate-0.9.0 2018-11-30 23:08:52 +01:00
Manfred Karrer
289b263d84
Fix log path
Resolving the property from the bisqEnvironment via getProperty returns
the default value instead of the program argument value. Not sure why,
seems to be related to recent changes in the property handling.
2018-11-30 21:50:32 +01:00
Manfred Karrer
ddc2385829
Update testnet seed nodes 2018-11-30 21:12:58 +01:00
Manfred Karrer
54b6590ded
Fix new testnet genesis tx 2018-11-30 18:06:03 +01:00
Manfred Karrer
3c6342f4d6
Merge branch 'release-candidate-0.9.0' into bug-fixes-dao 2018-11-30 17:36:30 +01:00
Manfred Karrer
1ff5a55b27
Add new testnet genesis tx 2018-11-30 17:35:24 +01:00
Manfred Karrer
d8c553ca4e
Add phases for testnet 2018-11-30 17:03:12 +01:00