Steven Barclay
d97636eaad
Don't ignore BSQ burned by invalid txs in chart data models
...
Use 'Tx::getBurntBsq' instead of 'Tx::getBurntFee', so as not to exclude
BSQ burned by invalid txs from the supply calculations. There are no
invalid BSQ txs at present on mainchain, but accidentally burned BSQ
should definitely count as a reduction in supply, so this fixes a bug.
2024-02-20 16:21:07 +08:00
Steven Barclay
712c97826b
Clean up & optimise (Dao|Price)ChartDataModel
...
1. Tidy up the stream pipelines which sum over time intervals, by
summing directly with a grouping collector, instead of wastefully
collecting to an intermediate map of lists;
2. Move duplicate 'memoize' static method to the base class;
3. Factor out 'getDateFilteredMap' static method, to replace the
repeated pattern of filtering date keys by a provided predicate and
collecting into a new map;
4. Use 'Map::replaceAll' instead of the pattern:
map.entrySet().forEach(e -> e.setValue(updateFn(e.getValue())));
5. Fix a quadratic time bug in 'getBsqMarketCapByInterval' by passing an
ordered map to 'issuanceAsOfDate', so that it doesn't have to
repeatedly sort or linearly scan the entire keyset of time intervals,
to find the latest one before the provided date.
2024-02-20 15:48:39 +08:00
Alejandro García
c5a73c0c86
Merge pull request #7007 from jmacxx/bsq_market_cap_chart
...
Add BSQ market cap chart
2024-02-11 10:05:48 +00:00
Alejandro García
4c1b1cd161
Merge pull request #6986 from yonson2023/fix_transferwise
...
Wise: fix account summary and add copy icon to form.
2024-02-11 10:04:38 +00:00
yonson2023
25a6e08c09
Wise: fix account summary and add copy icon to form.
...
Add copy icon to Pix form holder name field.
Prompt for holder name if empty.
Optimize form layout.
2024-02-07 20:44:41 -06:00
Steven Barclay
c41903f7ab
Clean up TxValidatorTest & resource loading in other tests
...
Fix inspection warnings and other minor defects (unchecked casts, bad
'assert*' usage, unused assignments/declarations, missing null checks,
object equality on enum instances, needless statement lambdas, missing
final, redundant 'toString', needless visibility) in 'TxValidatorTest'.
Also, uniformise and slightly tidy resource loading in other test
classes, replacing 'Files.readAllBytes' with Java 11 'Files.readString'
(which assumes UTF-8 as desired, instead of the default charset).
2024-02-03 01:44:25 +08:00
jmacxx
997bf0d6b8
Add BSQ market cap chart.
2024-01-22 14:33:11 -06:00
Alejandro García
5872e9e1d6
Merge pull request #6998 from jmacxx/allow_mediation_failed_closed_trades
...
Allow mediation of failed and closed trades
2024-01-14 11:48:59 +00:00
Alejandro García
f755efa765
Merge pull request #6994 from jmacxx/resync_popup_change
...
Change unconfirmed popup to 24h after trade start.
2024-01-14 11:48:08 +00:00
yonson2023
6a146cd4ac
Show prompt if holderName is blank.
2024-01-12 16:08:19 -06:00
yonson2023
9e5fa8f1b1
Add holdername to MoneyBeam account.
2024-01-09 17:50:07 -06:00
jmacxx
ff52c43d4f
Allow mediation of failed and closed trades.
2024-01-09 12:56:30 -06:00
jmacxx
e082a49760
Change unconfirmed popup to 24h after trade start.
2024-01-05 22:13:48 -06:00
Alejandro García
f12069aeeb
Merge pull request #6979 from alvasw/FilterManagerMockedPrivilegeKeysTests
...
Add FilterManagerMockedPrivilegeKeysTests
2023-12-31 13:45:13 +00:00
Alejandro García
1f072bf774
Merge pull request #6977 from alvasw/FilterManagerAddFilterToNetworkTests
...
Add FilterManagerAddFilterToNetworkTests
2023-12-31 13:44:07 +00:00
Alejandro García
e5ed806235
Merge pull request #6952 from jmacxx/fee_validation_reason_codes
...
Display the reason for auto-disabling an open offer.
2023-12-31 13:35:44 +00:00
Alva Swanson
bf98531c46
Config: Make configFile field private and add getter
2023-12-28 08:50:13 +01:00
Alva Swanson
e7cb152e11
DevEnv: Make DEV_PRIVILEGE_PRIV_KEY private and add getter
2023-12-28 08:50:13 +01:00
Alejandro García
70a15ceb06
Merge pull request #6965 from yonson2023/pix_add_holder_name
...
Update Pix payment account, add HolderName
2023-12-20 05:05:18 +00:00
yonson2023
d899e84ddc
Add HolderName to Pix account.
2023-12-15 15:20:18 -06:00
yonson2023
01dc89edc5
Update Wise (TransferWise) account.
...
TransferWise has rebranded to Wise, rename user-facing parts.
Add HolderName (mandatory for new accounts).
2023-12-15 15:05:11 -06:00
jmacxx
0ad71fc680
Fee validation refactor.
2023-11-28 12:26:38 -06:00
Alejandro García
95e74937c1
Merge pull request #6947 from djing-chan/fix-initial-data-request-handling
...
Fix initial data request handling
2023-11-24 08:02:18 +00:00
djing chan
688f4f7977
Increase package name length before it gets shortened
2023-11-19 16:45:36 +07:00
djing chan
c8fd897e54
Merge branch 'improve-logs' into fix-initial-data-request-handling
2023-11-19 14:48:43 +07:00
djing chan
08118e387e
Use onDataReceived instead of onUpdatedDataReceived for considering p2p network state as initialized
2023-11-19 14:47:52 +07:00
djing chan
8ee67e555d
Change log level to debug for non-essential logs
...
Set loge level for org.berndpruenster.netlayer.tor.Tor to WARN (we get repeated logs about HS announced to network from netlayer - would be better to change in netlayer).
Make data request/response logs more visible with line breaks
2023-11-19 14:40:24 +07:00
Alejandro García
dd3f1341cd
Merge pull request #6931 from jmacxx/refactor_fee_service
...
Refactor & simplify fee service.
2023-11-15 21:41:41 +00:00
jmacxx
6b42bb9657
Adapt fee service client calls to simplified interface.
...
Obsolete async requests removed, replaced by getTxFee().
2023-10-25 17:07:03 -05:00
jmacxx
7f4bde8669
Fix deviation in open portfolio offers & history.
2023-10-24 10:43:16 -05:00
Alejandro García
e9bdee6400
Merge branch 'master' into release/v1.9.14
2023-10-16 19:47:43 +00:00
Alejandro García
f314bd244c
Revert to SNAPSHOT version
2023-10-16 21:36:17 +02:00
Alejandro García
381e44ee14
Bump version number for v1.9.14
2023-10-09 20:44:41 +02:00
Alejandro García
2f09f8a875
Revert to SNAPSHOT version
2023-10-09 20:41:05 +02:00
HenrikJannsen
d5c08fd3c4
Make confirm and release button text uppercase
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-09 20:37:36 +02:00
HenrikJannsen
48b8eb6231
Add dont show again checkbox
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-09 20:37:36 +02:00
HenrikJannsen
52e9a8cd77
Refactor: Use util method
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-09 20:37:36 +02:00
HenrikJannsen
01bd8bb86e
Delay payout if buyers account got flagged as risky by filter data
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-09 20:37:35 +02:00
HenrikJannsen
57ef8bedc7
Add delayedPayoutPaymentAccounts to Filter
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-09 20:37:35 +02:00
HenrikJannsen
22766b2ac4
Make confirm and release button text uppercase
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-10 00:10:42 +07:00
HenrikJannsen
65c83ce947
Add dont show again checkbox
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-09 16:55:53 +07:00
HenrikJannsen
9a66ca7281
Refactor: Use util method
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-10-09 16:55:38 +07:00
HenrikJannsen
ef6335ab62
Delay payout if buyers account got flagged as risky by filter data
...
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
33e2dab23b
Remove outdated commands from finalize script
2023-09-25 21:46:13 +02:00
Alejandro García
6726399b54
Bump version number for v1.9.13
2023-09-15 13:52:58 +02:00
Alejandro García
1b26cffe7d
Merge pull request #6872 from jmacxx/add_mercadopago_payment_method
...
Correct mismatched resource ID (MercadoPago).
2023-09-15 11:27:47 +00:00
jmacxx
de1a71a399
Correct mismatched resource ID (MercadoPago).
2023-09-12 20:54:19 -05:00
Alejandro García
c64c69b242
Merge pull request #6864 from alvasw/Make_build_reproducible
...
Make build reproducible
2023-09-11 21:38:29 +00:00
Alejandro García
bbbb567747
Merge pull request #6862 from alvasw/Enforce_same_JDK_in_all_start_scripts
...
Enforce same JDK in all start scripts
2023-09-11 21:37:39 +00:00