Commit Graph

6303 Commits

Author SHA1 Message Date
chimp1984
8b21b85c3e
Make updateDepositTxFromWallet public 2021-10-20 11:58:04 +02:00
chimp1984
1e9b606544
Move Contract, SellerAsMakerTrade, SellerAsTakerTrade, SellerTrade,
BuyerAsMakerTrade, BuyerAsTakerTrade, BuyerTrade
to bisq.core.trade.model.bisq_v1 package
2021-10-20 11:58:04 +02:00
chimp1984
1b4c4871c0
Rename OfferFilter to OfferFilterService 2021-10-20 11:58:04 +02:00
chimp1984
7197b316fc
Move content of bisq.core.offer.placeoffer package into package bisq.core.offer.placeoffer.bisq_v1 2021-10-20 11:58:04 +02:00
chimp1984
1badd699a4
Move bisq.core.offer.messages package into package bisq.core.offer.availability 2021-10-20 11:58:04 +02:00
chimp1984
a2d1e8888d
Move AvailabilityResult into package bisq.core.offer.availability 2021-10-20 11:58:04 +02:00
chimp1984
e348000cb1
Move TakeOfferModel into package bisq.core.offer.bisq_v1 2021-10-20 11:58:04 +02:00
chimp1984
d9fd8a45f7
Move TriggerPriceService into package bisq.core.offer.bisq_v1 2021-10-20 11:58:04 +02:00
chimp1984
042476a68a
Move MutableOfferPayloadFields into package bisq.core.offer.bisq_v1 2021-10-20 11:58:04 +02:00
chimp1984
4341a7e0d2
Move MarketPriceNotAvailableException into package bisq.core.offer.bisq_v1 2021-10-20 11:58:04 +02:00
chimp1984
edf5c3e097
Move CreateOfferService into package bisq.core.offer.bisq_v1 2021-10-20 11:58:04 +02:00
chimp1984
41d9d3f505
Move OfferPayload into package bisq.core.offer.bisq_v1 2021-10-20 11:58:04 +02:00
m52go
94d3638d98
Remove m52go bitcoin node 2021-10-20 10:29:12 +02:00
wiz
48a0ebe309
Add new v3 onions for wiz's bitcoin nodes 2021-10-19 19:30:36 +02:00
Christoph Atteneder
e39ae59683
Update translations for v1.7.5 2021-10-19 11:33:35 +02:00
Jakub Loucký
adf0562152
Remove duplicate "maximum" in payment descriptions 2021-10-16 23:45:38 +02:00
Jakub Loucký
b84df6ec2b
Fix typo 2021-10-16 23:39:23 +02:00
Jakub Loucký
69c563e3d4
Fix typo in Pix info 2021-10-16 23:33:07 +02:00
Jakub Loucký
bd27b45abe
Fix sentence about Strike 2021-10-16 23:33:06 +02:00
Jakub Loucký
dff043d8c4
Fix typo (SHA) 2021-10-16 22:53:36 +02:00
jmacxx
b72b70ee8c
Add payment methods Strike and Verse 2021-10-12 14:37:26 -05:00
Christoph Atteneder
596e819629
Merge pull request #5748 from jmacxx/fix_sepa_eu_countries_comparator
Fix logic of SEPA country comparison routine
2021-10-12 10:04:46 +02:00
Christoph Atteneder
9ad4671773
Merge pull request #5746 from jmacxx/missing_invalid_transaction_diagnostic
Fix issue of Trade Step 1 validation done too soon
2021-10-12 10:02:23 +02:00
jmacxx
9f95aa3607
Fix logic of SEPA country comparison routine 2021-10-11 17:38:05 -05:00
jmacxx
9ab659ceac
Fix issue of Trade Step 1 validation done too soon
Deprecate 4 states which are not used.
ShareBuyerPaymentAccountMessage can arrive before deposit broadcast completes.
2021-10-11 09:31:57 -05:00
Christoph Atteneder
2d3182ca2f
Merge pull request #5745 from jmacxx/add_monese_satispay
Add payment methods Monese and Satispay
2021-10-11 09:29:36 +02:00
Christoph Atteneder
2e38c3cf35
Merge pull request #5742 from jmacxx/trader_chat_trade_complete
Allow trader chat to continue after trade complete
2021-10-09 13:03:32 +02:00
jmacxx
df2d0b3332
Add payment methods Monese and SatisPay 2021-10-07 17:28:42 -05:00
jmacxx
c13fb950e3
Allow trader chat after trade complete 2021-10-06 19:25:39 -05:00
ghubstan
5f521068ea
Remove unused PriceFeedService 2021-10-05 14:46:06 -03:00
ghubstan
30135177f8
Remove transitive javafx.collections dependency 2021-10-05 14:44:30 -03:00
ghubstan
738d22fbdf
Rename method, add static import 2021-10-05 14:23:32 -03:00
ghubstan
999c4a516d
Refactor desktop Closed Tradable model utils for API use
Move some potentially sharable utility code from desktop's ClosedTrade
models to core's new ClosedTradeUtil.

