]> git.bitcoin.ninja Git - rapid-gossip-sync-server/commit
Remove unused `consider_intermediate_updates` flag..optimizing query
authorMatt Corallo <git@bluematt.me>
Sat, 15 Jul 2023 07:01:16 +0000 (07:01 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 16 Jul 2023 05:58:32 +0000 (05:58 +0000)
commit58d677c291607bfed62ccdfbaf592cead530ed6c
treea96899ae7d2c37edf233f51c12501f1b5f119245
parente004a953d43654c14fef698d14e5aee2497dbcc4
Remove unused `consider_intermediate_updates` flag..optimizing query

The `consider_intermediate_updates` flag is always set, and must be
set for correctness, so we remove it. Further, we optimize the
query that hung on it somewhat by removing an uneccessary
`ORDER BY` clause which was only neccessary if
`consider_intermediate_updates` were unset.
src/config.rs
src/lib.rs
src/lookup.rs
src/snapshot.rs