Christoph Atteneder
d27e958fa1
Merge pull request #6481 from HenrikJannsen/increase_queue_capacity_at_thread_pools
...
Increase queue capacity from 10 to 30.
2022-12-22 08:46:25 +01:00
HenrikJannsen
59073274fc
Increase queue capacity from 10 to 30.
...
https://github.com/bisq-network/bisq/issues/6480 reported reaching the limit with the current settings.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-21 19:53:51 -05:00
Christoph Atteneder
d47d84dede
Merge pull request #6479 from HenrikJannsen/remove_seed_nodes_and_price_node
...
Remove price node and seed nodes of @miker and @mrosseel
2022-12-20 19:40:42 +01:00
HenrikJannsen
e1b332c32d
Remove price node and seed nodes of @miker and @mrosseel
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-20 12:55:57 -05:00
Christoph Atteneder
f66e693605
Merge pull request #6473 from jmacxx/user_trade_limits_fix
...
Base initial limit from user's max past trade size if applicable.
2022-12-19 16:49:23 +01:00
sqrrm
c76ee16a2b
Merge pull request #6468 from HenrikJannsen/change_threadpool
...
Use ThreadPoolExecutor with custom set queueCapacity instead of CachedThreadPool
2022-12-19 16:42:47 +01:00
jmacxx
64e0ab8832
Base initial limit from users max past trade size if applicable.
2022-12-19 09:14:15 -06: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
HenrikJannsen
2a8d1b3426
Fix test
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-18 12:57:15 -05:00
HenrikJannsen
c36c9b214c
Add sanity check for a min. block height for the snapshot height
...
We don't allow to get further back than 767950 (the block height from Dec. 18th 2022)
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-18 12:27:29 -05:00
Alejandro García
55fdae4418
Merge pull request #6469 from HenrikJannsen/reduce_get_data_and_get_blocks_response_size
...
Reduce Response size
2022-12-18 17:35:43 +02:00
Alejandro García
51f9e8bac3
Merge pull request #6467 from HenrikJannsen/increase_timeouts
...
Increase timeouts from 3 to 4 min.
2022-12-18 17:34:14 +02:00
Alejandro García
5ba966786b
Merge pull request #6455 from bisq-network/dependabot/github_actions/actions/setup-java-c3ac5dd0ed8db40fedb61c32fbe677e6b355e94c
...
Bump actions/setup-java from 19eeec562b37d29a1ad055b7de9c280bd0906d8d to c3ac5dd0ed8db40fedb61c32fbe677e6b355e94c
2022-12-18 17:32:51 +02:00
Alejandro García
582893a6c7
Merge pull request #6466 from jmacxx/fix_issue_6464
...
Fix divide by zero errors in Trade history summary.
2022-12-18 17:32:16 +02:00
Alejandro García
55c55a6aae
Merge pull request #6465 from sqrrm/update-btc-nodes
...
Update sqrrm provided btc onion addresses
2022-12-18 17:30:30 +02:00
Alejandro García
959ac9ace4
Merge pull request #6462 from alvasw/gradle_move_protoc_build_logic_into_own_build_gradle_file
...
Gradle: Move protoc build-logic into its own build.gradle
2022-12-18 17:29:41 +02:00
HenrikJannsen
72372970f8
Add sanity check that max share of a non-legacy BM is 20% over MAX_BURN_SHARE (taking into account potential increase due adjustment)
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-17 20:15:28 -05:00
HenrikJannsen
9efab7e7de
Exclude legacy BM from DAO balance
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-17 20:00:43 -05:00
jmacxx
a09dae16be
Fix divide by zero errors in Trade history summary.
2022-12-16 20:36:03 -06:00
HenrikJannsen
049caab89c
Reduce getDataResponse size from 9 MB to 6 MB
...
Reduce number of blocks at GetBlocksResponse from 4000 to 3000
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-16 17:45:10 -05:00
HenrikJannsen
14c188afbe
Use ThreadPoolExecutor with custom set queueCapacity instead of CachedThreadPool
...
The previously used newCachedThreadPool carries higher risk for execution exceptions if exceeded.
Originally we had only one executor with a corePoolSize of 15 and a maximumPoolSize of 30 and queueCapacity was set to maximumPoolSize.
This was risky when the 15 corePool threads have been busy and new messages or connection creation threads are
queued up with potentially significant delay until getting served leading to timeouts.
Now we use (if maxConnections is 12) corePoolSize of 24, maximumPoolSize 36 and queueCapacity 10. This gives
considerable headroom. We also have split up the executors in 2 distinct ones.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-16 17:38:23 -05:00
HenrikJannsen
6fedc8177e
Increase timeouts from 3 to 4 min.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-16 17:23:17 -05:00
sqrrm
7754f798f7
Update sqrrm provided btc onion addresses
2022-12-16 17:25:23 +01:00
HenrikJannsen
b5dbce41fa
Add balance fields for DAO revenue with total burned BSQ and total distributed BTC/BSQ
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 20:41:50 -05:00
HenrikJannsen
5dd82d7cb9
Increase GENESIS_OUTPUT_AMOUNT_FACTOR and ISSUANCE_BOOST_FACTOR
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 18:25:18 -05:00
HenrikJannsen
2012c9d093
Add new average bsq price after historical data
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 17:46:47 -05:00
HenrikJannsen
decd301108
Update BurningManAccountingStore_BTC_MAINNET
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 15:50:05 -05:00
HenrikJannsen
57147a672a
Use static fields for opReturnData instead of hardcoded mainnet hashes
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 13:05:56 -05:00
HenrikJannsen
3ac6921d7e
Remove numIssuance and numBurnOutputs columns to save space
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 12:23:03 -05:00
HenrikJannsen
6fd68f76a9
Remove regtest value for DEFAULT_ESTIMATED_BTC_TRADE_FEE_REVENUE_PER_CYCLE
...
Adjust reimbursement amounts as we do not reimburse 100% of the DPT
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 12:00:53 -05:00
HenrikJannsen
0a941c1719
Add custom handling of legacy BM.
...
Refactoring: rename variables
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 11:20:24 -05:00
HenrikJannsen
d585456732
Refactor: move out fields used the same way in both if/else branches.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 11:18:54 -05:00
HenrikJannsen
7f73ef7cb5
Don't allow the myBurnAmount to be larger than the upperBaseTarget
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-14 21:48:58 -05:00
HenrikJannsen
d0539e17ef
In case we have capped burn shares we redistribute the share from the over-burned amount to the non capped candidates.
...
This helps to avoid that the legacy BM would get the rest in case there are capped shares.
It still can be that a candidate exceeds the cap and by the adjustment becomes capped. We take that into account and the legacy BM would get some share in that case.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-14 21:44:54 -05:00
HenrikJannsen
4860c1177a
Change burn target calculation.
...
Left side is amount to burn to reach the max allowed receiver share based on the burned amount of all BM.
The right side is the amount to burn to reach the max allowed receiver share based the boosted max burn target.
Increase ISSUANCE_BOOST_FACTOR from 3 to 4.
Add help overlay to burn target table header.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-14 20:34:42 -05:00
HenrikJannsen
f799e115b0
Remove try catch. Will be handled in Future fault handler
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-14 18:52:08 -05:00
HenrikJannsen
2535f01eb1
Add check for price==0
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-14 18:50:41 -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
51c7e40be9
Merge pull request #6456 from HenrikJannsen/remvoe_connection_keep_alive_header_as_its_restricted_in_java
...
Remove connection:keep-alive header
2022-12-14 10:20:36 +01:00
Christoph Atteneder
5dea677644
Merge pull request #6459 from HenrikJannsen/handle_exception_at_send
...
Handle exception at send
2022-12-14 10:20:07 +01:00
Christoph Atteneder
6fa2ffb3c7
Merge pull request #6460 from HenrikJannsen/remove_unneeded_gradle_tasks
...
Deactivate shadowDistTar and shadowDistZip tasks
2022-12-14 10:18:34 +01: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
fb1e731d47
Deactivate shadowDistTar and shadowDistZip tasks
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 20:41:02 -05:00
HenrikJannsen
776714fbd4
Remove setting of RejectedExecutionHandler
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 20:36:36 -05:00
HenrikJannsen
8c65da9c85
Add thread index format
...
Add name param to newCachedThreadPool
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 20:35:49 -05:00
HenrikJannsen
fc2f9241b8
Apply codacy complaint
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 20:30:41 -05:00
HenrikJannsen
ebb6652cef
Remove restartTor method as restart is not supported anymore.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 18:15:23 -05:00
HenrikJannsen
c000d38a09
Remove unnecessary thread and try/catch.
...
Wrap nodeAddressProperty.set into UserThread.execute as it is a javafx api. We call startServer also in that execute scope to maintain order of calls.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 18:11:49 -05:00
HenrikJannsen
04a1dee9e9
Cleanup
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 18:07:01 -05:00