Commit Graph

11314 Commits

Author SHA1 Message Date
sqrrm
79f05bcfa3
Merge pull request #4320 from devinbileck/add-v3-seednode
Add V3 seednode devinv3r
2020-07-01 15:48:30 +02:00
sqrrm
3a6ada73db
Merge pull request #4317 from cbeams/project-management-link
Link to project management process
2020-07-01 12:40:48 +02:00
sqrrm
2417cf2f61
Merge pull request #4313 from ncstdc/patch-1
Change "Move funds to Bisq wallet" to "Keep funds in Bisq wallet"
2020-07-01 12:10:05 +02:00
sqrrm
594b1a4706
Merge pull request #4311 from jmacxx/higher_precision_prices
Increase price precision in Offer Book chart (altcoins)
2020-07-01 12:06:08 +02:00
sqrrm
358032b659
Fix broken tests 2020-07-01 00:01:17 +02:00
sqrrm
2a8c25e33a
Fix deposit column layout 2020-06-30 19:04:26 +02:00
sqrrm
97f76069f3
Update security deposit info text at offer creation 2020-06-30 18:09:17 +02:00
sqrrm
106c656993
Use same security deposit for buyer and seller 2020-06-30 18:01:50 +02:00
jmacxx
366390a468
Fix tor v3 address validation
The regex validation for addresses was not accepting tor v3 format.
This patch allows tor v3 addresses which are always 56 chars in length
(whereas tor v2 addresses are always 16 chars in length).
2020-06-30 08:47:45 -05:00
sqrrm
190867e383
Suggest security deposit depending on previous volatility 2020-06-30 14:45:51 +02:00
jmacxx
f3fa5ad3a1
Create order using the same tx fee specified at funding
This fixes an issue whereby updates from the fee API were causing
Insufficient Funds exception. Since the wallet is funded with a
specific amount (deposit+trade fee+txFee), that same amount has
to be used when the user confirms offer creation (which could be
some time later).

Fixes #4227
Fixes #4278
Fixes #4336
Fixes #4327
2020-06-29 13:43:06 -05:00
sqrrm
5b94a895aa
Move locktime definition to Restrictions 2020-06-29 20:01:47 +02:00
sqrrm
3121f6f2fe
Add deposit column to OfferBookView 2020-06-29 19:09:50 +02:00
wiz
82baa86b16
Dark Theme V2 with new CSS and images by Pedro
* Increase overall darkness
* Clean up tables and increase background contrasts
* Add background color to disabled buttons
* Remove large padding on read only fields to fix Create Offer scroll
* Darken color of dark theme grey speech bubble
* Remove negative padding from toggle switches
* Add background to password field
* Closes #4121

Author: pedromvpg <pedro.g@pvxg.net>
Co-Authored-By: wiz <j@wiz.biz>
2020-06-29 17:09:09 +09:00
wiz
8dbb01c04f
Update Bitcoin explorer URLs and Tor V3 onions for wiz and emzy 2020-06-29 00:02:50 +09:00
Chris Beams
df2dda4ca5
Remove @cbeams as build and pricenode code owner 2020-06-28 11:23:36 +02:00
Devin Bileck
3b424fde28
Merge branch 'master' of https://github.com/bisq-network/bisq into add-v3-seednode
 Conflicts:
	core/src/main/resources/btc_mainnet.seednodes