The API's `gettrades --category=<open|closed|failed>` method will need
some of this logic on the server side, but the scope of this refactoring
is larger in the interest of a more complete refactor, and avoiding
duplication in the future.
2021-10-05 14:13:51 -03:00
sqrrm
bef38e6e01
Merge pull request #5736 from bisq-network/revert-5680-community-tab
Revert "Community tab"
2021-10-04 11:56:25 +02:00
Christoph Atteneder
b7859e3ce4
Merge pull request #5741 from jmacxx/add_payments_pix_bizum
Add payment methods Bizum and Pix
2021-10-04 10:32:03 +02:00
jmacxx
b156f034ad
add payment methods Bizum and Pix 2021-10-03 18:19:37 -05:00
ghubstan
db6e2a51b2
Move volume formatting from DisplayUtils to VolumeUtil
In practice, presentation/display logic should be kept in UIs, but the core
api will need to duplicate a very small part of the code in DisplayUtils if
a very small part of this refactoring is not done.  Instead of moving a tiny
bit of the volume formatting methods, all of them are moved to core.
2021-10-02 17:33:25 -03:00
Christoph Atteneder
2cca574427
Merge pull request #5724 from jmacxx/add_nequi
Add Nequi payment method
2021-09-30 10:06:54 +02:00
Christoph Atteneder
94d56e4e47
Revert "Community tab" 2021-09-30 10:03:09 +02:00
Christoph Atteneder
f8e99c5a17
Merge pull request #5731 from chimp1984/remove-vs-seeds-from-monitor
Remove v2 nodes and backup nodes from DAO monitor
2021-09-30 09:53:30 +02:00
sqrrm
0df7e44c35
Merge pull request #5727 from ripcurlx/remove-trade-id-reference
Remove trade id reference for Amazon gift card
2021-09-28 16:25:44 +02:00
chimp1984
40003ff79b
Remove v2 seed nodes 2021-09-28 16:09:18 +02:00
sqrrm
5e84713520
Merge pull request #5730 from bisq-network/release/v1.7.4
Release/v1.7.4
2021-09-28 15:05:42 +02:00
jmacxx
f792db98d0
add Nequi payment method
Signed-off-by: jmacxx <47253594+jmacxx@users.noreply.github.com>
2021-09-28 07:51:06 -05:00
jmacxx
9e5a1c2fd4
add payment method CelPay
Signed-off-by: jmacxx <47253594+jmacxx@users.noreply.github.com>
2021-09-28 07:51:05 -05:00
Christoph Atteneder
14c2e37cca
Merge pull request #5704 from ghubstan/fix-cli-alt-trade-volume-bug
CLI bug fix: show trade's contract volume, not moving offer volume
2021-09-27 11:17:21 +02:00
Christoph Atteneder
e98ae2becf
Merge pull request #5719 from jmacxx/clockwatcher_popup
Show a warning if PC has been in sleep mode
2021-09-27 11:06:58 +02:00
Christoph Atteneder
b098656d0d
Merge pull request #5680 from xyzmaker123/community-tab
Community tab
2021-09-27 11:04:13 +02:00
Christoph Atteneder
2ec6e6f198
Remove trade id reference for Amazon gift card 2021-09-27 09:52:31 +02:00
Christoph Atteneder
c4d0117988
Merge pull request #5696 from jmacxx/add_indian_payment
Add five Indian payment methods
2021-09-27 09:40:21 +02:00
Christoph Atteneder
ccb73a3895
Merge pull request #5711 from chimp1984/fix-data-handling-if-dao-is-deactivated
Fix data handling if dao is deactivated
2021-09-26 19:01:05 +02:00
chimp1984
45af00a3c1
Update text 2021-09-23 20:52:40 +02:00
chimp1984
d01f82a5db
Adjust the UI in case the DAO is disabled 2021-09-23 19:11:09 +02:00
Christoph Atteneder
f8207c4b8f
Update bitcoinj checkpoints for v1.7.4 2021-09-23 09:59:38 +02:00
jmacxx
71c2278a68
show a warning if the computer was in sleep mode for > 10s 2021-09-22 21:22:22 -05:00
jmacxx
ec4b4cdb11
add payment method popup text per spec 2021-09-22 20:07:57 -05:00
jmacxx
566dbdc765
display agent keybase link 2021-09-22 09:13:00 -05:00
Christoph Atteneder
945202622e
Deactivate @KanoczTomas BTC core node until a Tor v3 address is provided 2021-09-21 10:19:34 +02:00
Christoph Atteneder
76cf477ef6
Deactivate @KanoczTomas BTC core node until a Tor v3 address is provided 2021-09-21 10:17:55 +02:00
sqrrm
f8af74aa76
Merge pull request #5713 from ripcurlx/Emzies-master
Update to BTC node Tor v3 onions
2021-09-21 09:33:05 +02:00
Christoph Atteneder
046b39f6be
Update translations for v1.7.4 2021-09-21 09:26:32 +02:00
Christoph Atteneder
ee0f1d74cc
Deactivate @wiz and @robkaandorp BTC nodes until Tor v3 addresses are provided 2021-09-21 09:21:51 +02:00
Christoph Atteneder
6581fc31cb
Fix formatting 2021-09-21 09:21:51 +02:00
Stephan Oeste
a2dc8a68a1
remove trailing space 2021-09-21 09:21:50 +02:00
Stephan Oeste
696bb770e8
Update to BTC node Tor v3 onions 2021-09-21 09:21:50 +02:00
Christoph Atteneder
8a7941a29f
Update @leo816 onion address 2021-09-21 09:21:03 +02:00
Christoph Atteneder
efc2883f01
Deactivate @wiz and @robkaandorp BTC nodes until Tor v3 addresses are provided 2021-09-21 09:09:38 +02:00
Christoph Atteneder
1dea1a134a
Fix formatting 2021-09-21 09:09:05 +02:00
chimp1984
2419e1dae5
Add dao activated toggle to preferences
We write the value to the properties file not to
the preferences as we need the value early at startup
before the preferences are loaded.
2021-09-21 01:31:13 +02:00
Christoph Atteneder
ec20bb1784
Update @leo816 onion address 2021-09-20 20:50:06 +02:00
Stephan Oeste
a6ca8985f3
remove trailing space 2021-09-20 20:20:52 +02:00
Stephan Oeste
3bee0cca96
Update to BTC node Tor v3 onions 2021-09-20 18:54:21 +02:00
ghubstan
484f882077
Show frozen fiat trade cost in CLI console
This is a bug fix for the CLI's displayed fiat trade cost
value, which should be trade.volume, not offer.volume.  Offer volume
varies with BTC volatility, and the CLI should be showing the trade.volume
value instead, frozen when the contract is made.
2021-09-17 16:25:37 -03:00
sqrrm
fae1852220
Merge pull request #5685 from ghubstan/1-fix-api-payacct-ccy-support
Let API user set currencies in some payment account json forms
2021-09-17 14:07:09 +02:00
ghubstan
1a9cdfbdd3
Return early when field name match fails
Resolves https://github.com/bisq-network/bisq/pull/5685#discussion_r710002786
2021-09-16 09:31:22 -03:00
jmacxx
78cd61564c
Add five Indian payment methods 2021-09-15 15:25:43 -05:00
xyzmaker123
7f2c01e02d
Community tab - use AutoTooltip components, define elements in java instead fxml 2021-09-15 17:31:13 +02:00
xyzmaker123
393acf6961
Community tab 2021-09-15 12:26:31 +02:00
Christoph Atteneder
90b2f9eeae
Merge pull request #5672 from jmacxx/swift_payment_method
Add SWIFT payment method
2021-09-13 14:49:47 +02:00
jmacxx
51eca30770
customize payment popup fee info for SWIFT 2021-09-13 06:44:17 -05:00
jmacxx
e2dac437ab
text modifications by m52go
Co-authored-by: m52go <735155+m52go@users.noreply.github.com>
2021-09-08 15:07:22 -05:00
jmacxx
3430055144
add SWIFT payment method
rebased to master
2021-09-08 14:57:08 -05:00
ghubstan
ab929d4435
Remove spurious PaymentAccount#canSupportMultipleCurrencies()
Method was added on the false assumption `PaymentAccount#hasMultipleCurrencies()`
would not always return a correct value when a `PaymentAccount` instance is created
via reflection.  But `hasMultipleCurrencies()` will work as long as appropriate
PaymentAccount subclasses continue setting their `tradeCurrencies` fields within
their default constructors.
2021-09-07 11:31:56 -03:00
ghubstan
f7e6898077
Let users specify trade ccys and selected trade ccy in json form
Several payment methods support multiple trade currencies and a selected
trade currency, but the api's payment account creation has not let CLI
users specify them in the json form passed to the `createpaymentacct`
command.

This change adds `tradeCurrencies` and `selectedTradeCurrency` fields
to the appropriate json forms.
2021-09-06 12:24:51 -03:00
ghubstan
a2bc999692
Adjust to PaymentAccount change in commit de23fc0 2021-09-06 12:23:56 -03:00
ghubstan
19e9c78f51
Do single trade currency check in api generated payment acct 2021-09-06 12:21:29 -03:00
ghubstan
de23fc0083
Replace growing # of instanceof checks with boolean hasPaymentMethodWithId 2021-09-06 12:17:16 -03:00
ghubstan
80a72dc520
Format comments, add one 2021-09-06 12:13:16 -03:00
ghubstan
f39e611150
Wrap long i18n strings for use in API
Some i18n property values can be used by the API if long strings are
wrapped before written as commments to json payment account forms, or
written to the CLI console.

