Commit graph

2458 commits

Author SHA1 Message Date
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
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
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
Manfred Karrer
9ced987c3d
Use a min. trial period of 30 days for asset listings 2018-11-30 16:49:16 +01:00
Manfred Karrer
7fefa1e5e7
Only check if data adn txType is valid in getAllValidBallots
Rename getValidAndConfirmedBallots to getAllValidBallots.
We cannot do a phase and cycle check as we are interested in
historical ballots as well.

Use warn level for logs in case data is missing and requested to
give more weight to those exceptional cases.
2018-11-30 16:04:16 +01:00
Manfred Karrer
44c62716d6
Add validation for ballots used for vote result 2018-11-30 15:20:10 +01:00
Manfred Karrer
a0cbfe4d58
Merge pull request #2002 from ripcurlx/ui-improvements
Redesign: UI improvements/fixes during release testing
2018-11-29 22:20:28 +01:00
Manfred Karrer
459893db88
Merge branch 'release-candidate-0.9.0' into bug-fixes-dao 2018-11-29 18:08:37 +01:00
Manfred Karrer
0c8b00e4bd
Merge branch 'master' into release-candidate-0.9.0 2018-11-29 18:07:52 +01:00
Christoph Atteneder
32fb8010cf
Add additional space 2018-11-29 17:01:00 +01:00
Christoph Atteneder
f380e8124b
Add additional space 2018-11-29 16:47:44 +01:00
Christoph Atteneder
c5d9bac8a6
Fix wrong resource key 2018-11-29 16:33:28 +01:00
Manfred Karrer
1b47e891ee
DAO bugfixes
- Only show active bonds in make proposal screen
- Check if ballot exists for evaluated proposals in result view
- Use available amount instead of genesis issuance at market cap
- Fix but with button handler for removing a proposal
- Cleanups
2018-11-29 13:40:48 +01:00
Christoph Atteneder
f26d9866d4
Add reference to tab instead of button. Fixes #1997. 2018-11-29 10:45:01 +01:00
The Blur Network
bf283dce10 Blur: Add instructions for GUI Wallet in pop-up
* Clarify existing instructions for CLI Wallet
* Provide instruction to retrieve information from GUI Wallet
* Ensure responsibilities are non-ambiguous with regard to burden of responsibility.
* Fix formatting with newlines
2018-11-28 18:00:20 -05:00
Manfred Karrer
eedc00f87a
Use rocketchat instead of slack as role 2018-11-28 21:43:43 +01:00
Manfred Karrer
0ef2ccd4e4
Add BSQ as default active assets 2018-11-28 21:43:21 +01:00
Manfred Karrer
91004065c9
Fix wrong text 2018-11-28 21:15:50 +01:00
Christoph Atteneder
eb876576d7
Get rid of hard coded strings in account payloads 2018-11-28 17:39:14 +01:00