Commit Graph

16622 Commits

Author SHA1 Message Date
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
Christoph Atteneder
8b2affea95
Merge pull request #6235 from jmacxx/fix_issue_6218
Prevent account creation for banned Revolut GBP sort code 040075
2022-06-09 10:05:39 +02:00
Christoph Atteneder
b1a53531ad
Update dependency verification for changes in pricenode 2022-06-09 09:41:33 +02:00
jmacxx
5bf2a78844
Start payment screen reftext message & sizing fixes. 2022-06-07 22:08:57 -05:00
jmacxx
08570c929d
Adopt economyFee recommendation from mempool rate provider. 2022-06-06 10:09:39 -05:00
Christoph Atteneder
52303ba6c4
Merge pull request #6237 from Emzy/patch-1
Update Java version.
2022-06-06 14:58:08 +02:00
Stephan Oeste
34766592da
Update Java version.
This is the version we use now.
2022-06-06 11:40:10 +02:00
jmacxx
82550314b4
Prevent account creation for banned Revolut GBP sort code 040075. 2022-06-04 10:47:27 -05:00
jmacxx
b1147b6504
Fix: Austrailia PayID was not displaying payment info on buyer trade. 2022-06-04 09:28:07 -05:00
xyzmaker123
3c670084f0
Handle BsqSwap account in hiding "duplicate offer" button logic 2022-06-02 09:10:56 +02:00
xyzmaker123
5df700824f
Hide "duplicate offer" button when no appropriate account exists 2022-06-01 22:00:58 +02:00
xyzmaker123
09f23f3b6c
Fix NPE when duplicate offer with deleted account 2022-06-01 10:49:32 +02:00
Christoph Atteneder
a62655c15d
Merge pull request #6217 from chimp1984/improve-xmr-proof-service
Improve xmr proof service
2022-06-01 09:16:48 +02:00
Christoph Atteneder
6baf89eb04
Merge pull request #6231 from chimp1984/reset_tor_files_at_seed_node_startup
Clean up tor files at seed node startup
2022-05-31 20:51:37 +02:00
Christoph Atteneder
88053166b2
Merge pull request #6230 from alkum/patch-1
Pricenode: Add JVM flag ExitOnOutOfMemoryError
2022-05-31 20:50:54 +02:00
Christoph Atteneder
4540056a41
Merge pull request #6229 from jmacxx/upgrade_pricenode_xchange_5-0-13
Pricenode upgrade to XChange 5.0.13
2022-05-31 20:50:10 +02:00
alkum
247fb5bd30
Add ExitOnOutOfMemoryError JVM flag tp seednode
Flag ensures the seednode exists with error code 3 when an OutOfMemory exception happens.
2022-05-31 20:22:53 +02:00
chimp1984
7202f02dce
startApplication after cleanupTorFiles is completed 2022-05-31 13:16:04 +02:00
chimp1984
9741b79d20
Clean up tor files at seed node startup 2022-05-31 12:43:21 +02:00
chimp1984
d1987330c7
Remove log 2022-05-31 12:34:51 +02:00
chimp1984
89293f1bbf
Use https://www.getmonero.org instead of https://web.getmonero.org 2022-05-31 12:28:59 +02:00
alkum
4d35ed9132
Add JVM flag ExitOnOutOfMemoryError
Add flag that causes the JVM to exit with exit code 3 whenever there is an OutOfMemory exception.
2022-05-31 11:46:09 +02:00
jmacxx
1c9aff0f21
Upgrade XChange 5.0.13, remove BitBay CoinPaprika add CoinbasePro. 2022-05-30 21:42:32 -05:00
Christoph Atteneder
ad15fcd5c4
Merge pull request #6214 from ghubstan/remove-bitcoind-txindex-param
Remove legacy bitcoind txindex param from apitest harness
2022-05-30 12:52:59 +02:00