ghubstan
a5e5b9fc39
Refactor grpc stub boilerplate from CliMain to GrpcClient
...
CliMain no longer uses gRPC stubs directly, just parses &
validates command options, and prints responses.
Also, anticipates reuse by java bots (avoiding grpc boilerplate
duplication on the client side), reduces size of CliMain class, and
will allow clean up of duplicated grpc boilerplate in apitest cases.
2021-02-25 14:27:55 -03:00
ghubstan
e125ba8ab8
Prepare to adjust api to new minimum fee per vbyte (from feeService)
...
Commit c33ac1b983
changed the source of
the min tx fee rate, and the api will adjust after the associated PR
is merged. For now, the required change is a comment.
2021-02-25 11:53:12 -03:00
ghubstan
b725f06514
Adjust api to new minimum fee per vbyte
...
The BaseCurrencyNetwork#getDefaultMinFeePerVbyte now returns
15 (sats/byte) since commit b341bb6e89
.
This change adjusts the api to the new min tx fee rate by validating
the api's setTxFeeRatePreference param, and throwing an appropirate
exception if the param value is below the minimum. Also adjusted a broken
test, and added a new test to check the appropriate exception is received
from the server.
2021-02-25 11:31:13 -03:00
ghubstan
3dde3cbeef
Fix typo in toString
2021-02-25 10:37:30 -03:00
ghubstan
b341bb6e89
Merge branch 'master' into 02-scripted-bot-test
2021-02-25 10:08:32 -03:00
Christoph Atteneder
0feb1079b8
Merge pull request #5223 from BtcContributor/lengthcheck
...
Fix length check text on manual payout tool
2021-02-24 10:33:06 +01:00
Christoph Atteneder
7ffb1bcd26
Merge pull request #5219 from jmacxx/fix_issue_5210
...
Fix initialization ordering issue
2021-02-24 10:20:13 +01:00
Christoph Atteneder
dc3811749c
Merge pull request #4890 from jmacxx/fix_pricenode
...
Start pricenode providers asynchronously
2021-02-24 09:12:04 +01:00
Christoph Atteneder
f4d6986308
Merge pull request #5224 from jmacxx/increase_withdrawal_fee
...
Increase min withdrawal tx fee to 15 sats/vB
2021-02-24 09:10:37 +01:00
jmacxx
d3b62b1a58
TraderChatManager to handle onAllServicesInitialized
...
Upon receipt of onAllServicesInitialized, TraderChatManager should
call tryApplyMessages in order to process any pending mailbox
messages stored up while offline.
2021-02-23 21:12:59 -06:00
BtcContributor
6edb318236
Fix length check text on manual payout tool
2021-02-23 17:57:47 +01:00
jmacxx
b59f022ec5
Increase min withdrawal tx fee to 15 sats/vB
2021-02-23 10:29:33 -06:00
jmacxx
0e5c7e5de7
Fix initialization ordering issue
...
TradeManager must be inited before MailboxMessageService
2021-02-22 17:56:30 -06:00
ghubstan
4ac9fa5b8d
Add --help option to bot-script.json generator
2021-02-20 16:37:06 -03:00
Christoph Atteneder
314e6ce314
Merge pull request #5142 from chimp1984/add-coin-input-control
...
Add coin input control
2021-02-19 19:13:31 +01:00
Christoph Atteneder
cc773b8b98
Merge pull request #5205 from chimp1984/fix-multiple-requestPreliminaryData-calls
...
Fix multiple request preliminary data calls
2021-02-19 10:07:49 +01:00
chimp1984
bc6a53d356
Improve resetValidation method to reset validation result
...
If text field is empty we apply ValidationResult(true), otherwise we apply
the validate result with the text and the given validator.
2021-02-18 18:26:43 -05:00
chimp1984
1825f3308f
Remove boolean return value for requestPreliminaryData
...
and call onNoSeedNodeAvailable instead.
2021-02-18 16:31:17 -05:00
chimp1984
4877c1dc6c
Call onNoSeedNodeAvailable if return value from requestPreliminaryData is false
...
We did not do all the calls before (like on p2pDataStorage), so that changes behaviour.
2021-02-18 16:29:27 -05:00
chimp1984
017ed50c16
Refactor: Extract method from duplicated code
2021-02-18 16:27:17 -05:00
chimp1984
5490c0a92d
Use same behaviour in onNoSeedNodeAvailable as in onUpdatedDataReceived
2021-02-18 16:21:17 -05:00
chimp1984
69db9a7a84
Refactor: Rename onBootstrapComplete to onBootstrapped
2021-02-18 16:17:03 -05:00
chimp1984
01e32ba3eb
Call p2PDataStorage.onBootstrapComplete() before
...
mailboxMessageService.onBootstrapped(); and onUpdatedDataReceived
mailboxMessageService depends on p2PDataStorage so we make sure the
p2PDataStorage is updated before we update the mailboxMessageService state.
2021-02-18 16:16:43 -05:00
chimp1984
cc203eb5d7
Merge onUpdatedDataReceived and onNoSeedNodeAvailable to onBootstrapped
2021-02-18 16:14:48 -05:00
chimp1984
78f59b6553
Call onNoSeedNodeAvailable on mailboxMessageService at onNoSeedNodeAvailable
2021-02-18 16:13:01 -05:00
chimp1984
9ad77e8900
Fixes https://github.com/bisq-network/bisq/issues/5204
...
Remove SetupListener implementation from MailboxMessageService.
Remove requestDataManager
Add onNoSeedNodeAvailable method
Call onNoSeedNodeAvailable from P2PService
2021-02-18 16:12:03 -05:00
ghubstan
0181df6d9f
Merge branch 'master' into 02-scripted-bot-test
2021-02-18 17:37:10 -03:00
Christoph Atteneder
14ae0c3f8c
Merge pull request #5156 from chimp1984/improve-facts-and-figures
...
Improve facts and figures
2021-02-18 21:32:17 +01:00
Christoph Atteneder
2e89e590b3
Merge pull request #5196 from jmacxx/fix_SignaturePubKey_error
...
Prevent erroneous logging of 'SignaturePubKey in message does not match'
2021-02-18 21:18:49 +01:00
ghubstan
9e48c32d40
Fix manual shutdown exception handling
...
Codacy is right. Don't use instance of ex, add a catch clause.
Also removed an unnecessary fully qualified name 'String.format'.
2021-02-18 13:58:58 -03:00
chimp1984
9ae76b621f
Add comment
2021-02-18 11:44:12 -05:00
chimp1984
097376ef07
Set onAction handlers in activate not in initialize
2021-02-18 11:42:16 -05:00
chimp1984
5b2fed0b8a
Fix typos
2021-02-18 11:42:16 -05:00
chimp1984
fdad973f4c
Add TxInputSelectionWindow for coin input selection.
...
It is both for BSQ and non-BSQ (BTC) used.
2021-02-18 11:42:16 -05:00
chimp1984
b345918219
Add getSpendableBsqTransactionOutputs and getSpendableNonBsqTransactionOutputs
...
methods.
Add overridden getPreparedSendBsqTx and getPreparedSendBtcTx methods
with utxoCandidates param.
If utxoCandidates is not null we apply it to our coinSelector.
As the coin selector is re-used we re-set it immediately after
it was applied (inside coin selector select method).
Set preferences in nonBsqCoinSelector
2021-02-18 11:42:16 -05:00
chimp1984
06a7ecd382
Add support for utxo set used in coin selection if set
...
We use that to use only the selected utxos instead of all available.
2021-02-18 11:42:16 -05:00
chimp1984
64e2d2b2c4
Add addButtonCheckBoxWithBox method with top param
2021-02-18 11:42:15 -05:00
chimp1984
24370146e6
Implement isDustAttackUtxo protection
2021-02-18 11:42:15 -05:00
chimp1984
2b9b9ef8a8
Add refreshValidation method
2021-02-18 11:42:15 -05:00
chimp1984
cd0a28361f
Add average bsq price text fields from timeline selection
2021-02-18 11:40:30 -05:00
chimp1984
d04ac5cdf0
Add missing stage offset to tooltips
2021-02-18 11:40:30 -05:00
chimp1984
683e768a00
Add total volume text fields
2021-02-18 11:40:30 -05:00
chimp1984
e91ed8a857
Always update all text field values even if the series is not selected
2021-02-18 11:40:30 -05:00
chimp1984
55a4154e74
Add tooltip to time navigation so from and to date is visible
2021-02-18 11:40:30 -05:00
chimp1984
955c57cfbe
Reduce vertical space
2021-02-18 11:40:30 -05:00
chimp1984
25f35fea9e
Update text field values when time interval selection changes
2021-02-18 11:40:30 -05:00
chimp1984
f421411bba
Add price and volume charts
2021-02-18 11:40:30 -05:00
chimp1984
d2f43373fd
Add comments
2021-02-18 11:40:29 -05:00
chimp1984
4244f807c7
Refactoring: Rename classes
2021-02-18 11:40:29 -05:00
chimp1984
df6d451b80
Extract code to TemporalAdjusterModel
...
Move TemporalAdjusterUtil code to TemporalAdjusterModel
2021-02-18 11:40:29 -05:00