This change anticipates the addition of the more complex Swift payment
method (PR 5672). PR 5672's i18n property value for key "payment.swift.info"
will be wrapped and appended to the comments of the Swift payment account's
json form.
2021-09-06 12:12:09 -03:00
Christoph Atteneder
e8f417fdf5
Merge pull request #5679 from jmacxx/fix_deposit_received_from_network_issue
Fix failed trade / missing payment information
2021-09-06 11:34:55 +02:00
ghubstan
7351b08850
Reduce # of hash calculations in UI OfferBook view
We can cache an offer payload hash as soon as its `offerFeePaymentTxId`
is set.  (The payload hash cannot be calculated until the object can
be transformed into a protobuf message, which requires a non-null
offerFeePaymentTxId.)

Another benefit is removal of the payload hash argument from the
`OfferBookListItem` constructor.

Changes include

- `OfferPayload` Added `transient byte[] hash` field + getter method
   (where hash is calculated and cached).

- `OfferBookService` Removed `P2PDataStorage.ByteArray hashOfPayload`
   parameter from `OfferBookChangedListener` listener methods
  `onAdded` & `onRemoved`.  (Hash is cached in `OfferPayload`.)

- `P2PDataStorage` Added null check to `ByteArray` class constructor.

- `OfferBook` Adjusted for change to `OfferBookChangedListener`.
   Also removed redundant payload hash null checks.

- `TakeOfferDataModel` and `MarketAlerts` Adjusted for change to
  `OfferBookChangedListener`.

- `OfferBookListItem` Removed overloaded constructor with
  `@Nullable P2PDataStorage.ByteArray hashOfPayload` parameter.
   (Field value is set from cached offer payload hash.)

- `OfferBookViewModelTest` and `OfferMaker`  Adjusted test and test fixture:
   do not attempt to create offer payloads without an `offerFeePaymentTxId`.
2021-09-01 15:48:35 -03:00
jmacxx
74f7061061
Fix race between mempool notify / P2P notify causing failed trade 2021-08-30 10:00:38 -05:00
sqrrm
fc329f6f15
Merge pull request #5678 from bisq-network/release/v1.7.3
Release/v1.7.3
2021-08-30 14:29:27 +02:00
sqrrm
58e09c96ee
Merge pull request #5666 from ghubstan/08-handle-extradata-in-editoffer
Adjust API 'editoffer' to PR 5651 (include extraData field when editing offer)
2021-08-30 10:46:23 +02:00
Christoph Atteneder
c036adb3eb
Update bitcoinj checkpoints for v1.7.3 2021-08-27 09:30:30 +02:00
jmacxx
984a269776
Add Payment Methods: Paysera and Paxum 2021-08-25 13:38:54 -05:00
Christoph Atteneder
9e72e5b445
Update translations for v1.7.3 2021-08-23 11:22:27 +02:00
ghubstan
b93f6ea28e
Remove sequence-number checks from OfferBook
Checking offer payload hashes in OfferBook's onAdded and onRemove methods
is sufficient to prevent incorrect removal of offer list items from the
UI OfferBook view (where api 'editoffer' causes onRemoved to be called
after onAdded on peers).
2021-08-20 11:49:00 -03:00
ghubstan
fb4e00fb6b
Fix OfferBookService bug causing extra check in OfferBook.onRemoved
Hash of protectedStorageEntry (should be offerPayload) was sometimes
resulting in incorrect hash being sent to OfferBook listener methods
onAdded(offer,  hashOfPayload,  sequenceNumber), and
onRemoved(offer,  hashOfPayload,  sequenceNumber).
Hash of OfferPayload is correctly passed to listener with this change.

Sending the correct hash allows removal of a dubious code block that
removed a book view list item when hash compare failed, and no matching
offer existed in the OfferBookService.
See https://github.com/bisq-network/bisq/pull/5659#discussion_r689634240
2021-08-18 14:27:20 -03:00
ghubstan
1c096d0e3a
Merge branch 'master' into 08-handle-extradata-in-editoffer
Resolve file conflicts resulting from merging PRs
    https://github.com/bisq-network/bisq/pull/5577
    https://github.com/bisq-network/bisq/pull/5651
2021-08-16 12:36:49 -03:00
sqrrm
15093720b9
Merge pull request #5625 from ripcurlx/unsigned-account-tooltip
Tooltip for unsigned accounts needs to provide more information
2021-08-16 12:15:43 +02:00
ghubstan
71a61c63da
Display Enabled=PENDING in CLI 'createoffer' output
A newly created offer has no OpenOffer+State (AVAILABLE || DEACTIVATED)
when displayed in the CLI's console.  This change adds a 'bool isMyPendingOffer'
to the OfferInfo proto + wrapper, and the CLI's console offer output formatter
uses it to determine if it should display a new offer's Enabled column value
as PENDING, instead of an ambiguous NO value.
2021-08-14 16:58:47 -03:00
Christoph Atteneder
9db2c18f2c
Merge pull request #5649 from sqrrm/refund-double-payout-fix
Avoid creating more than one refund payout
2021-08-12 20:43:22 +02:00
ghubstan
6e2400fb0f
Ensure UI OfferBook items are correctly added and removed
Using the API's CLI to edit offers can sometimes result in add/remove messages
being received on peers in the same batch of envolopes, and these messages
are sometimes passed to the UI in (1) add, (2) remove order.  This can result in
a newly edited offer being removed immediately after being added to the OfferBook
list. This change uses storage entry sequence number and storage entry payload
hash comparisons to avoid the problem.

- OfferBookListItem Added new constructor taking P2PDataStorage.ByteArray hashOfPayload,
  and int sequenceNumber params.  Added a new toString() method.

- OfferBook Added new checks on OfferBookListItem hashOfPayload and sequenceNumber while
  determining if offer candidates should be added or removed from the UI's OfferBook List.
  See OfferBook contructor's implementation of OfferBookChangedListener#onAdded and
  OfferBookChangedListener#onRemoved.  Added many comments explaining the add/remove rules,
  and plenty of debug statements to help trace the add/remove event process.

- OfferBookService#OfferBookChangedListener Added new P2PDataStorage.ByteArray hashOfPayload,
  and int sequenceNumber params to listener's onAdded and onRemoved method signatures.
  Added these two new paramater values to listener.onAdded and listener.onRemoved calls.

- TakeOfferDataModel Replaced unused, old tradeManager param in offerBook.removeOffer()
  with (null) P2PDataStorage.ByteArray hashOfPayload, and (-1) int sequenceNumber params.
  OfferBook will remove the candidate offer as before.

- MarketAlerts Adjusted onAdded() & onRemoved listener method signatures, even though
  new P2PDataStorage.ByteArray hashOfPayload, int sequenceNumber params are not used
  by the implementations.
2021-08-07 14:06:38 -03:00
ghubstan
369372880d
Merge branch 'master' into 05-update-api-beta-test-guide 2021-08-04 16:41:52 -03:00
sqrrm
8c666dba92
Avoid creating more than one refund payout
Double clicking the close ticketbutton creates two payout transactions.
This fix makes sure only one payout transaction is created for the
dispute.

