Commit Graph

304 Commits

Author SHA1 Message Date
HenrikJannsen
b0b54d3617
Add uid to Filter
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:06:43 +00:00
HenrikJannsen
f38b64b9ed
Add addedBtcNodes and addedSeedNodes fields to Filter.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:05:06 +00:00
jmacxx
9738d5387e
Add API for payment started with XMR auto conf params. 2024-02-26 08:39:39 -06:00
Alejandro García
e53fb3521f
Merge pull request #7023 from jmacxx/fix_issue_7022
GetTrades should not filter open failed trades
2024-02-25 14:31:39 +00:00
jmacxx
1cad6c86e6
GetTrades should not filter open failed trades.
API add has_failed and error_message properties to TradeInfo.
Code review fixes from @dutu.
2024-02-14 16:59:11 -06:00
jmacxx
0eb50d420b
Expose isDaoStateReadyAndInSync status to API clients. 2024-02-09 13:30:28 -06:00
HenrikJannsen
c2e8189571
Add sellerConfirmedPaymentReceiptDate to Trade
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-08 19:08:52 +07:00
HenrikJannsen
91a70d89a4
Add delayedPayoutPaymentAccounts to Filter
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-08 19:08:52 +07:00
Alejandro García
9f5368f0b5
Merge pull request #6851 from jmacxx/add_mercadopago_payment_method
Add MercadoPago payment method.
2023-09-11 21:28:19 +00:00
jmacxx
dd1c339432
Add MercadoPago payment method. 2023-09-05 16:27:31 -05:00
jmacxx
e9ec3d72e1
Improve flow in create/take offer process.
When creating or taking an offer the user gets the choice to fund the
trade from an external wallet for potentially better privacy (avoid
coin merge if inputs from ext. wallet are kept separated). From
feedback it seems that most users are not using that option and then
they need to do that extra click on the "Fund from internal Bisq
wallet" button.
We offer a way to avoid that extra step if the user chooses
to use the internal wallet. We show at the first time a popup
with background info why funding from an external wallet could
improve privacy and if the user prefers to not use that to give them
an option to skip that step in future. In the settings we could add
a toggle to re-enable it again.
The review screen can be skipped if user chooses this feature,
leading to data entry > confirm rather than
data entry > fund > review > confirm.
2023-09-04 13:35:46 -05:00
Alva Swanson
6b92629b86
Improve build-time: Lazily apply gRPC plugin
For details see:
https://docs.gradle.org/current/userguide/task_configuration_avoidance.html
2023-07-17 18:49:10 +02:00
Alejandro García
9869410587
Merge branch 'master' into declare_protobuf_java_version_in_platorm_for_all_dependencies 2023-07-06 19:39:40 +00:00
Alejandro García
1aaa7d2dd5
Merge pull request #6757 from alvasw/proto_remove_redundant_source_set_definitions
proto: Remove redundant 'sourceSets.main.java.srcDirs += '
2023-07-06 19:38:07 +00:00
Alejandro García
f56c1b34c4
Merge pull request #6756 from alvasw/proto_add_idea_plugin
proto: Add idea plugin
2023-07-06 19:37:43 +00:00
Alejandro García
f295f164c5
Merge pull request #6755 from alvasw/apply_proto_tasks_only_to_main_source_set
proto: Apply proto tasks only to main source set
2023-07-06 19:37:08 +00:00
Alejandro García
9693826595
Merge pull request #6754 from alvasw/declace_grpc_version_in_proto_version
Declare grpc compiler version in proto module
2023-07-06 19:36:28 +00:00
Alva Swanson
f6dff320d5
proto: Remove redundant 'sourceSets.main.java.srcDirs += ' 2023-07-06 18:27:36 +02:00
Alva Swanson
56e1969444
proto: Add idea plugin
The protobuf-gradle-plugin automatically registers proto files and
generated Java code as sources to the idea plugin.
2023-07-06 18:26:31 +02:00
Alva Swanson
2bbed1f60f
proto: Apply proto tasks only to main source set 2023-07-06 18:24:51 +02:00
Alva Swanson
e5e1ec092d
Declare grpc compiler version in proto module 2023-07-06 18:23:12 +02:00
Alva Swanson
d9056fa2be
Declare protoc version in proto module 2023-07-06 18:21:35 +02:00
Alva Swanson
78a742695c
Declare global protobuf-java in Java Platform Plugin
The constraints in the platform module apply to all libraries (including
to transitively included libraries).
2023-07-06 18:18:59 +02:00
HenrikJannsen
1ebc92e5b8
Add reset buttons for BM accounting 2023-07-01 14:25:43 +02:00
helixx87
aca897fa03
API: gettransactions method 2023-06-08 10:19:41 +02:00
Alejandro García
e8a3d92d34
Merge pull request #6646 from helixx87/api-get-all
Support "all" attribute in getoffers API method
2023-04-15 02:31:02 +00:00
helixx87
458f50dec9
Support "all" attribute in getoffers API method 2023-04-11 12:50:00 +02:00
HenrikJannsen
fb5b56d03c
Add processBurningManAccountingData field to preferences
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-04-10 14:38:37 +07:00
jmacxx
c404eb1e91
Support UI improvements (per bisq project 67). 2023-03-11 22:06:07 -06:00
Alva Swanson
c1c4caf87f
Gradle: Apply bisq.java-conventions to all projects 2023-02-05 22:02:13 +01:00
Christoph Atteneder
40d949cbc9
Merge pull request #6463 from HenrikJannsen/adjust_burn_target
Adjust burn target
2022-12-19 09:29:55 +01:00
HenrikJannsen
21541d6880
Add INVALID_SNAPSHOT_HEIGHT to AvailabilityResult.
Use AvailabilityResult.INVALID_SNAPSHOT_HEIGHT instead of AckMessage with error.
Show description in error popup instead of enum name.
Return PRICE_CHECK_FAILED instead of UNKNOWN_FAILURE at error at price check also for non api users.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-18 13:13:36 -05:00
Alva Swanson
5d30d44b15
Gradle: Move protoc build-logic into its own build.gradle 2022-12-14 17:38:35 +02:00
Christoph Atteneder
71d6e126dd
Merge pull request #6423 from HenrikJannsen/add-burningman-accounting
Add burningman accounting
2022-12-14 10:17:38 +01:00
HenrikJannsen
f28e3960da
Rename *ValueItem to *ValueReportingItem
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:26:50 -05:00
HenrikJannsen
90550dee3f
Add messages and domain data for accounting domain
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:17 -05:00
HenrikJannsen
e16a9b00b1
Add verifyDelayedPayoutTxReceivers method in RefundManager.
Add burningManSelectionHeight and tradeTxFee in Dispute.
Call validateDonationAddressMatchesAnyPastParamValues and validateDonationAddress
only if legacy BM was used.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:08 -05:00
HenrikJannsen
e2ce053a01
Add burningManSelectionHeight fields to OfferAvailabilityRequest, InputsForDepositTxRequest and ProcessModel.
Use BurningManService.getBtcFeeReceiverAddress at createFeeTx tasks.
Verify takers burningManSelectionHeight if BurningManService.isActivated at MakerProcessesInputsForDepositTxRequest and OpenOfferManager.
Stores burningManSelectionHeight in ProcessModel.
Add BurningManService fields to OfferAvailabilityModel, PlaceOfferModel, OpenOfferManager and Provider

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:07 -05:00
HenrikJannsen
f98cd04fd8
Use LongValueItem instead of IntegerValueItem
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-09 08:54:28 -05:00
HenrikJannsen
2c84f07ada
Add value objects and protobuf definitions
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:51:08 -05:00
jmacxx
c796531658
Increase trading limits as an opt-in setting (GH proposal 398)
More restrictive limits will still apply based on payment method.

