mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
A decentralized bitcoin exchange network
6ae9831818
Run through the 'DecryptedBallotsWithMerits' list of each cycle in parallel, when filling the cycle list of the Vote Result view, to speed up the signature verification of all the 'Merit' objects found in the DAO state. Checking all the signatures is necessary to correctly compute the total merit stake and hence the vote weight of each ballot list, and profiling shows that it is by far the biggest bottleneck during the initial view load (with all subsequent activations of the view skipping 'doFillCycleList()', when outside of the Vote Result DAO phase). (Since each signature is checked only once from 'doFillCycleList()' and skipping the checks could potentially affect the computed vote weights, we cannot obviously do any better than parallelise the checks, to speed up this method.) (Even though it may be a little more efficient to parallelise the outer loop of the method, over the cycles instead of the decrypted votes of each cycle, each individual signature check is expensive enough that it probably wouldn't give much improvement over this one-line change.) |
||
---|---|---|
.github | ||
.idea | ||
apitest | ||
assets | ||
build-logic | ||
cli | ||
code-coverage-report | ||
common | ||
core | ||
daemon | ||
desktop | ||
docs | ||
gradle | ||
p2p | ||
persistence | ||
platform | ||
proto | ||
regtest | ||
scripts | ||
seednode | ||
statsnode | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
Bisq1_icon.svg | ||
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.