Restarting the client allows for creating another refund transaction
for the dispute if needed.
2021-08-02 10:17:17 +02:00
Christoph Atteneder
fa4238c162
Merge pull request #5644 from jmacxx/fix_payment_account_deserialize_issue
Fix issue for deprecated payment account imported from backup
2021-08-01 20:50:20 +02:00
ghubstan
b8379e2003
Merge branch 'master' into 05-update-api-beta-test-guide 2021-07-30 11:53:34 -03:00
jmacxx
670ff92f4c
fix deserialize issue for deprecated payment account imported from backup 2021-07-29 21:56:44 -05:00
jmacxx
5cc3f8680e
keep chatview listener open until ack, mailbox, or error 2021-07-23 08:05:56 +02:00
Christoph Atteneder
e2e23a8611
Update bitcoinj checkpoints for v1.7.2 2021-07-19 15:34:08 +02:00
Christoph Atteneder
f0258d6dd1
Remove unused translation 2021-07-19 13:55:12 +02:00
BtcContributor
fb639c1e6d
Add missing info text for Capitual payment method 2021-07-19 13:55:11 +02:00
BtcContributor
870448f5fa
Add review feedbacks from KaiWitt 2021-07-19 13:55:11 +02:00
BtcContributor
50b6f42525
Add Capitual payment method. Waiting for final Info text to add. 2021-07-19 13:55:10 +02:00
Christoph Atteneder
57473a6e23
Update translations for v1.7.2 2021-07-16 20:38:58 +02:00
xyzmaker123
5a2592c832
Update core/src/main/resources/i18n/displayStrings.properties
Co-authored-by: Christoph Atteneder <christoph.atteneder@gmail.com>
2021-07-16 09:19:50 +02:00
xyzmaker123
b6e8f66553
Tooltip for unsigned accounts needs to provide more information 2021-07-16 09:19:49 +02:00
sqrrm
eace7c2b61
Merge pull request #5598 from ripcurlx/add-pazza-as-mediator
Add @pazza's mediator onion address and Keybase user name
2021-07-13 10:25:39 +02:00
sqrrm
30b100dfc0
Merge pull request #5621 from ripcurlx/add-payment-account-payload-safeguards
Add payment account payload safeguards
2021-07-13 10:24:49 +02:00
Christoph Atteneder
e4b00c6e32
Merge pull request #5611 from harrigan/master
List RSK Smart Bitcoin (R-BTC)
2021-07-13 09:25:35 +02:00
Christoph Atteneder
23a3c63e0f
Merge pull request #5614 from jmacxx/fix_payment_account_deserialize_issue
Fix payment account deserialize issue (e.g. CHASE_QUICK_PAY)
2021-07-13 09:20:23 +02:00
jmacxx
ab565d1368
fix payment account deserialize issue (e.g. CHASE_QUICK_PAY) 2021-07-12 06:58:05 -05:00
Christoph Atteneder
5ba7f043d4
Handle potential PaymentAccountPayload null values when detecting multiple holder names 2021-07-12 11:26:28 +02:00
Christoph Atteneder
51af19e5ec
Check if PaymentAccountPayload is null bfore trying to apply filter 2021-07-12 11:25:23 +02:00
Christoph Atteneder
c15958a94d
Return empty if no PaymentAccountPayload is available 2021-07-12 10:24:35 +02:00
chimp1984
8859503e49
Update comment 2021-07-08 01:09:50 +02:00
chimp1984
28a8116997
Add gc calls at areas where memory usage spikes are expected 2021-07-08 01:06:20 +02:00
chimp1984
0a5c1ca72c
Add txOutputsByTxOutputType map for performance improvement
Profiler reported the getTxOutputsByTxOutputType got called
very often. To avoid those iterations we use a lookup map.
2021-07-07 22:51:58 +02:00
chimp1984
4727f09066
Add System.gc() before we clone daoState and before we apply it to store.
Add it also before and after daoState monitor checks.

When letting the app run over night I saw that a lot of memory was not
released if System.gc() was not called.
By calling System.gc() it got to the expected state. Tested with the
G1 GC but saw similar behaviour with master with default GC version (parallel).