2020-06-26 03:46:24 -07:00
sqrrm
a54eeeabcc
Merge pull request #4329 from ghubstan/6-getoffers
Add rpc method 'getoffers'
2020-06-25 20:41:34 +02:00
sqrrm
79f0dacc24
Merge pull request #4324 from ghubstan/5A-print-addressinfo-as-table
Return protos from funding address methods
2020-06-25 19:44:24 +02:00
sqrrm
ca98654725
Merge pull request #4304 from ghubstan/2-getaddressbalance
Add rpc method 'getaddressbalance'
2020-06-25 19:41:21 +02:00
Christoph Atteneder
d810387b41
Merge pull request #4305 from sqrrm/sign-same-name
Sign same name
2020-06-25 14:07:24 +02:00
Christoph Atteneder
ab92350369
Merge pull request #4319 from devinbileck/update-install-scripts
Update seednode/pricenode install scripts
2020-06-25 13:56:31 +02:00
Christoph Atteneder
38f6af26ee
Merge pull request #4294 from sqrrm/add-multiple-fee-receivers
Add multiple fee receivers
2020-06-25 13:23:53 +02:00
sqrrm
745178e7db
Merge pull request #4335 from ripcurlx/fix-filter-propagation
Add equals check to prevent resetting of newly set Filter
2020-06-25 12:56:00 +02:00
sqrrm
cfd126f9e2
Merge pull request #4296 from ghubstan/wallets-protection-api-tests
Add wallets protection api tests
2020-06-25 12:48:31 +02:00
Christoph Atteneder
e50c7a6132
Add equals check to prevent resetting of newly set Filter 2020-06-25 12:40:49 +02:00
sqrrm
1c9299a2e5
Merge pull request #4295 from ghubstan/rename-core-wallet-service
Rename CoreWalletService -> CoreWalletsService
2020-06-25 11:01:31 +02:00
Christoph Atteneder
96645a7238
Merge pull request #4306 from huey735/patch-5
Add link to scripts
2020-06-25 10:15:31 +02:00
Christoph Atteneder
2e85d8824f
Merge pull request #4332 from Emzy/patch-3
Add V3 seednode sn3emzy
2020-06-25 10:11:03 +02:00
ghubstan
f820897e5b
Format dates ISO 8601 in UTC
We display all dates in UTC, using the "yyyy-MM-dd'T'HH:mm:ss'Z'" format.
2020-06-24 13:27:43 -03:00
ghubstan
51d82b1dff
Fix offer list filter bug due to direction flip
Respect the direction parmeter;  do not give it meaning it does not
have.  If the user passes a 'buy' parameter, return buy offers.  Do
not misinterpret the param's intent.  The direction parameter's value
does not imply "buy=I'm a buyer, show me sell offers" or
"sell=I'm a seller, show me buy offers".

I got mixed up by looking at the UI.  If I want to sell BTC, I click
the SELL tab to view buy offers (maker as buyer).  If I want to buy
BTC, I click the BUY tab to view sell offers (maker as seller).

This change also fixes an offer list sorting bug.

The commit is in response to a requested changes in PR 4329:
https://github.com/bisq-network/bisq/pull/4329#pullrequestreview-436033502
2020-06-23 17:15:39 -03:00
ghubstan
69792098c6
Check param count only, not param order correctness
This change simplifies client 'getoffers' method parameter
validation.  It no longer assumes parameter ordering is correct, nor
validates the direction parameter value.  The client only verifies
the correct number of string parameters are present.
2020-06-23 15:29:32 -03:00
Stephan Oeste
e9562b0d9b
Add V3 seednode sn3emzy
As part of the Tor V3 upgrade, and the effort to increase the number of
Bisq seednodes from 8 to 12, this PR adds a new V3 seednode.
2020-06-23 19:07:06 +02:00
ghubstan
e1fddfacf8
Remove duplication in wallets availability checks
This change adds a new 'verifyWalletsAreAvailable' method to the client,
which eliminates this duplicated statement:
    throw new IllegalStateException("wallet is not yet available");

The commit is in response to a requested change in PR 4312:
https://github.com/bisq-network/bisq/pull/4312#pullrequestreview-435659314
2020-06-23 13:11:36 -03:00
ghubstan
9691f35082
Check param count only, not param order correctness
This change simplifies client 'createpaymentacct' method parameter
validation.  It no longer assumes parameter ordering is correct, and
only verifies the string parameter count is correct.

A unit test was also added to cli/test.sh

This commit is in response to the requested change in PR 4308.
https://github.com/bisq-network/bisq/pull/4308#pullrequestreview-435052357
2020-06-23 12:42:56 -03:00
sqrrm
b87ba9e5ca
Merge pull request #4331 from bisq-network/release/v1.3.5
Release/v1.3.5
2020-06-23 15:54:28 +02:00
Christoph Atteneder
d2fdc79c26
Revert to SNAPSHOT version 2020-06-23 15:32:57 +02:00
ghubstan
52529a912e
Move getpaymentaccts tbl formatting to TableFormat
Created a new TableFormat.formatPaymentAcctTbl method.

