Simplified locking; there is no need for a read-write mutex, this code is not performance-critical. Removed some of the go routines because they're not needed and the locking and concurrency are easier to reason about without them. NOTE: there is some test code left in here, search for "XXX testing" and remove before committing! This test code makes things happen faster: Instead of fetching prices every 15 minutes, do it every minute. Also, write historical data every minute, instead of once per day. Another change needed is to remove some of the logging. It's good for now during testing, but it's too much for production. |
||
---|---|---|
.. | ||
images | ||
release-notes | ||
rtd | ||
architecture.md | ||
darksidewalletd.md | ||
docker-compose-setup.md | ||
docker-run.md | ||
integration-tests.md |