Commit graph

12923 commits

Author SHA1 Message Date
ghubstan
c1c099c832
Implement and test api method 'getunusedbsqaddress'
- Added new method to CLI, split some long msg strings into two lines,
  and added a white space after a braceless else statement.

- Added the gRPC server boilerplate.

- Added the core implementation.

- Added a test, and moved method wallet tests into their own package.
2020-11-13 12:40:16 -03:00
ghubstan
9f033ee572
Add proto fields to support trade fee currency choice
This change adds proto support for paying maker fees in bsq or btc.
The implementation will come in a future PR.

- Added makerFeeCurrencyCode field to CreateOfferRequest proto.

- Added isCurrencyForMakerFeeBtc field to OfferInfo proto wrapper.

- Add takerFeeCurrencyCode field to TakeOfferRequest proto.
2020-11-13 12:03:15 -03:00
ghubstan
3e98910cc6
Define proto fapi method 'sendbsq'
This change adds the proto to support a future api implementation for
transfering bsq.
2020-11-13 11:44:42 -03:00
ghubstan
4c03b463fe
Define proto for api method 'getunusedbsqaddress'
This change adds a proto to support a future api implementation for
getting an unused, bsq funding address.
2020-11-13 11:35:06 -03:00
ghubstan
faf45ec301
Add proto wrappers for serving bsq, btc or all balances
This change adds proto wrappers for sending bsq, btc, or all balances
to the CLI.  They will be used in future api method implementations:
getbsqbalance, getbtcbalance and getbalances.
2020-11-13 11:24:08 -03:00
ghubstan
fc8af8c072
Define new grpc bsq/btc balances protos
This change adds proto serivces and messages to support new api
implementations for serving bsq, btc or all wallet balances.

- RPC GetBsqBalances will return complete BSQ balance info.
- Message BsqBalanceInfo is proto returned by rpc GetBsqBalances.

- RPC GetBtcBalances wil return complete BTC balance info.
- Message BtcBalanceInfo is proto returned by rpc GetBtcBalances.

- RPC GetBalances returns complete BTC and BSQ balance info.
- Message BalancesInfo is proto returned by rpc GetBalances.

RPC GetBalance remains unchnaged, still returns only the available
BTC balance.  It may be deprecated and removed in a future PR.
2020-11-13 11:01:02 -03:00
Christoph Atteneder
61c8d55a6f
Merge pull request #4791 from wiz/remove-legacy-bsq-explorers
Remove legacy BSQ explorers
2020-11-13 14:07:02 +01:00
Christoph Atteneder
c7c218e1d2
Merge pull request #4790 from wiz/disable-wiz-monero-explorer
Temporarily disable wiz's monero explorer node
2020-11-13 13:43:07 +01:00
wiz
5a08c8b7ba
Remove legacy BSQ explorers 2020-11-13 21:29:36 +09:00
wiz
c2baf3fa7d
Temporarily disable wiz's monero explorer node
Will re-enable later after making a new monero node on a new server
2020-11-13 21:03:30 +09: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
64fd3a607a
Merge pull request #4782 from sqrrm/cleanup-signed-witness
Refactor trade limit check
2020-11-12 09:38:03 +01:00
Christoph Atteneder
def2b7cc68
Merge pull request #4783 from m52go/account-limits-text
Adapt account limits language for 1.5.0
2020-11-12 09:30:51 +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
m52go
adc58bf4d8
Adapt account limits language for 1.5.0 2020-11-11 10:14:19 -05:00
sqrrm
4180ea08fd
Refactor trade limit check
Return early for anything that doesn't have age dependent trade limits
Remove unnecessary method
Fix switch case
2020-11-11 15:15:51 +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
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
Christoph Atteneder
0345c795e2
Merge pull request #4767 from jmacxx/fix_issue_4765
Remove default fee rate from Bisq startup screen
2020-11-09 10:00:25 +01:00
Christoph Atteneder
470685b729
Merge pull request #4768 from chimp1984/add-new-birningman-address
Add new burningman address for delayed payout txs
2020-11-09 09:23:57 +01:00
Christoph Atteneder
9caca8428f
Merge pull request #4753 from chimp1984/change-log-level
Change log level
2020-11-09 09:00:08 +01:00
chimp1984
8ab16e5e3a
Add new burningman address for delayed payout txs
See; https://github.com/bisq-network/roles/issues/80#issuecomment-723577776
2020-11-08 18:38:02 -05:00
jmacxx
8484398dee
Remove default fee rate from Bisq startup screen
The display of fee rate on the startup screen is misleading because
at startup a fee has not been received from the mempool fee service
and instead the default value of 50 sats is shown.

