SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
362 stars 68 forks source link

compute_vin_total_amount: don't get_raw_transaction if already in our DB #316

Open Kexkey opened 8 months ago

Kexkey commented 8 months ago

Check if vin_txid is in our tx table before calling getrawtransaction on Bitcoin Core. If not in DB, fetch it from Bitcoin Core and insert it to the database.