It is intended to avoid that a new users who do not fully understand
the process of a Bisq trade to cause an arbitration case with high
amounts and therefore higher risks and costs for the DAO.
2022-11-29 09:32:38 -06:00
Android-X13
d77b76034d
Include option for non-URI addresses in QR codes 2022-11-22 23:11:45 +02:00
chimp1984
c40d4ffffa
Add wasTruncated flag
Indicates if data response contained all data or was truncated
2022-09-20 18:33:23 -05:00
ghubstan
35f4fe14b2
Improve takeoffer param api ref comments 2022-09-11 12:21:26 -03:00
ghubstan
39c42ddb07
Add amount field to TakeOfferRequest proto msg 2022-08-06 15:04:07 -03:00
ghubstan
60c7feeb5d
Update .proto rpc get/take offer method comments
Explain that the API's getoffer(s) and takeoffer methods only
work as expected when the user's node has payment account/methods
matching the available offers' own payment methods.

- getoffers returns only the offers with payment methods matching
  those set up on the user's node

- getoffer will only return the offer if the user's node has a
  payment method matching the payment method associated with the
  requested offer

- takeoffer will fail if the user's node does not have a matching
  payment method
2022-06-29 11:53:20 -03:00
ghubstan
ed3e17cec5
Fix snake_case field name
Be consistent, and x-language.
2022-06-23 15:06:13 -03: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
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
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