use multi_get for fetching transactions #25

Merged
jackrobison merged 5 commits from multiget-transactions into master 2022-04-16 17:19:13 +02:00
jackrobison commented 2022-04-16 00:26:19 +02:00 (Migrated from github.com)

This improves the performance of HubDB.get_transactions_and_merkles - both when fetching the transactions and when generating the merkle proofs. The speedup with blockchain.transaction.get_batch is significant with batches of transactions mostly in the same block.

  • uses multi_get when preparing to fetch and when actually fetching transactions
  • batch merkle proof generation by block
This improves the performance of `HubDB.get_transactions_and_merkles` - both when fetching the transactions and when generating the merkle proofs. The speedup with `blockchain.transaction.get_batch` is significant with batches of transactions mostly in the same block. - uses `multi_get` when preparing to fetch and when actually fetching transactions - batch merkle proof generation by block
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/hub#25
No description provided.