mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-21 14:24:06 +01:00
A decentralized bitcoin exchange network
Avoid scanning all the ticks backwards from 90 to 1 repeatedly, to find the one with the correct date interval for each item in the 'tradeStatisticsByCurrency' list. Instead, for each item, remember the last found tick index and move forwards if necessary, then scan backwards from that point to find the correct tick. As the trade statistics are now in chronological order, this is much faster (though it will still work correctly regardless of the order of the list items). Also, hold 'itemsPerInterval' as a 'List<Pair<..>>' instead of a 'Map<Long, Pair<..>>', since the keys are just tick indices from 0 to 91 inclusive, so it is cleaner and more efficient to use an array than a hash table. |
||
---|---|---|
.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.