Also:

 * Defined new "Currency" and "Name" column headers in TableFormat.

 * Changed syntax of stream().map() calls in some TableFormat methods.

 * Fixed verbose return statement in TableFormat.getLengthOfLongestColumn.

This commit is out of scope for the getoffers PR (4329), but is
included as part of the migration of all console tbl formatting
from the client into TableFormat.
2020-06-22 18:20:09 -03:00
ghubstan
8dcfa50bde
Define reusable headers from balance-info tbl 2020-06-22 17:49:46 -03:00
ghubstan
0d9bdefa00
Add 'getoffers' smoke test 2020-06-22 15:23:27 -03:00
ghubstan
61285a7602
Do not change case of input params in client
This commit is for a change requested in PR 4308:
https://github.com/bisq-network/bisq/pull/4308#pullrequestreview-435055483

  ".toUpperCase() seems misplaced here. It would soon get repetive.
  Whether the underlying logic differentiates between capitalizations
  is a low-level implementation detail and would do better at the
  lowest practical level."
2020-06-22 15:08:46 -03:00
ghubstan
a48af7c052
Add 'getoffers' unit tests 2020-06-22 14:43:59 -03:00
ghubstan
b25abf1b6b
Refactor CLI output table formatting
This change moves logic for formatting BTC balances, dates and
tables out of CliMain.  Two new output formatting classes were
added:  CurrencyFormat and TableFormat.
2020-06-21 19:46:37 -03:00
ghubstan
4778976b6b
Fix comments 2020-06-20 20:24:49 -03:00
ghubstan
1756258e81
Do not use protobuf.OfferPayload.Direction in client 2020-06-20 20:09:18 -03:00
ghubstan
88cb90e209
Add rpc method 'getoffers'
The new method returns current buy or sell offers for a fiat ccy.

These changes need refactoring and polishing before merging, but they're
committed in this state to be safe (don't lose work).  Changes include:

* New core.grpc classes
    CoreOffersService
    GrpcOffersService
    model.OfferInfo

* CoreApi -- The new CoreOffersService is injected into CoreApi and
  the old getOffers() and placeOffer() impls were moved into the
  new CoreOffersService.  The getOffers implementation was re-done.
  Other changes are just rearranging location of core method calls.

* GrpcServer -- The new GrpcOffersService replaced the old
  GetOffersService and PlaceOfferService.

* grpc.proto -- The old GetOffers and PlaceOffer services were combined
  into a single Offers service, and the PlaceOffer rpc was renamed
  as CreateOffer.  These are the only substantive changes; the rest
  is just rearranging location of the service defs in the file.
  Also created a lighterweight OfferInfo proto message wrapper to
  be passed between server & client (client has no access to core's
  Offer and OfferPayload).

* OfferInfo -- A new wrapper around the OfferInfo proto message.

* CliMain -- The new GetOffers service stub was added.
  Some (maybe too much) number and ccy formatting logic was
  copied & modified from core.  Some tedius string formatting
  was added too (needs to be tidied up).

* License comments were also copied to several classes, and I
  made a mistake in reverting changes to the wrong file.

TODO add unit tests
2020-06-20 19:56:28 -03:00
ghubstan
41f1add76b
Remove try catch block
Remove the recently added gRPC StatusRuntimeException wrapping
logic because we want unexpected Exceptions to bubble up for now,
until CorePaymentAccountsService.java throws specific
IllegalStateExceptions with user friendly error messages.
(See CoreWalletsService.java for example.)
2020-06-20 10:24:14 -03:00
ghubstan
d6ea0ea236
Re-add license comment
The previous revert was a mistake.  It applied to
GrpcPaymentAccountsService, not CorePaymentAccountsService.
2020-06-20 10:21:57 -03:00
ghubstan
7c073c65f5
Revert "Add license comment"
This reverts commit bfcc693f69.

This change was reverted because we want unexpected Exceptions
to bubble up for now, until CorePaymentAccountsService.java
throws specific IllegalStateExceptions with user friendly
error messages.  (See CoreWalletsService.java for example.)
2020-06-20 10:14:36 -03:00
ghubstan
d06807b0e5
Wrap Exception from core in gRPC StatusRuntimeException 2020-06-20 10:10:39 -03:00