Commit Graph

2172 Commits

Author SHA1 Message Date
Christoph Atteneder
99d5652aef
Merge pull request #4841 from jmacxx/fix_issue_4833
Prompt for confirmation before initiating SPV resync
2020-11-26 16:13:00 +01:00
Christoph Atteneder
4e4711a6f5
Merge pull request #4845 from jmacxx/fix_issue_4641
Show price deviation in portfolio open offers and history view
2020-11-26 15:33:50 +01:00
Christoph Atteneder
11b0a466ce
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.5.0
# Conflicts:
#	core/src/main/java/bisq/core/provider/fee/FeeService.java
#	core/src/main/resources/i18n/displayStrings.properties
#	seednode/src/main/java/bisq/seednode/SeedNodeMain.java
2020-11-25 14:05:37 +01:00
Christoph Atteneder
dbb0160a35
Revert to SNAPSHOT version 2020-11-25 13:46:24 +01:00
jmacxx
2e52b5472f
Show price deviation in portfolio open offers and closed trades
Fixes #4641
2020-11-24 23:03:53 -06:00
jmacxx
395af3c4c8
Prompt for confirmation before initiating SPV resync
Allows user to back off if invoked by accident.
2020-11-23 11:37:31 -06:00
chimp1984
9360e89ae8
Check if user has downgraded to an older version. If so require shutdown
and do not read or write persisted data.

We had recently a case where a user downgraded from 1.4.2 to 1.3.9 and
this caused failed trades and the wallet funds have been missing due to
some complexities of the wallet wegwit upgrade. The fund could be recovered
but it took quite some effort.
As downgrade is never tested and can lead to all kind of weird bugs we
should prevent that users accidentally can do it.
If there is valid reason to downgrade they can remove the version file.
2020-11-20 15:27:50 -05:00
chimp1984
df9ef80edf
Avoid nullpointer 2020-11-20 15:10:39 -05:00
Christoph Atteneder
77aab8a97c
Add error log to get more information on the actual problem 2020-11-19 16:51:45 +01:00
Christoph Atteneder
29b2c33222
Merge pull request #4814 from jmacxx/improve_account_aging_column
Improve UI/UX for account aging column in 'Offers' section of GUI
2020-11-18 10:41:10 +01:00
chimp1984
fa0c28adf6
Add requestPersistence calls
We relied on the shutdwon routine to be called reliably but it seems that is not the case as some bug reports show.
So we call requestPersistence at every write access of the trade object
2020-11-17 22:35:51 -05:00
chimp1984
bf2c94160f
Add delay between remove and add new filter
We saw that some seed nodes have 2 filters after filter update.
This should not be the case as the remove is broadcast before the
add but seems there is some issue in the P2P storage which does
not cover that correctly.
By adding a 5 sec delay between the remove and add we mitigate
that issue, though should be fixes in the P2P layer but that
will be a more complex and larger effort.
2020-11-17 20:14:44 -05:00
jmacxx
f7fac0f3c4
code review change: curlies & whitespace for if statement 2020-11-16 16:15:57 -06:00
jmacxx
dd26077caa
Improve UI/UX for account aging column in 'Offers' section of GUI
Showing 'x' days until limits lifted (signed, pending)
Showing clock icon (signed, pending)
Showing outlined check icon (aging accounts)
Showing account age (unsigned or aging)
Changed column name from 'Signed since' to 'Account info'

Fixed bug when switching between altcoins and fiat order books
the account info column was being added back to the table in
the wrong position.
2020-11-16 10:44:01 -06:00
Christoph Atteneder
3e5bf90bdd
Update release process to match new trade statistics delivery
Also did some minor release process cleanup that was overdue
2020-11-13 12:29:29 +01:00
chimp1984
a238c205ab
Add Amazon eGift Card payment method 2020-11-13 00:26:23 -05:00
Deus Max
b9f49f75d3
Improve view of market offers chart
* Both axes use autoRange, which results in better
    rounded values for the tick mark labels numbers.
  * Filter-out data outside the factor limits.
  * New constant chartDataFactor for factor limits.
  * Formatted tick label currency numbers:
    - Fiat: display with grouping separators
    - Cryptos: remove trailing zeros in fractional parts
  * Add CSS class axisy for y-axis formatting.
2020-11-12 14:35:20 +01:00
Christoph Atteneder
50c7d6c126
Merge pull request #4774 from deusmax/market_offers_chart
Market Offers chart modifications
2020-11-12 14:34:39 +01:00
Christoph Atteneder
34c802d505
Merge pull request #4780 from jmacxx/fix_issue_4719
Add encrypted wallet password prompt when sending funds from BSQ wallet
2020-11-12 09:06:27 +01:00
sqrrm
24102556e0
Merge pull request #4769 from ripcurlx/update-release-process
Update release process to match new trade statistics delivery
2020-11-11 12:39:41 +01:00
Christoph Atteneder
c707e63f35
Merge pull request #4781 from chimp1984/use-30-day-average-for-marektcap
Use 30 days average USD/BSQ price for market cap
2020-11-11 11:10:54 +01:00
Christoph Atteneder
7701ad35d3
Update release process to match new trade statistics delivery
Also did some minor release process cleanup that was overdue
2020-11-11 10:55:00 +01:00
Christoph Atteneder
0c47cf0e20
Merge pull request #4764 from jmacxx/fix_issue_4727
Don't allow trade start if BitcoinJ is not fully synced
2020-11-11 10:44:07 +01:00
jmacxx
48a515be01
Add encrypted wallet password prompt when sending funds from BSQ wallet
Correct wording of transaction confirmation popup to use 'mining fee'
instead of 'transaction fee' to make it consistent with wording of
the BTC confirmation popup.
2020-11-10 20:14:44 -06:00
chimp1984
9135397ded
Use 30 days average USD/BSQ price for market cap 2020-11-10 20:51:13 -05:00
Deus Max
c9936c5595
Improve view of market offers chart
* Both axes use autoRange, which results in better
    rounded values for the tick mark labels numbers.
  * Filter-out data outside the factor limits.
  * New constant chartDataFactor for factor limits.
  * Formatted tick label currency numbers:
    - Fiat: display with grouping separators
    - Cryptos: remove trailing zeros in fractional parts
  * Add CSS class axisy for y-axis formatting.
