Christoph Atteneder
590bb6cdb8
Merge pull request #6262 from ghubstan/fix_snake_case_proto_field_name
...
Fix snake_case field names
2022-06-24 20:11:18 +02:00
ghubstan
ed3e17cec5
Fix snake_case field name
...
Be consistent, and x-language.
2022-06-23 15:06:13 -03:00
Christoph Atteneder
6233dab8d6
Merge pull request #6259 from bisq-network/release/v1.9.2
...
Release/v1.9.2
2022-06-23 09:28:37 +02:00
Christoph Atteneder
56d8842092
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.9.2
...
Conflicts:
build.gradle
desktop/package/linux/Dockerfile
desktop/package/macosx/finalize.sh
desktop/package/macosx/insert_snapshot_version.sh
relay/src/main/resources/version.txt
2022-06-23 09:03:33 +02:00
Christoph Atteneder
e0d158b611
Merge pull request #6254 from Emzy/master
...
Install tor from tor repository and add external tor as default
2022-06-23 08:58:58 +02:00
Stephan Oeste
90914bba5b
delete unintentional line break
...
Signed-off-by: Stephan Oeste <emzy@emzy.de>
2022-06-23 00:49:22 +02:00
Stephan Oeste
7033f08b41
fix for file create
2022-06-23 00:49:19 +02:00
Stephan Oeste
275f9c9da0
Install tor from tor repository and add external tor as default
2022-06-23 00:49:16 +02:00
Christoph Atteneder
a2d84b0174
Revert to SNAPSHOT version
2022-06-22 21:20:18 +02:00
Christoph Atteneder
043f1e4c70
Bump version number for v1.9.2
2022-06-21 20:39:23 +02:00
chimp1984
97cbc21d61
Add netlayer 0.7.3
...
Conflicts:
gradle/verification-metadata.xml
2022-06-21 20:36:36 +02:00
Christoph Atteneder
c5bdbc512a
Merge pull request #6252 from chimp1984/update_to_netlayer_0.7.3
...
Update to netlayer 0.7.3
2022-06-21 11:23:38 +02:00
chimp1984
03efe23449
Add netlayer 0.7.3
2022-06-20 23:05:42 +02:00
Christoph Atteneder
444f2183e5
Merge pull request #6236 from jmacxx/xmr_subaddresses
...
Feat: XMR subaddresses per account
2022-06-20 20:40:20 +02:00
Christoph Atteneder
188f43774d
Merge pull request #6253 from ghubstan/block-takeswapeoffer-with-insufficient-btc
...
Block API attempt to swap BSQ with insufficient funds
2022-06-20 20:39:13 +02:00
Christoph Atteneder
b794312184
Merge pull request #6228 from chimp1984/use-bisq2-rest-infrastructure-for-daonode
...
Use bisq2 rest infrastructure for daonode
2022-06-20 20:38:06 +02:00
Christoph Atteneder
d1c47ad3ec
Merge pull request #6250 from ghubstan/add-api-price-service-getaverageprice
...
Add API method 'getavgbsqprice'
2022-06-20 20:37:27 +02:00
Christoph Atteneder
70b5df7b6e
Merge pull request #6249 from ghubstan/add-api-wallet-service-getnetwork-method
...
Add API method 'getnetwork'
2022-06-20 20:37:15 +02:00
Christoph Atteneder
4369c4c909
Merge pull request #6248 from ghubstan/reverse-get-altcoin-offers-list-order
...
Make API getoffers (altcoin) offer list order match UI
2022-06-20 20:37:05 +02:00
Christoph Atteneder
d5e0c53c09
Merge pull request #6247 from ghubstan/check-precondition-for-confirm-payment-sent-or-rcvd
...
Conditionally block API's send payment sent/rcvd msgs
2022-06-20 20:36:53 +02:00
ghubstan
2893ec2564
Block API attempt swap BSQ if !sufficient funds
...
This API bug was relying on the UI purposed TaskRunner to bubble up an
insufficient funds error to the client, but it cannot do that.
This change blocks the takeoffer attempt if sufficient funds are not
found after the swap model calculates the taker's trade amounts.
Related: https://github.com/bisq-network/bisq/pull/6221
Based on https://github.com/bisq-network/bisq/pull/6250 .
Based on branch `add-api-price-service-getaverageprice`.
2022-06-20 12:00:39 -03:00
ghubstan
2c043b4b21
Minor refactoring
2022-06-18 11:24:39 -03:00
ghubstan
a12dd52b81
Add API method 'getavgbsqprice'
...
Returns volume weighted average BSQ price in BTC and USD over N days.
The need for this arose while creating a Java BSQ Swap bot example
(PR pending). API bots can use this to determine whether or not to
take swap offers based on their price distance above or below the 30
(or 90) day trade price average.
2022-06-17 18:26:10 -03:00
ghubstan
71365be48c
Add rate meter for getnetwork method (1/sec)
2022-06-17 09:22:08 -03:00
ghubstan
815e0500b9
Move getnetwork test to WalletTest suite
2022-06-17 09:19:57 -03:00
ghubstan
b482618403
Move GetNetworkRequest down to WalletsServiceRequest
2022-06-16 15:45:51 -03:00
ghubstan
ae41e98db9
Add API API method 'getnetwork'
...
Returns name of the BTC network API daemon is connected to.
I am working on some Java bot examples in another repo, and want to stop
worrying about accidentally simulating trade payments on mainnet, despite
all the warnings I add in comments. The 'getnetwork' method allows bots
to know what network the API daemon is connected to, and gives API bot
devs and users a way to avoid one potential source of costly mistakes.
API CLI manpage and apitest case are included in this commit.
2022-06-16 15:31:03 -03:00
jmacxx
97ab98a0cf
Remove rules/penalties popup and other unused text resource.
2022-06-14 13:28:35 -05:00
jmacxx
920e05562c
Feat: XMR subaddresses per account
...
incremente subaddress index at the start of the trade
Add subaccounts
Rename XmrAccountHelper to XmrAccountDelegate
Add map as final non null value
Persist subaccounts in User
Add display of used subaddresses and tradeId in account summary.
Main address and account index are the unique key for sub accounts.
Use the initial subaddress chosen by the user.
chimp1984 code review patch.
News badge/info for Account, disable old ones.
Show XMR subaddress popup info at Account (news badge), not startup.
2022-06-14 09:53:44 -05:00
ghubstan
0fc22c02f4
Make API getoffers (altcoin) offer list order match UI
...
This change reverses the server-side sorting of returned altcoin
offer lists, to match the UI altcoin offer-book views' price ordering.
2022-06-14 11:42:55 -03:00
ghubstan
94c2107da3
Merge branch 'master' into check-precondition-for-confirm-payment-sent-or-rcvd
2022-06-14 09:21:01 -03:00
ghubstan
2db1e4cb3d
Add new msg precondition unit test to Trade test suites
2022-06-14 08:50:24 -03:00
ghubstan
87cce9053f
Minor formatting, rename a method
2022-06-14 08:49:45 -03:00
chimp1984
bbf79872ac
Update dependency verification metadata
2022-06-14 12:53:11 +02:00
chimp1984
593c0b8bb5
Apply code review suggestions part 2
2022-06-14 12:53:07 +02:00
chimp1984
27b78b6217
Apply code review suggestions
2022-06-14 12:53:07 +02:00
chimp1984
a33975c446
Cleanups
2022-06-14 12:53:07 +02:00
chimp1984
61b91e0511
Add params for url:port
2022-06-14 12:53:06 +02:00
chimp1984
44ae4017d1
Use Bisq2 rest infrastructure with swagger support
2022-06-14 12:53:06 +02:00
Christoph Atteneder
dd4be1cc90
Merge pull request #6239 from jmacxx/mempool_economy_fee
...
Adopt economyFee recommendation from mempool rate provider.
2022-06-14 10:58:55 +02:00
ghubstan
7570671994
Add payment msg precondition checks to v1 protocol tests
...
- verifyPaymentSentMsgIsFromBtcBuyerPrecondition
- verifyPaymentReceivedMsgIsFromBtcSellerPrecondition
- verifyPaymentSentMsgDepositTxConfirmedPrecondition
- verifyPaymentReceivedMsgDepositTxConfirmedPrecondition
- verifyPaymentReceivedMsgAfterPaymentSentMsgPrecondition
2022-06-13 21:30:36 -03:00
ghubstan
3ce68d6b0c
Adjust to method renaming in superclass
2022-06-13 21:29:30 -03:00
ghubstan
421cdcaa0f
Deprecate BSQ v1 protocol trade tests
2022-06-13 21:28:54 -03:00
ghubstan
4bad8152f0
Add payment msg precondition checks to AbstractTradeTest
...
- verifyPaymentSentMsgIsFromBtcBuyerPrecondition
- verifyPaymentReceivedMsgIsFromBtcSellerPrecondition
- verifyPaymentSentMsgDepositTxConfirmedPrecondition
- verifyPaymentReceivedMsgDepositTxConfirmedPrecondition
- verifyPaymentReceivedMsgAfterPaymentSentMsgPrecondition
Changed a couple of related method names.
2022-06-13 21:25:13 -03:00
ghubstan
4be8040403
Disable BSQ v1 protocol trade tests in TradeTest suite
...
Replaced by BSQ Swaps, and will be deprecated.
2022-06-13 21:22:07 -03:00
ghubstan
57509890f2
Throw client-friendly EX for payment sent/rcvd msgs
...
Don't depend on silent, UI purposed task runner errors if confirmpaymentstarted
or confirmpaymentreceived msgs are sent outside the proper context.
Throw a FailedPreconditionException instead, and it will be translated
into the proper gPRC StatusRuntimeException before being sent to client.
For BTC buyers and sellers, block the messaging attempt if the taker
deposit tx has not been confirmed.
For BTC sellers, block an attempt to send a confirmpaymentreceived message
until after receiving a confirmpaymentstarted message has been sent from
the buyer.
2022-06-13 21:16:14 -03:00
Bisq GitHub Admin
0a20306585
Merge pull request #6242 from ripcurlx/update-depenedency-verification-file-for-seednode
...
Update dependency verification for changes in pricenode
2022-06-09 16:14:29 +02:00
Christoph Atteneder
837679996a
Merge pull request #6233 from xyzmaker123/fix-duplicate-offer-npe
...
Fix NPE when duplicate offer with deleted account
2022-06-09 10:09:33 +02:00
Christoph Atteneder
6fdd47917f
Merge pull request #6241 from jmacxx/buyer_start_payment_gui
...
Start payment screen reftext message & sizing fixes.
2022-06-09 10:08:52 +02:00
Christoph Atteneder
49a466ff63
Merge pull request #6234 from jmacxx/aus_payid_buyer_form
...
Fix: Australia PayID was not displaying payment info on buyer trade
2022-06-09 10:06:08 +02:00