lightwalletd/common
Larry Ruane 2dd37cf119 some tweaks to prices.go (GetZECPrice, GetCurrentZECPrice)
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.
2022-06-12 13:10:36 -06:00
..
logging don't log method names to stderr unless --grpc-logging-insecure 2021-03-08 11:12:26 -07:00
cache.go Get unit tests working again 2022-06-12 12:50:42 -06:00
cache_test.go add --sync-from-height command-line option 2022-05-24 15:17:38 -05:00
common.go Get unit tests working again 2022-06-12 12:50:42 -06:00
common_test.go Get unit tests working again 2022-06-12 12:50:42 -06:00
darkside.go Get unit tests working again 2022-06-12 12:50:42 -06:00
generatecerts.go Get unit tests working again 2022-06-12 12:50:42 -06:00
mempool.go add MempoolStream unit test 2021-07-29 13:47:53 -06:00
prices.go some tweaks to prices.go (GetZECPrice, GetCurrentZECPrice) 2022-06-12 13:10:36 -06:00