This change causes the fee rate not to be displayed until a response
has been received from the service.

Fixes #4765
2020-11-08 08:38:05 -06:00
sqrrm
848715c597
Merge pull request #4756 from wiz/remove-hitbtc-as-pricenode-data-provider
Remove HitBTC as a pricenode data provider
2020-11-07 22:33:02 +01:00
wiz
4959db87e3
Remove test cases for HitBTC pricenode data provider class 2020-11-06 23:47:19 +09:00
wiz
7e7dce7407
Remove HitBTC as a pricenode data provider
Recently, some Monero traders were complaining the XMR/BTC price on the
Bisq Price Index was off from most exchanges. Indeed, it seems HitBTC is
trading at a -10% divergence for some reason, I guess they have low
liquidity or some other reason, but after taking a look we are currently
using HitBTC for the following assets:

* AEON - only 2 trades ever, last traded March 2019
* EMC - never traded
* GRIN - looks like only fake trades, last traded Jan 2019
* PART - only 7 trades ever, last traded August 2020
* XRC - last traded December 2019
* XMR - obviously very important for Bisq

So I feel it's worth it to drop HitBTC as a data provider from Bisq to
make the Monero traders happy and make the Monero price more accurate.
2020-11-06 14:23:44 +09:00
chimp1984
f835396d71
Change log level 2020-11-05 15:50:02 -05:00
Christoph Atteneder
468ecdc2f5
Merge pull request #4751 from wiz/reduce-seednode-maxconnections-20
Reduce seednode default maxconnections to 20
2020-11-05 21:30:01 +01: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
wiz
786a80879c
Reduce seednode default maxconnections to 20 2020-11-05 20:06:05 +09:00
sqrrm
0c4ba9019c
Merge pull request #4750 from ripcurlx/improve-translations
Improve translations
2020-11-05 11:19:16 +01:00
Bayer
7163344084
Update core/src/main/resources/i18n/displayStrings.properties
Co-authored-by: m52go <mfiver@gmail.com>
2020-11-05 09:47:31 +01:00
Bayer
80d87a728d
Apply suggestions from code review
Co-authored-by: m52go <mfiver@gmail.com>
2020-11-05 09:47:22 +01:00
Bayer
90c00097ac
Fix display strings lines 2968-3437 2020-11-05 09:47:11 +01:00
Christoph Atteneder
b8fbc74d6c
Merge pull request #4744 from sqrrm/cleanup-signed-witness
Cleanup signed witness
2020-11-05 09:42:46 +01:00
Christoph Atteneder
20aac2e5cc
Merge pull request #4747 from chimp1984/fix-initial-outlier-value-at-update
Set initial value for bsqAverageTrimThreshold at update to 5%
2020-11-05 09:25:24 +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
chimp1984
5817525776
Check for 0 and only apply the value in that case.
See comment at change for more background.
2020-11-04 12:54:35 -05:00
chimp1984
c9b3f9d457
Set initial value for bsqAverageTrimThreshold to 5% in case of an
update (using persisted preferences which would
have value set to 0 as it was not existing in old version)
2020-11-04 11:34:10 -05:00
sqrrm
83ee1fedb2
Merge pull request #4746 from chimp1984/cleanup-mailbox-messages-at-closed-trades
Clean up mailbox messages for closed trades
2020-11-04 15:58:20 +01:00
chimp1984
5c7906980c
Clean up mailbox messages for closed trades
Util for removing pending mailbox messages in case the
trade has been closed by the seller after confirming receipt
and a AckMessage as mailbox message will be sent by the
buyer once they go online. In that case the seller's trade
is closed already and the TradeProtocol is not executing
the message processing, thus the mailbox message would not
be removed. To ensure that in such cases (as well other
potential cases in failure scenarios) the mailbox message
gets removed from the network we use that util.
2020-11-03 22:08:38 -05: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
Christoph Atteneder
75f79077a9
Merge pull request #4743 from ripcurlx/add-australian-payid
Add new payment method: Australian PayID
2020-11-03 21:55:25 +01:00