2020-11-10 22:27:04 +02:00
jmacxx
0ddd333ce6
Don't allow trade start if BitcoinJ is not fully synced
Adds a check that chain height is within 3 blocks of the reported
height from bitcoin peers -> if not the user cannot take an offer
or have an existing offer taken.  It shows a message informing the
user that Bisq is not currently synced, advising them to do an
SPV resync if necessary.

Additionally under Settings/Network a field has been added
to show the chain height of Bisq vs the Peer group.

Added after discussion with chimp1984:
- Correct initialization of chainHeight property
- Rename "Latest BTC block height" display field for clarity
- Enforce chain sync rule for Take Offer scenario
- Enforce chain synch rule for Check offer availability scenario
- change method name to be clearer
2020-11-10 14:15:39 -06:00
chimp1984
b5f88c4932
Check if output is a legacy address.
Remove `sendToAddress != null` check.
2020-11-10 11:11:42 -05:00
chimp1984
7c65000ff2
Cleanups, add null check 2020-11-10 10:16:48 -05:00
Christoph Atteneder
f6a2f3d6e1
Merge pull request #4761 from deusmax/trading_charts_axisY
Apply format to trading charts axis Y values
2020-11-10 08:45:33 +01:00
Oscar Guindzberg
c4131c7398
Rename "tx size" to "tx vsize" 2020-11-05 19:28:45 -03:00
Deus Max
3743b87ac0
Remove trailing zeroes from crypto y-axis tick labels.
The y-axis tick mark labels for crypto (non-fiat)
currencies have a large number of trailing zeroes.
This commit removes the last 3 zeroes from the display.
2020-11-05 22:06:26 +02:00
Oscar Guindzberg
29f23fe50c
Use segwit tx sizes 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
b2023e2366
Use tx.getVsize()
Replace tx.bitcoinSerialize().length
2020-11-05 11:51:43 -03:00
Oscar Guindzberg
06e5091f79
TradeWalletService use P2WSH 2020-11-05 11:47:40 -03:00
Christoph Atteneder
66fcde11bf
Bump version number for v1.5.0 2020-11-05 11:34:40 +01:00
Deus Max
1ab7e26fd1
Format fiat currency tick mark label on Y-axis.
Format currency tick values as integers for a more
compact form, without the 4-zeroesfractional part.
2020-11-05 00:24:49 +02:00
Christoph Atteneder
63cae1ceb1
Merge pull request #4745 from chimp1984/fix-bug-with-reading-historical-data
Fix bug with reading historical data
2020-11-03 21:56:05 +01:00
chimp1984
1270c8fdaf
Remove unused field 2020-11-03 11:46:25 -05:00
Christoph Atteneder
8fe8261a1e
Clean up code 2020-11-03 15:42:46 +01:00
Luis Aranguren
ecf9d49f65
Resolve conflicts with master 2020-11-03 15:42:23 +01:00
Christoph Atteneder
00725cff7d
Merge pull request #4740 from deusmax/trading_charts_axes
Center align tick marks text for trading charts
2020-11-03 09:33:45 +01:00
Christoph Atteneder
63352496ff
Merge pull request #4739 from chimp1984/hide-proposal-delete-button
Hide proposal delete button
2020-11-03 09:06:19 +01:00
Deus Max
9034c780c9
Add CSS class to axis tick label text.
New method addTickMarkLabelCssClass to grab the
axis tick label and add a CSS class to it.

Signed-off-by: Deus Max <deusmax@gmx.com>
Acked-by: Deus Max <deusmax@gmx.com>
2020-11-02 22:27:28 +02:00
chimp1984
fc928f7c01
Refactoring: Rename IconButtonTypes to IconButtonType 2020-11-02 13:53:30 -05:00
chimp1984
4513cfa390
Hide remove button at ProposalsView
We have a bug in removing a proposal which is not trivial to fix
(p2p network layer). Until that bug is fixed
it is better to not show the remove button as it
confused users and a removed proposal will reappear with a
high probability at the vote phase.
2020-11-02 13:53:02 -05:00
Christoph Atteneder
3d7273883c
Merge pull request #4733 from jmacxx/edit_explorer_details
Allow user-defined block explorers
2020-11-02 19:23:48 +01:00
sqrrm
e082ac667e
Merge pull request #4715 from deusmax/trading_charts_axes
Cleaner formatting for trading charts date axes
2020-11-02 17:38:02 +01:00
sqrrm
f03be6ad3d
Merge pull request #4628 from chimp1984/improve-read-file-handling
Use a thread in PersistenceManager for reading persisted files instead of using threads in client code
2020-11-02 17:36:21 +01:00
sqrrm
84ac65b163
Merge pull request #4731 from ghubstan/19-sqrrm-pr-changes
Resolve issues found in reviewed PRs 4699, 4703, 4711 [, ...]
2020-11-02 15:32:07 +01:00