mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-21 22:31:44 +01:00
A decentralized bitcoin exchange network
Avoid calculating average prices for ticks that won't ever be part of a visible chart candle, as only the last 90 ticks can fit on the chart. To this end, stream the trade statistics in reverse chronological order (which requires passing them as a NavigableSet), so that once more than MAX_TICKS ticks have been encountered for a given tick unit, the relevant map (and all lower granularity maps) can stop being filled up. Also add a 'PriceAccumulator' static class to save time and memory when filling up the intermediate maps, by avoiding the addition of each trade statistics object to (multiple) temporary lists prior to average price calculation. |
||
---|---|---|
.github | ||
.idea | ||
apitest | ||
assets | ||
build-logic | ||
cli | ||
common | ||
core | ||
daemon | ||
desktop | ||
docs | ||
gradle | ||
p2p | ||
proto | ||
scripts | ||
seednode | ||
statsnode | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
build.gradle | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
Makefile | ||
pull_request_template.md | ||
README.md | ||
settings.gradle |
What is Bisq?
Bisq is a safe, private and decentralized way to exchange bitcoin for national currencies and other digital assets. Bisq uses peer-to-peer networking and multi-signature escrow to facilitate trading without a third party. Bisq is non-custodial and incorporates a human arbitration system to resolve disputes.
To learn more, see the doc and video at https://bisq.network/intro.
Get started using Bisq
Follow the step-by-step instructions at https://bisq.network/get-started.
Contribute to Bisq
See CONTRIBUTING.md and the developer docs.