We could also run it periodically every 10 minutes or so, but I guess the block
interval covers that pretty good as well and those are the moment where load is
added and risk to run out of memory is higher.
We add a bit of delay to take into account that listeners might
react on the state change and to apply the gc after the event is processed completely.
2021-07-07 11:58:10 +02:00
chimp1984
da5dd523fb
Optimize DaoState snapshot behaviour
- Run persistence call in thread instead of user thread (serialisation
is very slow and had blocked user thread)
- Create new snapshot only after persistence is completed to avoid to
have 3 daoState objects in memory
- Set DaoState in store to null to let gc remove the old reference (was
left there before so we had 3 instances of daoStates in memory)
2021-07-06 17:59:44 +02:00
Christoph Atteneder
93df5c2849
Merge pull request #5599 from jmacxx/fix_chatmessage_status
Fix bug in chat message status display
2021-07-06 16:13:23 +02:00
Christoph Atteneder
f4ca766a97
Merge pull request #5602 from jmacxx/fix_withdrawal_fee_bug
Fix custom withdrawal fee bug
2021-07-06 16:04:22 +02:00
sqrrm
030a76522c
Merge pull request #5606 from bisq-network/release/v1.7.0
Release/v1.7.0
2021-07-06 12:40:52 +02:00
jmacxx
4a6eab1af3
fix custom withdrawal fee bug 2021-07-05 08:54:36 -05:00
jmacxx
a5f185484a
fix bug in chatmessage timeout status 2021-07-02 08:52:53 -05:00
Christoph Atteneder
a837c36e12
Add @pazza83's mediator onion address and Keybase user name 2021-07-02 10:55:53 +02:00
Christoph Atteneder
ab475724fe
Merge pull request #5593 from devinbileck/new-relaynode-address
Update relay-node address
2021-07-02 09:08:33 +02:00
Huey
26d33e10b2
Remove wiz monero explorer
@wiz is no longer running a Monero explorer
https://github.com/bisq-network/bisq/pull/4790
2021-07-01 09:12:34 +01:00
Devin Bileck
0eb8da083f
Update relay-node address
With Tor v2 addresses being deprecated soon, now is a good time to
update the relay-node used for mobile notifications with a new v3 onion
address.
2021-06-29 23:30:11 -07:00
Christoph Atteneder
3d88f9f112
Check if makerPaymentMethodId is available falling back to the payload object if not
This is the case for old dispute cases
2021-06-28 09:48:03 +02:00
Christoph Atteneder
e5765aeef2
Delay sending of payment account information during trade by @chimp1984
It also removes the op return from the multisig transaction
2021-06-28 09:47:52 +02:00
Christoph Atteneder
c7891e4a44
Update bitcoinj checkpoints for v1.7.0 2021-06-25 16:17:19 +02:00
m52go
4399885e61
Make edits as suggested in #5583 2021-06-24 18:17:28 -04:00
Christoph Atteneder
e6c3499384
Update translations for v1.7.0 2021-06-23 14:28:58 +02:00
sqrrm
8bc60d0909
Merge pull request #5573 from ripcurlx/add-hint-to-upgrade-to-tor-v3
Add hint to upgrade to tor v3
2021-06-23 13:41:03 +02:00
Christoph Atteneder
8d18e07f52
Apply PR Review suggestion by @sqrrm 2021-06-23 12:25:46 +02:00
Christoph Atteneder
6ab5ceca1a
Merge pull request #5563 from xyzmaker123/open-address-explorer
Fix incorrect tx link to tx explorer - fixes #5548
2021-06-22 16:45:49 +02:00
Martin Harrigan
639f6ee337
List RSK Smart Bitcoin (R-BTC) 2021-06-20 12:19:53 +01:00
ghubstan
81158662cf
Merge branch '03-api-editoffer-method' into 04-edit-bsq-offer 2021-06-19 11:25:45 -03:00
ghubstan
0a3e011ef5
Merge branch '02-refactor-for-api-editoffer-method' into 03-api-editoffer-method 2021-06-19 11:23:34 -03:00
ghubstan
ab2edac454
Merge branch 'master' into 02-refactor-for-api-editoffer-method 2021-06-19 11:21:07 -03:00
ghubstan
e32e0d1fbb
Add altcoin (bsq) offer editing validation check
BSQ offers are fixed-price only.  This change blocks an
attempt to change an altcoin offer to a margin price based
offer, or set a trigger price.
2021-06-18 17:46:16 -03:00
ghubstan
a603044f2e
Pass isMyOffer flag to trade/offer proto wrappers from core services 2021-06-18 17:41:45 -03:00
ghubstan
0e9c6650e3
Include isMyOffer flag in API's trade/offer proto wrappers
Optionally displaying an ENABLED column in CLI side getoffer output
depends on the value of offer.isMyOffer, which is passed via new
boolean arguments to the trade & offer pojo builders.
2021-06-18 17:40:21 -03:00
Christoph Atteneder
5a8e1cf688
Adapted tor migration message
Based on feedback by @m52go
2021-06-17 15:26:00 +02:00
ghubstan
1a56a5161a
Force codacy check after codacy config change 2021-06-17 10:13:18 -03:00
Christoph Atteneder
1a59e92910
Merge pull request #5551 from jmacxx/chat_msg_ack
Improve Chat message reliability
2021-06-17 15:04:22 +02:00
jmacxx
e75a4ef0de
Update core/src/main/resources/i18n/displayStrings.properties
Co-authored-by: m52go <735155+m52go@users.noreply.github.com>
2021-06-16 08:43:14 -05:00
ghubstan
3d38a8555f
Make codacy just a bit happier 2021-06-15 13:40:33 -03:00
ghubstan
bc1576efbc
Throw exception is edit altcoin offer is attempted
Support for editing BSQ offers is in place, but will be added
in another PR.
2021-06-15 13:13:52 -03:00
ghubstan
e5b5a06b9b
Remove unused field 2021-06-15 12:04:39 -03:00
ghubstan
738d2f70ef
Fix editoffer validation bugs, tidy up CoreOffersService 2021-06-15 11:18:07 -03:00
ghubstan
32688a713f
Add bool isMyOffer to OfferInfo proto 2021-06-15 11:17:02 -03:00
xyzmaker123
cfdd4b4757
Fix incorrect tx link to tx explorer - update translations 2021-06-15 12:27:06 +02:00
Christoph Atteneder
ddd2ab490b
Merge pull request #5559 from jmacxx/dispute_tag_avatar
Feature to enable disputes user avatars and tag editing
2021-06-15 09:45:26 +02:00
Christoph Atteneder
54006dc0ef
Not require Tor v3 addresses on Regtest
Local dev environment normally uses localhost:PORT addresses not connecting through Tor.
2021-06-14 17:13:47 +02:00
Christoph Atteneder
8acd578ff2
Prevent nodes with Tor v2 address to participate in trading
After the date specified take offer requests by nodes with Tor v2 addresses will be rejected and their offers will be invisible to everyone else.
2021-06-14 17:01:40 +02:00
Christoph Atteneder
e9ef413722
Display a tor node address v3 upgrade prompt
whenever the client is in a state to do so without any problems.
2021-06-14 16:10:47 +02:00
ghubstan
21ac46ac0f
Fix log arg spec bug 2021-06-13 17:22:04 -03:00
ghubstan
54efad097d
Fix codacy issue 2021-06-13 14:05:00 -03:00
ghubstan
05f3985447
Fix problems found in codacy check 2021-06-13 13:54:16 -03:00
ghubstan
2344285ed3
Add editoffer method help 2021-06-13 12:55:23 -03:00
ghubstan
2b8b53bba8
Add server/core editOffer, adjust getMyOffer(s) impls
- Add editOffer to GrpcOffersService, CoreApi, CoreOffersService.

- Set editOffer call rate meter to 1 / minute.

- Use new EditOfferValidator to verify editOffer params OK.

- Adust getMyOffer(s) rpc impl and OfferInfo model to use OpenOffer
  for accessing activation state and trigger price.
2021-06-13 12:24:45 -03:00
ghubstan
d9dd718b4c
Fix comment 2021-06-12 18:42:14 -03:00
ghubstan
81da6fbe5a
Refactor EditOfferDataModel for new editoffer api method
- Define set of editable offer payload fields in MutableOfferPayloadFields.

- Move bulk of EditOfferDataModel#onPublishOffer logic to OfferUtil.
2021-06-12 18:35:27 -03:00
ghubstan
786b2ec42b
Remove commented out test 2021-06-12 17:46:33 -03:00
Christoph Atteneder
fb55e436f5
Only allow failed trade to be moved to pending trades if local node address matches contract 2021-06-09 11:47:41 +02:00
Christoph Atteneder
ab7fe6673e
Only allow dispute to be reopened if local node address matches contract node address 2021-06-09 11:32:57 +02:00
jmacxx
cc7346544b
feature to enable user avatars and tags in Disputes 2021-06-08 15:15:52 -05:00
Christoph Atteneder
992a6aad72
Merge pull request #5552 from jmacxx/warn_user_dao_out_of_sync
Remind user when their DAO state needs to be refreshed
2021-06-08 09:31:23 +02:00
andyheko
5a955e8d24
Remove Chase QuickPay as a payment method
Solved #5547
2021-06-07 16:34:52 -07:00
jmacxx
87261eca04
warn user when DAO needs resync 2021-06-07 16:20:19 -05:00
sqrrm
a8013f8bc0
Merge pull request #5543 from ripcurlx/minor-ui-cleanups
Minor UI cleanups
2021-06-02 15:28:36 +02:00
jmacxx
e4f88bef15
ChatMessage show error if no ACK received 2021-06-01 12:49:32 -05:00
Christoph Atteneder
7883df2977
Merge pull request #5500 from BtcContributor/fix_uphold
Add Account owner full name field to Uphold payment method
2021-06-01 12:52:13 +02:00
BtcContributor
6de7a0d861
Improve code readability 2021-06-01 09:57:41 +02:00
Bisq GitHub Admin
806253b1bd
Merge pull request #5541 from bisq-network/release/v1.6.5
Release/v1.6.5
2021-05-31 15:34:27 +02:00
Christoph Atteneder
4f75d83bc3
Remove offer duplication new feature info 2021-05-31 11:04:11 +02:00
Christoph Atteneder
a3e7d539b9
Remove XMR auto confirm feature hint 2021-05-31 11:03:33 +02:00
Christoph Atteneder
670ba8720b
Merge pull request #5534 from sqrrm/fix-send-bsq-change
Manually create BSQ outputs
2021-05-27 15:38:15 +02:00
sqrrm
9b023a371f
Manually create BSQ outputs
Avoid relying on bitcoinj completeTx for creation of BSQ change
outputs as dust BSQ would be used for mining fee, thus burning
the BSQ.
2021-05-27 11:23:32 +02:00
sqrrm
e9d61dd3d3
Manually create BSQ outputs
Avoid relying on bitcoinj completeTx for creation of BSQ change
outputs as dust BSQ would be used for mining fee, thus burning
the BSQ.
2021-05-26 15:32:32 +02:00
sqrrm
262b768d98
Add pending callbacks to FeeService
This fix guarantees a callback if there is a pending request rather than just
dropping the fee request.

