runonbitcoin / run-db

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

Use bsv node rest api #16

Open calvogenerico opened 3 years ago

calvogenerico commented 3 years ago

By using bsv's rest api we avoid all the issues related to block size and json/string/js limits becase we can directly interpret everything as a buffer.

codecov[bot] commented 3 years ago

Codecov Report

Merging #16 (10b8701) into master (ace1afb) will decrease coverage by 1.10%. The diff coverage is 70.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage   84.90%   83.80%   -1.11%     
==========================================
  Files           9        9              
  Lines         921      926       +5     
==========================================
- Hits          782      776       -6     
- Misses        139      150      +11     
Impacted Files Coverage Δ
src/bitcoin-node-connection.js 72.91% <66.66%> (-22.44%) :arrow_down:
src/indexer.js 91.00% <100.00%> (ø)

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 ace1afb...10b8701. Read the comment docs.