runonbitcoin / run-db

An indexer that crawls the blockchain and calculates RUN states
MIT License
24 stars 22 forks source link

[WIP] Db async #21

Open calvogenerico opened 2 years ago

calvogenerico commented 2 years ago

I'll explain all the changes with more detail in the readme. Right now this is just to show the changes.

codecov[bot] commented 2 years ago

Codecov Report

Merging #21 (64065ac) into master (774833d) will increase coverage by 2.94%. The diff coverage is 86.38%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   84.68%   87.62%   +2.94%     
==========================================
  Files           9       18       +9     
  Lines         973     1261     +288     
==========================================
+ Hits          824     1105     +281     
- Misses        149      156       +7     
Impacted Files Coverage Δ
src/downloader.js 66.00% <66.66%> (-8.00%) :arrow_down:
src/http/build-main-server.js 67.56% <67.56%> (ø)
src/crawler.js 95.83% <75.00%> (ø)
src/database.js 82.90% <76.04%> (-3.98%) :arrow_down:
src/indexer.js 87.61% <83.33%> (-3.48%) :arrow_down:
src/data-sources/sqlite-datasource.js 89.66% <89.66%> (ø)
src/config.js 93.93% <90.47%> (-6.07%) :arrow_down:
src/trust-list/db-trust-list.js 95.00% <95.00%> (ø)
src/http/build-execution-server.js 95.55% <95.55%> (ø)
src/http/api-server.js 98.03% <98.03%> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 774833d...64065ac. Read the comment docs.