When requestFee() is called the callbacks are added to a list of callBacks.
Once the next fee request completes all callbacks in the list are called
and the list cleared.
2021-05-25 12:49:49 +02:00
Christoph Atteneder
3a31ed7867
Update bitcoinj checkpoints for v1.6.5 2021-05-25 10:39:36 +02:00
Christoph Atteneder
7233979d94
Merge pull request #5521 from m52go/wait-wording
Address #5513 and add minor improvements
2021-05-22 22:10:39 +02:00
Christoph Atteneder
d66a858d51
Update translations for v1.6.5 2021-05-21 19:59:42 +02:00
Christoph Atteneder
1fa5724b7b
Remove unused imports 2021-05-21 19:58:27 +02:00
Christoph Atteneder
2fd5f40239
Reduce the number of connected BTC nodes from 9 to 7 2021-05-21 19:58:09 +02:00
m52go
8b9046525a
Address #5513 and add minor improvements 2021-05-21 13:49:38 -04:00
Christoph Atteneder
f7e27a907e
Remove unused imports 2021-05-21 19:09:33 +02:00
Christoph Atteneder
a046db528a
Reduce the number of connected BTC nodes from 9 to 7 2021-05-21 17:19:38 +02:00
BtcContributor
ed6c046ff5
Add account owner on display account + fix a couple of minor issues 2021-05-21 11:53:06 +02:00
BtcContributor
f835389993
Fix codacy issue 2021-05-18 18:20:53 +02:00
BtcContributor
8dfe2601df
Restore proto order and add backward compatibility 2021-05-18 18:10:20 +02:00
Christoph Atteneder
08320d862f
Merge pull request #5484 from cd2357/faster-sync-dao
Speed up "Synchronizing DAO" by ~30%
2021-05-17 20:35:15 +02:00
BtcContributor
2809e8d768
Add Account owner full name field to Uphold payment method 2021-05-17 11:24:07 +02:00
Christoph Atteneder
ee6ccc4869
Merge pull request #5450 from jmacxx/bsq_fee_estimation
reduce BSQ fee estimation constant for segwit
2021-05-17 10:36:19 +02:00
cd2357
dd803b0ef6
Rename variable for clarity
Rename blocksByHash because it is not actually indexing blocks by hashes, instead it's a cache of known hashes.
2021-05-17 08:38:26 +02:00
cd2357
b6dbe85313
Strengthen index integrity
Update the two new indices on every known write to the list, namely addBlock() and addBlocks(). Restrict ability to modify the blocks list outside of these methods by overwriting the getBlocks() getter such that it returns an unmodifiable list.
2021-05-15 22:34:27 +02:00
BtcContributor
0940312d8b
Fix text overlapping in Wallet Info menu 2021-05-13 15:17:15 +02:00
Christoph Atteneder
e375e9aadb
Merge pull request #5416 from xrhodium/fixed-xrc-title
Fixed XRC coin title to correct one
2021-05-12 21:29:05 +02:00
cd2357
9977920e4c
Address Codacy complaint / newline 2021-05-11 12:20:51 +02:00
cd2357
fea717eeab
Add blockHeight cache in DaoState
Improve block lookup by height by introducing an index, instead of iterating through all blocks and comparing the height.
2021-05-11 12:03:46 +02:00
cd2357
792d135693
Remove duplicate lookup method
Method is duplicate of isBlockHashKnown().
2021-05-11 11:49:30 +02:00
cd2357
ede38c13a3
Cache block hashes in DaoState
Improve isBlockHashKnown() by about 100ms per call by caching the hashes of the known blocks.
2021-05-11 11:03:57 +02:00
cd2357
a6897e5eb6
Improve timer accuracy in BlockParser
Measure the entire parseBlock() duration, not just the substep of parsing transactions.
2021-05-11 10:29:32 +02:00
BtcContributor
7ee9eae4ae
Restore missing displayStrings strings in Settings 2021-05-09 20:56:51 +02:00
sqrrm
993f9b4e29
Merge pull request #5475 from BtcContributor/bsq_dust
Fix the formula used to calculate BSQ amount needed to avoid dust
2021-05-07 12:52:43 +02:00
Christoph Atteneder
eb9bce3033
Merge pull request #5451 from BtcContributor/fixstringmakingoffer
Fix string when creating a new offer
2021-05-07 11:52:17 +02:00
Christoph Atteneder
89729c41c9
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.6.3
# Conflicts:
#	scripts/install_java.sh
2021-05-07 10:33:45 +02:00
BtcContributor
ff18e8afbe
Fix the amount required to avoid BSQ dust as the formula used was incorrect. 2021-05-07 10:21:44 +02:00
Marcus0x
1e8db48a7b
Fixed XRC Coin Title 2021-05-06 16:51:22 +02:00
BtcContributor
270f7ba3cb
Fix string also for takers 2021-05-06 15:45:05 +02:00
BtcContributor
1f7c4fce05
Apply m52go suggestion
Co-authored-by: m52go <735155+m52go@users.noreply.github.com>
2021-05-06 13:55:57 +02:00
Christoph Atteneder
83d9fa0ee8
Merge pull request #5453 from devinbileck/change-mempool.bisq.services-onion
Change mempool.bisq.services onion address
2021-05-05 14:27:06 +02:00
Christoph Atteneder
35ede06037
Filter banned seednodes with wrong format 2021-05-05 11:21:53 +02:00
Devin Bileck
f5fd99f9ad
Change mempool.bisq.services onion address
In the process of migrating the server to a new instance, my secret key
for the onion address seems to have become corrupted. Therefore, I
needed to generate a new onion address.
2021-04-30 14:43:56 -07:00
jmacxx
b68d7f31ec
per code-review, change BSQ segwit estimate to 70 2021-04-30 07:25:01 -05:00
BtcContributor
3047cd48d4
Fix missing verb in string when creating a new offer (again) 2021-04-30 11:24:21 +02:00
BtcContributor
943632fd7c
Fix missing verb in string when creating a new offer 2021-04-30 11:21:50 +02:00
jmacxx
5bfbac7191
reduce BSQ fee estimation constant for segwit 2021-04-29 14:20:28 -05:00
Christoph Atteneder
3520d9b16d
Remove key logger warning because of new notarization support and specific entitlements 2021-04-28 16:21:38 +02:00
Christoph Atteneder
12f4e0fc13
Remove key logger warning because of new notarization support and specific entitlements 2021-04-28 16:15:55 +02:00
Christoph Atteneder
ed21e1ac36
Merge pull request #5442 from m52go/remove-docs-links
Switch docs links to wiki links in strings file
2021-04-28 15:59:52 +02:00
Christoph Atteneder
81b3c0ac6a
Merge pull request #5443 from m52go/other-docs-links
Switch remaining docs links in repository
2021-04-28 15:59:13 +02:00
chimp1984
e46669d9b1
Move null check up 2021-04-28 07:35:52 -05:00
chimp1984
68af436ef4
Add missing check if tx was in correct phase
There have been 1 tx in cycle 17 and 2 txs in cycle 23 which have been confirmed outside of the phase.
The vote result had excluded it correctly but for the hash calculation for the blind vote monitor the
phase check was missing which results in an incorrect hash.
By fixing that the past hashes back to cycle 17 are all invalid. Once all seed nodes are running that
patch nodes should be in sync again. As it did not affect consensus but only the monitoring it is not
critical.
2021-04-27 22:49:59 -05:00
m52go
6d9c53ed0c
Switch old docs links to wiki links 2021-04-27 16:29:14 -04:00
m52go
1550597f63
Switch remaining docs links to wiki links 2021-04-27 16:07:39 -04:00
Christoph Atteneder
c615d5dbf9
Merge pull request #5109 from stejbac/implement-segwit-for-bsq-wallet
Wallet changes for Segwit BSQ implementation
2021-04-27 20:58:51 +02:00
Steven Barclay
9760526aaa
Factor out shared segwit keychain setup to WalletsManager
Move consecutive maybeAddSegwitKeychain(..) calls for the BTC & BSQ
wallets from BisqSetup to WalletsManager, as the latter class is used
for operations which should be applied to both wallets and this moves
the logic closer to the wallet domain.

Also migrate a BSQ address validator in one of the test mock classes
from Base58AddressValidator to BitcoinAddressValidator (missed earlier).
2021-04-27 11:45:00 +01:00
Steven Barclay
5f1e32a226
Perform segwit BSQ wallet migration upon startup
Uncomment & enable the m/44'/142'/1' native segwit BSQ account path and
add code to migrate the user's BSQ wallet to segwit upon startup, along
the same lines as the existing BTC wallet segwit migration logic. That
is, set P2WPKH as the default output type, add a native segwit key chain
(set to active) to the BSQ wallet and back up the old 'bisq_BSQ.wallet'
file to 'pre_segwit_bisq_BSQ.wallet.backup'.

Also filter out legacy addresses coming from the original keychain from
BsqWalletService.get(Unused|Change)Address.
2021-04-27 11:26:13 +01:00
sqrrm
036d5fa977
Merge pull request #5439 from ripcurlx/release/v1.6.3
Update data stores for v1.6.3
2021-04-27 12:21:17 +02:00
Steven Barclay
3470429746
Allow use of bech32 BSQ addresses
Remove the restriction to base58 (P2SH & P2PKH) addresses when parsing,
formatting & validating BSQ addresses, by replacing o.b.c.LegacyAddress
with its superclass o.b.c.Address throughout. Also remove restriction to
LegacyAddress in BsqTxListItem and BsqTransfer(Service|Model).

The bech32 BSQ addresses follow the same format as the old base58 BSQ
addresses, namely 'B' + <btc-address>.
2021-04-27 11:08:10 +01:00
Steven Barclay
ce73fb85f3
Code cleanup: Simplify Optional stream processing
Use flatMap(Optional::stream) instead of filter(..isPresent).map(..get)
and avoid a redundantly nested Optional in OpReturnType.

Also replace some unnecessary stream().forEach(..) invocations on lists
in BtcWalletService, as forEach is already part of the List interface.
2021-04-27 10:39:30 +01:00
jmacxx
889ac863f6
v1.6.3 wording changes recommended by btc_contributor and pazza 2021-04-26 11:24:02 +02:00
Christoph Atteneder
69c7817340
Merge pull request #5438 from jmacxx/wording_changes_v163
v1.6.3 wording changes / clarification
2021-04-26 10:20:13 +02:00
jmacxx
94ebbc4ff3
v1.6.3 wording changes recommended by btc_contributor and pazza 2021-04-25 23:05:32 -05:00
Christoph Atteneder
0f9f43c9ba
Update bitcoinj checkpoints for v1.6.3 2021-04-22 11:38:11 +02:00
Christoph Atteneder
f6b244ec78
Update translations for v1.6.3 2021-04-22 10:42:58 +02:00
sqrrm
469448a218
Merge pull request #5431 from ripcurlx/upgrade-javafax-14
Upgrade Java to v11 and JavaFX to v15
2021-04-22 10:18:42 +02:00
Christoph Atteneder
de76bd051b
Merge pull request #5427 from jmacxx/fix_issue_5334
Show a SPV resync suggestion if trade remains unconfirmed for 3 hours or more
2021-04-22 09:21:21 +02:00
jmacxx
3c3dca0053
show a SPV msg if trade deposit remains unconfirmed for 3 hours or more 2021-04-21 20:00:01 -05:00
jmacxx
a5d5eafddf
@m52go edits and popup informing new feature 2021-04-21 15:54:16 -05:00
jmacxx
7f73df5dfd
Functionality to duplicate an offer 2021-04-20 16:22:49 -05:00
sqrrm
12a9fcc1e0
Merge pull request #5420 from ghubstan/01-update-txfee
Adjust to changing minimum tx fee rates
2021-04-20 11:51:09 +02:00
sqrrm
de8213a95d
Merge pull request #5412 from ghubstan/complete-api-bsqbtc-trade-support
Complete API support for BSQ/BTC trade pair
2021-04-20 11:47:13 +02:00
Christoph Atteneder
fbd7c9fbee
Merge pull request #5312 from BtcContributor/sendcustomfee
Add custom withdrawal transaction fee options on Send funds (BTC)
2021-04-20 09:26:30 +02:00
ghubstan
2308afb41b
Adjust to changing minimum tx fee rates
- Append minFeeServiceRate to TxFeeRateInfo proto.
- Display min rate in CLI console.
- Fix broken test due to changing min fee rate.
2021-04-19 12:08:52 -03:00
BtcContributor
d235316528
Restore manual fees for BSQ transactions in Settings 2021-04-19 16:58:00 +02:00
ghubstan
e96da16df8
Complete API support for BSQ/BTC trade pair
- Finished API server's verify bsq payment impl.
- Added verifybsqsenttoaddress method to CLI.
- Added verifybsqsenttoaddress-help.txt to server.
- Fixed client getoffers, getmyoffers to work with BSQ offers.
2021-04-15 14:21:25 -03:00
ghubstan
8ac30262c0
Add verifyBsqSentToAddress to GrpcWalletsService, CoreApi
The implemenation is already present in CoreWalletsService
2021-04-15 11:40:19 -03:00
Christoph Atteneder
64fe6c18a4
Merge pull request #5370 from jmacxx/mediation_follow_up_issues2
Disputes UI improvements
2021-04-13 11:16:38 +02:00
Christoph Atteneder
c951dc2288
Merge pull request #5234 from BtcContributor/hidebankid
Fix BankId leak
2021-04-13 10:57:51 +02:00
Christoph Atteneder
ca2731e779
Merge pull request #5388 from jmacxx/fix_seednode_persist
Fix shutdown persistence issue in Seednode
2021-04-13 09:33:36 +02:00
Devin Bileck
88299236f9
Merge branch 'master' of https://github.com/bisq-network/bisq into add-btc-node-wubwzaadboxwiffa 2021-04-12 17:42:35 -07:00
Christoph Atteneder
92a9cb654b
Merge pull request #5402 from maxim-belkin/wording-tweak
Tweak wording for takeOffer.fundsBox.isOfferAvailable
2021-04-12 16:29:10 +02:00
Christoph Atteneder
d8b42d7aac
Merge pull request #5399 from jmacxx/cashbymail_enhance_terms
CashByMail show terms and conditions upon taking an offer
2021-04-12 16:05:06 +02:00
cd2357
e04537aca6
Merge remote-tracking branch 'bisq-network/hotfix/v1.6.2' into upgrade-javafax-14 2021-04-10 10:31:04 +02:00
Maxim Belkin
bf3714a604
Tweak wording for takeOffer.fundsBox.isOfferAvailable 2021-04-09 14:21:40 -05:00
jmacxx
e5399f189c
Wait for AckMessage before completing task 2021-04-09 09:41:41 -05:00
jmacxx
42428b79b9
CashByMail show terms and conditions upon taking an offer 2021-04-06 22:03:52 -05:00
Devin Bileck
b85b0862cb
Add BTC node wubwzaadboxwiffa.onion
Adding this node to help alleviate the increased network load.
2021-04-05 11:53:44 -07:00
jmacxx
62021e4223
Fix shutdown persistence issue in Seednode 2021-04-02 23:26:35 -05:00
ghubstan
6bde12ba40
Improve takeoffer output and failure reason messaging
- Added AvailabilityResultWithDescription proto for better takeoffer failure msgs.
- Added VerifyBsqSentToAddress impl to api, but don't expose to CLI yet.
- Show BSQ Buyer Address in gettrade output (changed cli output formatting classes).
- Fixed api.model.PaymentAccountPayloadInfo altcoin instant acct support bug
2021-04-01 16:40:08 -03:00
ghubstan
6299dc33d9
Merge branch '01-api-add-createcryptopaymentacct' into 02-api-trade-contract-details 2021-04-01 15:58:59 -03:00
ghubstan
58c885efc1
Add support for creating instant altcoin payment accounts in api
- Added bool tradeInstant field to proto message def.
- Adjusted core createcryptopaymentacct impl to new tradeInstant request param.
- Adjusted cli side createcryptopaymentacct impl to new tradeInstant request param.
- Fixed CliMain's takeoffer help text (was missing the --payment-account opt).
2021-04-01 15:43:48 -03:00
ghubstan
2d66a5996d
Merge branch 'master' into 01-api-add-createcryptopaymentacct 2021-04-01 14:54:05 -03:00
jmacxx
089e476901
fix NPE in portfolio view when market price n/a 2021-04-01 09:47:12 +02:00
jmacxx
d567170bdb
use semaphore for SPV resync 2021-04-01 09:47:02 +02:00
Christoph Atteneder
dca0d5b5c2
Merge pull request #5385 from jmacxx/fix_npe_portfolio_view
Fix NPE in Portfolio View when market price n/a
2021-04-01 09:43:37 +02:00
sqrrm
308d8dec52
Merge pull request #5380 from jmacxx/spv_resync_use_semaphore
Use semaphore for SPV resync
2021-03-31 23:00:25 +02:00
jmacxx
e00532a040
fix NPE in portfolio view when market price n/a 2021-03-31 15:13:10 -05:00
jmacxx
26da6cbbe3
use semaphore for SPV resync 2021-03-30 22:42:48 -05:00
cd2357
ca5f41a9d9
Merge remote-tracking branch 'bisq-network/hotfix/v1.6.1' into upgrade-javafax-14
# Conflicts:
#	build.gradle
2021-03-29 18:37:14 +02:00
jmacxx
bf81c03708
Add a visual border indication for dispute chat window 2021-03-28 15:53:01 -05:00
jmacxx
094da74433
allow default fee values in leniency check 2021-03-28 20:14:59 +02:00
Christoph Atteneder
0815a99930
Update translations for v1.6.1 2021-03-28 20:13:34 +02:00
Christoph Atteneder
fd17c5790e
Merge pull request #5365 from jmacxx/fee_validation_default_rate
Allow default fee values in leniency check
2021-03-28 20:04:52 +02:00
jmacxx
93da6815b3
allow default fee values in leniency check 2021-03-27 15:50:58 -05:00
ghubstan
9e035e5542
Provide more offer & contract detail available to CLI.
This change adds offer and trade contract detail to the API's Offer
and Trade protos, and improves CLI output formatting.

- Appended missing fields to OfferInfo proto message:
	uint64 sellerSecurityDeposit = 20;
	string offerFeePaymentTxId = 21;
	uint64 txFee = 22;
	uint64 makerFee = 23;

- Added new api proto messages ContractInfo and PaymentAccountPayloadInfo.
  Lighterweight protos are needed because core Trade/Contract classes are
  not visible to CLI.

- Appended ContractInfo field to api proto message TradeInfo.

- Added proto / model converters for ContractInfo and PaymentAccountPayloadInfo,
  and adjusted OfferInfo & TradeInfo.

- Improved CLI output formatting.  Added more trade detail to CLI's gettrade output,
  and prepared to support BTC/BSQ trading pair.  Note a reviewer is advised to
  look at the CLI outout formatting class files instead getting bogged down in the
  many commit changes.
2021-03-25 19:23:06 -03:00
ghubstan
c3f5669cf8
Add api method createcryptopaymentacct
This change supports creation of BSQ BLOCKCHAIN payment method accounts.

- Added proto message defs to grpc.proto.
- Added grpc server boilerplate to GrpcPaymentAccountsService.
- Added server impl to CoreApi, CorePaymentAccountsService.
- Added createcryptopaymentacct-help.txt.
- Added CLI side support for new api method.
- Added opt parsing unit tests to OptionParsersTest.

This is the 1st PR in a series, with the goal of supporting the BTC/BSQ trading
pair.  Support for other crypto currency payment accounts will be added later.
2021-03-25 18:36:26 -03:00
Christoph Atteneder
306f0f0126
Update bitcoinj checkpoints for v1.6.0 2021-03-24 10:55:02 +01:00
jmacxx
39d86b4f80
Fee validation leniency using old DAO param values 2021-03-24 09:58:24 +01:00
Christoph Atteneder
4290613973
Merge pull request #5347 from jmacxx/fee_validation_allow_old_param
Fee validation leniency using old DAO param values
2021-03-24 09:58:02 +01:00
jmacxx
508b523186
Review changes for Disputes GUI
highlight trade period end using an appropriate CSS alert style
system messages to show in chat unread message count
2021-03-24 09:46:25 +01:00
jmacxx
e9b3b9ac1f
Review changes for Disputes GUI
highlight trade period end using an appropriate CSS alert style
system messages to show in chat unread message count
2021-03-23 23:02:21 -05:00
jmacxx
f85667b55a
Fee validation leniency using old DAO param values 2021-03-23 15:32:01 -05:00
jmacxx
8a9843bc15
Pop-up warning for trading with risky payment methods 2021-03-23 15:11:57 +01:00