ordhook
ordhook copied to clipboard
List of Mutants - Tests to be added
Some functions don’t have all possible cases tested. Mutation testing helps identify these cases and highlights the functions that need more tests.
This issue lists all the current mutants based on the latest commit (4afb2010068770078c7d9fd2ab37533352379c15). Its purpose is to provide a central reference for functions that need additional testing. This makes it is easier for everyone to track and add these tests.
Mutants that still need to be treated based on the output from the entire codebase:
- [ ] unviable
- [ ] timeout
- [ ] missed
- [x] caught
Unviable Mutants
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![(0, [1; 8], 1)]))
- [ ] components/ordhook-core/src/ord/inscription_id.rs:98:9: replace <impl From for InscriptionId>::from -> Self with Default::default()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:50:9: replace Brc20RevealBuilder::inscriber_address -> Self with Default::default()
- [ ] components/ordhook-core/src/utils/monitoring.rs:104:5: replace serve_req -> Result<Response<Body>, hyper::Error> with Ok(Response::from_iter([Default::default()]))
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:182:5: replace get_inscribed_satpoints_at_tx_inputs -> Result<HashMap<usize, Vec<WatchedSatpoint>>, String> with Ok(HashMap::from_iter([(1, vec![Default::default()])]))
- [ ] components/ordhook-core/src/utils/mod.rs:57:5: replace parse_satpoint_to_watch -> (TransactionIdentifier, usize, u64) with (Default::default(), 0, 1)
- [ ] components/ordhook-core/src/db/models/db_location.rs:107:9: replace <impl FromPgRow for DbLocation>::from_pg_row -> Self with Default::default()
- [ ] components/ordhook-core/src/db/models/db_inscription.rs:47:9: replace DbInscription::from_reveal -> Self with Default::default()
- [ ] components/ordhook-core/src/ord/inscription.rs:201:9: replace Inscription::delegate -> Option<InscriptionId> with Some(Default::default())
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:125:9: replace Brc20TransferBuilder::build -> OrdinalInscriptionTransferData with Default::default()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:223:5: replace verify_brc20_transfer -> Result<Option<VerifiedBrc20TransferData>, String> with Ok(Some(Default::default()))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:94:5: replace parse_brc20_operation -> Result<Option<ParsedBrc20Operation>, String> with Ok(Some(Default::default()))
- [ ] components/ordhook-core/src/db/models/db_inscription_recursion.rs:17:9: replace DbInscriptionRecursion::from_reveal -> Result<Vec<Self>, String> with Ok(vec![Default::default()])
- [ ] components/ordhook-core/src/db/models/db_current_location.rs:50:9: replace DbCurrentLocation::from_transfer -> Self with Default::default()
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 1)]), vec![(Default::default(), 0, 0)])
- [ ] components/ordhook-core/src/ord/inscription_id.rs:31:9: replace <impl Serialize for InscriptionId>::serialize -> Result<S::Ok, S::Error> with Ok(Default::default())
- [ ] components/ordhook-core/src/utils/mod.rs:57:5: replace parse_satpoint_to_watch -> (TransactionIdentifier, usize, u64) with (Default::default(), 0, 0)
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![]))
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:220:5: replace get_inscriptions_revealed_in_block -> Vec<&OrdinalInscriptionRevealData> with vec![&Default::default()]
- [ ] components/chainhook-postgres/src/types/pg_numeric_u64.rs:31:9: replace <impl FromSql for PgNumericU64>::from_sql -> Result<PgNumericU64, Box<dyn Error +Sync +Send>> with Ok(Default::default())
- [ ] components/ordhook-core/src/ord/sat.rs:36:9: replace Sat::epoch -> Epoch with Default::default()
- [ ] components/ordhook-core/src/ord/sat_point.rs:60:9: replace <impl Deserialize for SatPoint>::deserialize -> Result<Self, D::Error> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:191:5: replace augment_transaction_with_ordinal_transfers -> Result<Vec<OrdinalInscriptionTransferData>, String> with Ok(vec![Default::default()])
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:115:9: replace Brc20TransferBuilder::ordinal_number -> Self with Default::default()
- [ ] components/ordhook-core/src/ord/sat.rs:24:9: replace Sat::height -> Height with Default::default()
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 1)]), vec![])
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![(1, [1; 8], 0)]))
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::new(), vec![(Default::default(), 1, 1)])
- [ ] components/ordhook-core/src/db/cursor.rs:188:9: replace BlockBytesCursor<'a>::iter_tx -> TransactionBytesCursorIterator with Default::default()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:60:9: replace Brc20RevealBuilder::ordinal_number -> Self with Default::default()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:288:32: replace += with *= in Brc20MemoryCache::insert_token_mint
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:385:5: replace get_bitcoin_network -> Network with Default::default()
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:15:9: replace <impl ToSql for PgBigIntU32>::to_sql -> Result<IsNull, Box<dyn Error +Sync +Send>> with Ok(Default::default())
- [ ] components/ordhook-core/src/db/models/db_satoshi.rs:26:9: replace <impl FromPgRow for DbSatoshi>::from_pg_row -> Self with Default::default()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:55:9: replace Brc20RevealBuilder::inscription_id -> Self with Default::default()
- [ ] components/ordhook-core/src/ord/sat.rs:16:9: replace Sat::degree -> Degree with Default::default()
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:84:5: replace compute_satpoint_post_transfer -> (OrdinalInscriptionTransferDestination, String, Option
) with (Default::default(), "xyzzy".into(), None) - [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 1)]), vec![(Default::default(), 0, 1)])
- [ ] components/ordhook-core/src/utils/mod.rs:82:5: replace parse_inscription_id -> (TransactionIdentifier, usize) with (Default::default(), 0)
- [ ] components/ordhook-core/src/ord/media.rs:94:9: replace <impl FromStr for Media>::from_str -> Result<Self, Self::Err> with Ok(Default::default())
- [ ] components/ordhook-core/src/ord/sat.rs:24:40: replace + with * in Sat::height
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:84:5: replace compute_satpoint_post_transfer -> (OrdinalInscriptionTransferDestination, String, Option
) with (Default::default(), String::new(), Some(0)) - [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:156:5: replace parse_inscriptions_in_raw_tx -> Vec<OrdinalOperation> with vec![Default::default()]
- [ ] components/ordhook-core/src/core/mod.rs:89:5: replace compute_next_satpoint_data -> SatPosition with Default::default()
- [ ] components/ordhook-core/src/db/cursor.rs:120:9: replace BlockBytesCursor<'a>::get_transaction_bytes_cursor_at_pos -> TransactionBytesCursor with Default::default()
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![(1, [1; 8], 1)]))
- [ ] components/ordhook-core/src/ord/height.rs:22:28: replace + with * in Height::starting_sat
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![(1, [0; 8], 0)]))
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:118:5: replace parse_inscriptions_from_standardized_tx -> Vec<OrdinalOperation> with vec![Default::default()]
- [ ] components/ordhook-core/src/config/mod.rs:103:9: replace Config::get_event_observer_config -> EventObserverConfig with Default::default()
- [ ] components/ordhook-core/src/ord/height.rs:34:9: replace <impl Add for Height>::add -> Height with Default::default()
- [ ] components/ordhook-core/src/db/cursor.rs:343:9: replace <impl Iterator for TransactionBytesCursorIterator<'a>>::next -> Option<TransactionBytesCursor> with Some(Default::default())
- [ ] components/ordhook-core/src/config/mod.rs:184:9: replace Config::testnet_default -> Config with Default::default()
- [ ] components/ordhook-core/src/db/models/db_location.rs:73:9: replace DbLocation::from_transfer -> Self with Default::default()
- [ ] components/ordhook-cli/src/config/file.rs:47:9: replace ConfigFile::from_config_file -> Result<Config, String> with Ok(Default::default())
- [ ] components/ordhook-cli/src/config/file.rs:29:9: replace ConfigFile::from_file_path -> Result<Config, String> with Ok(Default::default())
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:52:9: replace <impl Ord for PgBigIntU32>::cmp -> Ordering with Default::default()
- [ ] components/ordhook-core/src/ord/sat.rs:79:9: replace <impl PartialOrd for Sat>::partial_cmp -> Optionstd::cmp::Ordering with Some(Default::default())
- [ ] components/ordhook-core/src/db/cursor.rs:157:9: replace BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid -> Option<TransactionBytesCursor> with Some(Default::default())
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 1)]), vec![(Default::default(), 1, 1)])
- [ ] components/ordhook-core/src/ord/height.rs:22:36: replace - with / in Height::starting_sat
- [ ] components/ordhook-core/src/db/models/db_current_location.rs:31:9: replace DbCurrentLocation::from_reveal -> Self with Default::default()
- [ ] components/ordhook-core/src/ord/sat_point.rs:51:9: replace <impl Serialize for SatPoint>::serialize -> Result<S::Ok, S::Error> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:65:9: replace Brc20RevealBuilder::parent -> Self with Default::default()
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:63:5: replace start_inscription_indexing_processor -> PostProcessorController with Default::default()
- [ ] components/chainhook-postgres/src/types/pg_numeric_u64.rs:48:9: replace <impl Ord for PgNumericU64>::cmp -> Ordering with Default::default()
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 1)]), vec![])
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 0)]), vec![(Default::default(), 1, 0)])
- [ ] components/chainhook-postgres/src/lib.rs:95:5: replace pg_connect_with_retry -> Client with Default::default()
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:171:5: replace process_blocks -> Result<Vec<BitcoinBlockData>, String> with Ok(vec![Default::default()])
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 1)]), vec![(Default::default(), 1, 1)])
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![(0, [1; 8], 0)]))
- [ ] components/ordhook-core/src/config/mod.rs:228:9: replace Config::mainnet_default -> Config with Default::default()
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 0)]), vec![])
- [ ] components/ordhook-core/src/utils/monitoring.rs:56:9: replace PrometheusMonitoring::create_and_register_uint64_gauge -> UInt64Gauge with Default::default()
- [ ] components/chainhook-postgres/src/lib.rs:63:5: replace pg_begin -> Result<Transaction<'_>, String> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![(0, [1; 8], 0)]))
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 0)]), vec![(Default::default(), 0, 1)])
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:42:9: replace Brc20RevealBuilder::inscription_number -> Self with Default::default()
- [ ] components/ordhook-core/src/ord/epoch.rs:146:9: replace <impl From for Epoch>::from -> Self with Default::default()
- [ ] components/ordhook-core/src/utils/bitcoind.rs:11:5: replace bitcoind_get_client -> Client with Default::default()
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![(0, [0; 8], 1)]))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:54:73: replace > with < in amt_has_valid_decimals
- [ ] components/ordhook-core/src/service/mod.rs:171:9: replace Service::set_up_bitcoin_zmq_observer_sidecar -> Result<ObserverSidecar, String> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 1)]), vec![(Default::default(), 1, 0)])
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::new(), vec![(Default::default(), 0, 0)])
- [ ] components/ordhook-core/src/core/pipeline/processors/block_archiving.rs:22:5: replace start_block_archiving_processor -> PostProcessorController with Default::default()
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:181:5: replace parse_inscriptions_and_standardize_block -> Result<BitcoinBlockData, (String, bool)> with Ok(Default::default())
- [ ] components/ordhook-core/src/ord/sat_point.rs:68:9: replace <impl FromStr for SatPoint>::from_str -> Result<Self, Self::Err> with Ok(Default::default())
- [ ] components/ordhook-core/src/db/blocks.rs:139:5: replace find_pinned_block_bytes_at_block_height -> Option<DBPinnableSlice<'a>> with Some(Default::default())
- [ ] components/chainhook-postgres/src/types/pg_smallint_u8.rs:15:9: replace <impl ToSql for PgSmallIntU8>::to_sql -> Result<IsNull, Box<dyn Error +Sync +Send>> with Ok(Default::default())
- [ ] components/ordhook-core/src/utils/mod.rs:57:5: replace parse_satpoint_to_watch -> (TransactionIdentifier, usize, u64) with (Default::default(), 1, 1)
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 0)]), vec![(Default::default(), 0, 0)])
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:147:5: replace get_inscriptions_at_block -> Result<BTreeMap<String, TraversalResult>, String> with Ok(BTreeMap::from_iter([("xyzzy".into(), Default::default())]))
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 1)]), vec![(Default::default(), 0, 0)])
- [ ] components/ordhook-core/src/ord/sat_point.rs:39:9: replace <impl Decodable for SatPoint>::consensus_decode -> Result<Self, bitcoin::consensus::encode::Error> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/sequence_cursor.rs:45:9: replace SequenceCursor::pick_next -> Result<OrdinalInscriptionNumber, String> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:234:5: replace get_inscriptions_transferred_in_block -> Vec<&OrdinalInscriptionTransferData> with vec![&Default::default()]
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:84:5: replace compute_satpoint_post_transfer -> (OrdinalInscriptionTransferDestination, String, Option
) with (Default::default(), "xyzzy".into(), Some(0)) - [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:46:9: replace <impl PartialOrd for PgBigIntU32>::partial_cmp -> Option<Ordering> with Some(Default::default())
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:99:9: replace Brc20MemoryCache::get_token -> Result<Option<DbToken>, String> with Ok(Some(Default::default()))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/models/db_token.rs:29:9: replace <impl FromPgRow for DbToken>::from_pg_row -> Self with Default::default()
- [ ] components/ordhook-core/src/config/mod.rs:140:9: replace Config::devnet_default -> Config with Default::default()
- [ ] components/ordhook-core/src/ord/sat.rs:87:9: replace <impl Add for Sat>::add -> Sat with Default::default()
- [ ] components/ordhook-core/src/db/blocks.rs:49:5: replace open_blocks_db_with_retry -> DB with Default::default()
- [ ] components/ordhook-core/src/utils/mod.rs:92:5: replace parse_outpoint_to_watch -> (TransactionIdentifier, usize) with (Default::default(), 1)
- [ ] components/chainhook-postgres/src/lib.rs:25:5: replace pg_pool -> Result<Pool, String> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 0)]), vec![(Default::default(), 0, 0)])
- [ ] components/ordhook-cli/src/config/file.rs:166:9: replace ConfigFile::default -> Result<Config, String> with Ok(Default::default())
- [ ] components/chainhook-postgres/src/lib.rs:56:5: replace pg_pool_client -> Result<Object, String> with Ok(Default::default())
- [ ] components/chainhook-postgres/src/lib.rs:71:5: replace pg_connect -> Result<Client, String> with Ok(Default::default())
- [ ] components/ordhook-cli/src/cli/mod.rs:417:5: replace build_predicate_from_cli -> Result<BitcoinChainhookSpecification, String> with Ok(Default::default())
- [ ] components/ordhook-core/src/ord/chain.rs:65:9: replace Chain::genesis_block -> Block with Default::default()
- [ ] components/ordhook-core/src/ord/epoch.rs:54:9: replace Epoch::starting_sat -> Sat with Default::default()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:361:5: replace get_operations_at_block -> Result<HashMap<u64, DbOperation>, String> with Ok(HashMap::from_iter([(0, Default::default())]))
- [ ] components/ordhook-core/src/ord/deserialize_from_str.rs:17:9: replace <impl Deserialize for DeserializeFromStr<T>>::deserialize -> Result<Self, D::Error> with Ok(Default::default())
- [ ] components/chainhook-postgres/src/types/pg_numeric_u64.rs:42:9: replace <impl PartialOrd for PgNumericU64>::partial_cmp -> Option<Ordering> with Some(Default::default())
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 1)]), vec![(Default::default(), 1, 0)])
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:455:9: replace Brc20MemoryCache::get_unsent_transfer_row -> Result<DbOperation, String> with Ok(Default::default())
- [ ] components/chainhook-postgres/src/types/pg_numeric_u64.rs:18:9: replace <impl ToSql for PgNumericU64>::to_sql -> Result<IsNull, Box<dyn Error +Sync +Send>> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![(1, [0; 8], 1)]))
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:125:9: replace <impl PartialOrd for PgNumericU128>::partial_cmp -> Option<Ordering> with Some(Default::default())
- [ ] components/chainhook-postgres/src/types/pg_smallint_u8.rs:28:9: replace <impl FromSql for PgSmallIntU8>::from_sql -> Result<PgSmallIntU8, Box<dyn Error +Sync +Send>> with Ok(Default::default())
- [ ] components/ordhook-core/src/ord/degree.rs:27:37: replace * with / in <impl From for Degree>::from
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:84:5: replace compute_satpoint_post_transfer -> (OrdinalInscriptionTransferDestination, String, Option
) with (Default::default(), String::new(), None) - [ ] components/ordhook-core/src/ord/height.rs:19:9: replace Height::starting_sat -> Sat with Default::default()
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:104:24: replace > with < in compute_satoshi_number
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:84:5: replace compute_satpoint_post_transfer -> (OrdinalInscriptionTransferDestination, String, Option
) with (Default::default(), "xyzzy".into(), Some(1)) - [ ] components/ordhook-core/src/db/ordinals_pg.rs:182:5: replace get_inscribed_satpoints_at_tx_inputs -> Result<HashMap<usize, Vec<WatchedSatpoint>>, String> with Ok(HashMap::from_iter([(0, vec![Default::default()])]))
- [ ] components/ordhook-core/src/ord/chain.rs:31:9: replace Chain::network -> Network with Default::default()
- [ ] components/ordhook-core/src/db/models/db_location.rs:38:9: replace DbLocation::from_reveal -> Self with Default::default()
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 1)]), vec![(Default::default(), 0, 1)])
- [ ] components/ordhook-core/src/ord/inscription_id.rs:68:9: replace <impl FromStr for InscriptionId>::from_str -> Result<Self, Self::Err> with Ok(Default::default())
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:147:5: replace get_inscriptions_at_block -> Result<BTreeMap<String, TraversalResult>, String> with Ok(BTreeMap::from_iter([(String::new(), Default::default())]))
- [ ] components/ordhook-core/src/ord/epoch.rs:60:9: replace Epoch::starting_height -> Height with Default::default()
- [ ] components/ordhook-core/src/utils/mod.rs:92:5: replace parse_outpoint_to_watch -> (TransactionIdentifier, usize) with (Default::default(), 0)
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 0)]), vec![(Default::default(), 1, 0)])
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:77:9: replace <impl ToSql for PgNumericU128>::to_sql -> Result<IsNull, Box<dyn Error +Sync +Send>> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:35:5: replace get_token -> Result<Option<DbToken>, String> with Ok(Some(Default::default()))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:57:5: replace verify_brc20_operation -> Result<Option<VerifiedBrc20Operation>, String> with Ok(Some(Default::default()))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:155:9: replace Brc20MemoryCache::get_unsent_token_transfer -> Result<Option<DbOperation>, String> with Ok(Some(Default::default()))
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![(1, [0; 8], 0)]))
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::new(), vec![(Default::default(), 0, 1)])
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:86:5: replace get_unsent_token_transfer -> Result<Option<DbOperation>, String> with Ok(Some(Default::default()))
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![]))
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 0)]), vec![(Default::default(), 1, 1)])
- [ ] components/ordhook-core/src/utils/mod.rs:57:5: replace parse_satpoint_to_watch -> (TransactionIdentifier, usize, u64) with (Default::default(), 1, 0)
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![(0, [0; 8], 1)]))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:120:9: replace Brc20TransferBuilder::destination -> Self with Default::default()
- [ ] components/ordhook-core/src/ord/inscription_id.rs:22:9: replace <impl Deserialize for InscriptionId>::deserialize -> Result<Self, D::Error> with Ok(Default::default())
- [ ] components/ordhook-core/src/db/models/db_inscription.rs:95:9: replace <impl FromPgRow for DbInscription>::from_pg_row -> Self with Default::default()
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![(1, [0; 8], 1)]))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:70:9: replace Brc20RevealBuilder::build -> OrdinalInscriptionRevealData with Default::default()
- [ ] components/ordhook-core/src/ord/inscription.rs:209:9: replace Inscription::parent -> Option<InscriptionId> with Some(Default::default())
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:361:5: replace get_operations_at_block -> Result<HashMap<u64, DbOperation>, String> with Ok(HashMap::from_iter([(1, Default::default())]))
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:28:5: replace parse_inscriptions_from_witness -> Option<Vec<(OrdinalInscriptionRevealData, Inscription)>> with Some(vec![(Default::default(), Default::default())])
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/test_utils.rs:10:5: replace get_test_ctx -> Context with Default::default()
- [ ] components/ordhook-core/src/ord/rarity.rs:59:9: replace <impl From for Rarity>::from -> Self with Default::default()
- [ ] components/ordhook-core/src/ord/inscription.rs:166:9: replace Inscription::inscription_id_field -> Option<InscriptionId> with Some(Default::default())
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:90:9: replace <impl FromSql for PgNumericU128>::from_sql -> Result<PgNumericU128, Box<dyn Error +Sync +Send>> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![(0, [0; 8], 0)]))
- [ ] components/ordhook-core/src/ord/inscription.rs:134:9: replace Inscription::media -> Media with Default::default()
- [ ] components/ordhook-core/src/ord/chain.rs:69:9: replace Chain::address_from_script -> Result<Address, bitcoin::address::Error> with Ok(Default::default())
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:131:9: replace <impl Ord for PgNumericU128>::cmp -> Ordering with Default::default()
- [ ] components/ordhook-core/src/db/blocks.rs:74:5: replace open_readonly_blocks_db -> Result<DB, String> with Ok(Default::default())
- [ ] components/ordhook-core/src/ord/epoch.rs:72:9: replace <impl From for Epoch>::from -> Self with Default::default()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/models/db_operation.rs:28:9: replace <impl FromPgRow for DbOperation>::from_pg_row -> Self with Default::default()
- [ ] components/ordhook-core/src/utils/monitoring.rs:104:5: replace serve_req -> Result<Response<Body>, hyper::Error> with Ok(Response::new())
- [ ] components/ordhook-core/src/ord/inscription.rs:205:9: replace Inscription::metadata -> Optionciborium::Value with Some(Default::default())
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![(0, [0; 8], 0)]))
- [ ] components/ordhook-core/src/ord/degree.rs:25:5: replace <impl From for Degree>::from -> Self with Default::default()
- [ ] components/ordhook-core/src/db/models/db_satoshi.rs:15:9: replace DbSatoshi::from_reveal -> Self with Default::default()
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:28:9: replace <impl FromSql for PgBigIntU32>::from_sql -> Result<PgBigIntU32, Box<dyn Error +Sync +Send>> with Ok(Default::default())
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::new(), vec![(Default::default(), 1, 0)])
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 0)]), vec![(Default::default(), 0, 1)])
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 1, vec![(1, [1; 8], 0)]))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:26:5: replace brc20_new_cache -> Option<Brc20MemoryCache> with Some(Default::default())
- [ ] components/ordhook-core/src/db/models/db_current_location.rs:72:9: replace <impl FromPgRow for DbCurrentLocation>::from_pg_row -> Self with Default::default()
- [ ] components/ordhook-core/src/db/blocks.rs:85:5: replace open_readwrite_blocks_db -> Result<DB, String> with Ok(Default::default())
- [ ] components/ordhook-core/src/ord/height.rs:42:9: replace <impl Sub for Height>::sub -> Height with Default::default()
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:84:5: replace compute_satpoint_post_transfer -> (OrdinalInscriptionTransferDestination, String, Option
) with (Default::default(), String::new(), Some(1)) - [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 1, 0)]), vec![(Default::default(), 1, 1)])
- [ ] components/ordhook-core/src/utils/mod.rs:82:5: replace parse_inscription_id -> (TransactionIdentifier, usize) with (Default::default(), 1)
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![(1, [1; 8], 1)]))
- [ ] components/ordhook-core/src/ord/height.rs:22:28: replace + with - in Height::starting_sat
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:57:5: replace compute_satoshi_number -> Result<(TraversalResult, u64, Vec<(u32, [u8; 8], usize)>), String> with Ok((Default::default(), 0, vec![(0, [1; 8], 1)]))
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::from_iter([(Default::default(), 0, 0)]), vec![])
Timeout
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:16:11: delete ! in u128_into_pg_numeric_bytes
- [ ] components/ordhook-core/src/ord/epoch.rs:46:9: replace Epoch::subsidy -> u64 with 1
- [ ] components/ordhook-core/src/db/blocks.rs:99:5: replace insert_entry_in_blocks with ()
- [ ] components/ordhook-core/src/db/blocks.rs:16:5: replace rocks_db_default_options -> Options with Default::default()
- [ ] components/ordhook-core/src/db/blocks.rs:10:5: replace get_default_blocks_db_path -> PathBuf with Default::default()
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:18:13: replace /= with %= in u128_into_pg_numeric_bytes
- [ ] components/ordhook-core/src/ord/height.rs:15:9: replace Height::subsidy -> u64 with 1
Missed
- [ ] components/ordhook-core/src/core/protocol/sequence_cursor.rs:84:47: replace + with * in SequenceCursor::pick_next_pos_classic
- [ ] components/ordhook-core/src/ord/sat.rs:51:9: replace Sat::is_common -> bool with true
- [ ] components/ordhook-core/src/db/blocks.rs:185:41: replace + with - in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/db/blocks.rs:106:25: replace += with -= in insert_entry_in_blocks
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:188:37: replace == with != in bitcoind_download_blocks
- [ ] components/ordhook-core/src/config/mod.rs:97:9: replace ResourcesConfig::get_optimal_thread_pool_capacity -> usize with 1
- [ ] components/ordhook-core/src/ord/inscription.rs:154:9: replace Inscription::content_length -> Option
with None - [ ] components/chainhook-postgres/src/utils.rs:4:5: replace multi_row_query_param_str -> String with "xyzzy".into()
- [ ] components/ordhook-core/src/utils/bitcoind.rs:30:5: replace bitcoind_get_block_height -> u64 with 0
- [ ] components/ordhook-core/src/download/mod.rs:92:22: replace > with < in download_and_decompress_archive_file
- [ ] components/ordhook-core/src/db/blocks.rs:208:5: replace find_missing_blocks -> Vec
with vec![] - [ ] components/ordhook-core/src/ord/chain.rs:22:9: replace Chain::from_bitcoin_network -> Chain with Default::default()
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:107:16: replace += with *= in <impl AddAssign for PgNumericU128>::add_assign
- [ ] components/ordhook-core/src/ord/sat_point.rs:30:9: replace <impl Encodable for SatPoint>::consensus_encode -> Result<usize, io::Error> with Ok(1)
- [ ] components/ordhook-core/src/core/mod.rs:30:5: replace first_inscription_height -> u64 with 0
- [ ] components/ordhook-core/src/db/cursor.rs:25:9: replace TransactionBytesCursor::get_sat_ranges -> Vec<(u64, u64)> with vec![(1, 1)]
- [ ] components/ordhook-core/src/core/mod.rs:177:20: replace < with == in should_sync_ordinals_db
- [ ] components/ordhook-core/src/ord/chain.rs:40:9: replace Chain::default_rpc_port -> u16 with 0
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/index.rs:29:37: replace < with == in index_block_and_insert_brc20_operations
- [ ] components/ordhook-core/src/core/pipeline/processors/block_archiving.rs:78:5: replace store_compacted_blocks with ()
- [ ] components/ordhook-core/src/core/mod.rs:171:27: replace < with == in should_sync_ordinals_db
- [ ] components/ordhook-core/src/ord/inscription.rs:162:9: replace Inscription::metaprotocol -> Option<&str> with None
- [ ] components/ordhook-core/src/utils/bitcoind.rs:55:50: replace == with != in bitcoind_wait_for_chain_tip
- [ ] components/ordhook-core/src/ord/chain.rs:49:9: replace Chain::inscription_content_size_limit -> Option
with Some(0) - [ ] components/ordhook-core/src/core/protocol/sequence_cursor.rs:84:47: replace + with - in SequenceCursor::pick_next_pos_classic
- [ ] components/ordhook-core/src/core/mod.rs:125:5: replace should_sync_rocks_db -> Result<Option<(u64, u64)>, String> with Ok(None)
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:710:46: replace > with < in insert_block
- [ ] components/ordhook-core/src/ord/rarity.rs:72:26: replace == with != in <impl From for Rarity>::from
- [ ] components/chainhook-postgres/src/types/pg_smallint_u8.rs:34:42: replace == with != in <impl FromSql for PgSmallIntU8>::accepts
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:381:5: replace augment_block_with_operations -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/ord/sat_point.rs:31:16: replace + with * in <impl Encodable for SatPoint>::consensus_encode
- [ ] components/ordhook-core/src/ord/inscription.rs:150:9: replace Inscription::into_body -> Option<Vec
> with Some(vec![0]) - [ ] components/ordhook-core/src/utils/mod.rs:14:5: replace read_file_content_at_path -> Result<Vec
, String> with Ok(vec![1]) - [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:29:32: replace * with + in u128_into_pg_numeric_bytes
- [ ] components/ordhook-core/src/core/mod.rs:125:5: replace should_sync_rocks_db -> Result<Option<(u64, u64)>, String> with Ok(Some((0, 0)))
- [ ] components/ordhook-core/src/core/mod.rs:134:40: replace < with == in should_sync_rocks_db
- [ ] components/ordhook-core/src/ord/inscription.rs:172:36: replace + with - in Inscription::inscription_id_field
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:225:34: replace += with *= in bitcoind_download_blocks
- [ ] components/ordhook-core/src/db/blocks.rs:151:74: replace * with / in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/ord/inscription.rs:181:28: replace != with == in Inscription::inscription_id_field
- [ ] components/chainhook-postgres/src/types/pg_smallint_u8.rs:34:9: replace <impl FromSql for PgSmallIntU8>::accepts -> bool with true
- [ ] components/ordhook-core/src/service/mod.rs:375:12: delete ! in chainhook_sidecar_mutate_blocks
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:712:50: replace > with < in insert_block
- [ ] components/ordhook-core/src/download/mod.rs:176:80: replace == with != in validate_or_download_archive_file
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:257:21: replace += with -= in augment_transaction_with_ordinal_transfers
- [ ] components/ordhook-core/src/core/mod.rs:181:20: replace <= with > in should_sync_ordinals_db
- [ ] components/ordhook-core/src/db/blocks.rs:186:74: replace * with + in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:95:49: replace == with != in start_inscription_indexing_processor
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:142:47: replace += with -= in start_inscription_indexing_processor
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:209:38: replace += with -= in bitcoind_download_blocks
- [ ] components/ordhook-core/src/ord/chain.rs:49:9: replace Chain::inscription_content_size_limit -> Option
with Some(1) - [ ] components/ordhook-core/src/core/mod.rs:125:5: replace should_sync_rocks_db -> Result<Option<(u64, u64)>, String> with Ok(Some((0, 1)))
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:481:5: replace augment_transaction_with_ordinals_inscriptions_data -> Result<bool, String> with Ok(true)
- [ ] components/ordhook-core/src/ord/sat_point.rs:30:9: replace <impl Encodable for SatPoint>::consensus_encode -> Result<usize, io::Error> with Ok(0)
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:178:49: replace >= with < in bitcoind_download_blocks
- [ ] components/ordhook-core/src/db/cursor.rs:21:78: replace + with - in TransactionBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:33:29: replace - with / in TraversalResult::get_ordinal_coinbase_offset
- [ ] components/ordhook-core/src/db/blocks.rs:173:5: replace find_block_bytes_at_block_height -> Option<Vec
> with Some(vec![]) - [ ] components/ordhook-core/src/ord/inscription.rs:150:9: replace Inscription::into_body -> Option<Vec
> with None - [ ] components/ordhook-core/src/ord/inscription_id.rs:52:9: replace <impl Display for ParseError>::fmt -> std::fmt::Result with Ok(Default::default())
- [ ] components/ordhook-core/src/core/pipeline/processors/block_archiving.rs:51:34: replace += with -= in start_block_archiving_processor
- [ ] components/ordhook-core/src/db/cursor.rs:56:33: replace + with * in TransactionInputBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/ord/sat.rs:28:9: replace Sat::cycle -> u64 with 0
- [ ] components/ordhook-core/src/service/mod.rs:344:5: replace chainhook_sidecar_mutate_blocks -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:143:50: replace > with < in start_inscription_indexing_processor
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:29:32: replace * with / in u128_into_pg_numeric_bytes
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:209:38: replace += with *= in bitcoind_download_blocks
- [ ] components/ordhook-core/src/service/mod.rs:88:9: replace Service::run -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:572:30: replace += with -= in augment_transaction_with_ordinals_inscriptions_data
- [ ] components/chainhook-postgres/src/utils.rs:13:17: replace += with -= in multi_row_query_param_str
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:775:44: replace += with *= in insert_block
- [ ] components/ordhook-core/src/db/cursor.rs:21:82: replace * with / in TransactionBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/db/blocks.rs:59:25: replace += with -= in open_blocks_db_with_retry
- [ ] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(None)
- [ ] components/ordhook-core/src/db/blocks.rs:60:28: replace > with == in open_blocks_db_with_retry
- [ ] components/ordhook-core/src/db/cursor.rs:199:50: replace > with == in BlockBytesCursor<'a>::from_full_block
- [ ] components/chainhook-postgres/src/utils.rs:4:5: replace multi_row_query_param_str -> String with String::new()
- [ ] components/ordhook-core/src/db/cursor.rs:87:28: replace + with * in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:40:9: replace <impl AddAssign for PgBigIntU32>::add_assign with ()
- [ ] components/ordhook-core/src/core/mod.rs:125:5: replace should_sync_rocks_db -> Result<Option<(u64, u64)>, String> with Ok(Some((1, 1)))
- [ ] components/ordhook-core/src/db/cursor.rs:56:9: replace TransactionInputBytesCursor::get_average_bytes_size -> usize with 1
- [ ] components/ordhook-core/src/db/blocks.rs:194:28: replace > with < in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:253:17: replace % with + in bitcoind_download_blocks
- [ ] components/ordhook-core/src/db/blocks.rs:151:74: replace * with + in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/ord/envelope.rs:108:40: replace + with * in <impl From for ParsedEnvelope>::from
- [ ] components/ordhook-core/src/core/mod.rs:50:50: replace * with + in new_traversals_lazy_cache
- [ ] components/ordhook-cli/src/main.rs:15:5: replace main with ()
- [ ] components/ordhook-core/src/db/blocks.rs:106:25: replace += with *= in insert_entry_in_blocks
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:12:5: replace brc20_activation_height -> u64 with 1
- [ ] components/ordhook-core/src/download/mod.rs:91:19: replace += with -= in download_and_decompress_archive_file
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:257:21: replace += with *= in augment_transaction_with_ordinal_transfers
- [ ] components/ordhook-core/src/core/pipeline/processors/block_archiving.rs:54:37: replace % with / in start_block_archiving_processor
- [ ] components/ordhook-core/src/ord/chain.rs:56:9: replace Chain::first_inscription_height -> u64 with 1
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:107:9: replace <impl AddAssign for PgNumericU128>::add_assign with ()
- [ ] components/ordhook-core/src/download/mod.rs:90:22: replace += with -= in download_and_decompress_archive_file
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:268:47: replace - with + in compute_satoshi_number
- [ ] components/ordhook-core/src/db/blocks.rs:203:5: replace run_compaction with ()
- [ ] components/ordhook-core/src/db/blocks.rs:60:28: replace > with < in open_blocks_db_with_retry
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:104:5: replace get_reinscriptions_for_block -> Result<HashMap<u64, String>, String> with Ok(HashMap::new())
- [ ] components/ordhook-core/src/ord/sat.rs:52:43: replace % with + in Sat::is_common
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:133:5: replace has_ordinal_activity_at_block -> Result<bool, String> with Ok(false)
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:252:80: replace + with - in bitcoind_download_blocks
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:710:46: replace > with == in insert_block
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:224:56: replace - with + in compute_satoshi_number
- [ ] components/ordhook-core/src/core/mod.rs:171:27: replace < with > in should_sync_ordinals_db
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:40:16: replace += with -= in <impl AddAssign for PgBigIntU32>::add_assign
- [ ] components/ordhook-core/src/download/mod.rs:96:22: replace == with != in download_and_decompress_archive_file
- [ ] components/ordhook-core/src/download/mod.rs:213:5: replace download_archive_datasets_if_required with ()
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:143:50: replace > with == in start_inscription_indexing_processor
- [ ] components/ordhook-core/src/ord/sat.rs:28:29: replace / with % in Sat::cycle
- [ ] components/ordhook-core/src/db/cursor.rs:80:9: replace BlockBytesCursor<'a>::get_u64_at_pos -> u64 with 1
- [ ] components/ordhook-core/src/db/cursor.rs:25:9: replace TransactionBytesCursor::get_sat_ranges -> Vec<(u64, u64)> with vec![]
- [ ] components/ordhook-core/src/db/blocks.rs:185:41: replace + with * in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:253:17: replace % with / in bitcoind_download_blocks
- [ ] components/ordhook-core/src/utils/bitcoind.rs:55:76: replace == with != in bitcoind_wait_for_chain_tip
- [ ] components/ordhook-core/src/core/protocol/sequence_cursor.rs:32:9: replace SequenceCursor::reset with ()
- [ ] components/ordhook-core/src/db/blocks.rs:185:52: replace * with / in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/utils/monitoring.rs:67:9: replace PrometheusMonitoring::initialize with ()
- [ ] components/chainhook-postgres/src/types/pg_numeric_u64.rs:42:9: replace <impl PartialOrd for PgNumericU64>::partial_cmp -> Option<Ordering> with None
- [ ] components/ordhook-core/src/db/blocks.rs:107:28: replace > with < in insert_entry_in_blocks
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:92:54: replace + with - in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/ord/sat.rs:24:64: replace / with * in Sat::height
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:404:5: replace augment_block_with_inscriptions -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/service/mod.rs:76:57: replace - with / in Service::get_index_chain_tip
- [ ] components/ordhook-core/src/utils/bitcoind.rs:56:35: replace += with -= in bitcoind_wait_for_chain_tip
- [ ] components/ordhook-cli/src/cli/mod.rs:400:55: replace - with / in handle_command
- [ ] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(Some((0, 1, 0)))
- [ ] components/ordhook-core/src/core/mod.rs:72:35: replace + with - in resolve_absolute_pointer
- [ ] components/ordhook-core/src/core/mod.rs:169:49: replace < with == in should_sync_ordinals_db
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:225:34: replace += with -= in bitcoind_download_blocks
- [ ] components/ordhook-core/src/ord/sat.rs:51:9: replace Sat::is_common -> bool with false
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:104:5: replace get_reinscriptions_for_block -> Result<HashMap<u64, String>, String> with Ok(HashMap::from_iter([(0, String::new())]))
- [ ] components/ordhook-core/src/db/cursor.rs:40:31: replace += with -= in TransactionBytesCursor::get_cumulated_sats_in_until_input_index
- [ ] components/chainhook-postgres/src/types/pg_smallint_u8.rs:20:42: replace == with != in <impl ToSql for PgSmallIntU8>::accepts
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:771:44: replace += with -= in insert_block
- [ ] components/ordhook-core/src/service/mod.rs:69:9: replace Service::get_index_chain_tip -> Result<u64, String> with Ok(1)
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:119:16: replace -= with /= in <impl SubAssign for PgNumericU128>::sub_assign
- [ ] components/ordhook-core/src/download/mod.rs:140:9: replace <impl Read for ChannelRead>::read -> io::Result
with Ok(0) - [ ] components/ordhook-core/src/db/blocks.rs:173:5: replace find_block_bytes_at_block_height -> Option<Vec
> with None - [ ] components/ordhook-core/src/db/ordinals_pg.rs:104:5: replace get_reinscriptions_for_block -> Result<HashMap<u64, String>, String> with Ok(HashMap::from_iter([(1, String::new())]))
- [ ] components/ordhook-core/src/core/mod.rs:76:31: replace += with -= in resolve_absolute_pointer
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:436:40: replace += with *= in Brc20MemoryCache::increase_address_operation_count
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:208:20: delete ! in bitcoind_download_blocks
- [ ] components/ordhook-core/src/ord/inscription.rs:205:9: replace Inscription::metadata -> Optionciborium::Value with None
- [ ] components/ordhook-core/src/db/cursor.rs:56:29: replace + with * in TransactionInputBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/db/cursor.rs:21:22: replace * with + in TransactionBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/ord/height.rs:26:9: replace Height::period_offset -> u64 with 0
- [ ] components/ordhook-core/src/ord/degree.rs:29:23: replace % with + in <impl From for Degree>::from
- [ ] components/ordhook-core/src/core/mod.rs:72:35: replace + with * in resolve_absolute_pointer
- [ ] components/ordhook-core/src/db/cursor.rs:85:28: replace + with * in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/download/mod.rs:160:5: replace validate_or_download_archive_file with ()
- [ ] components/ordhook-core/src/core/mod.rs:50:50: replace * with / in new_traversals_lazy_cache
- [ ] components/ordhook-core/src/ord/chain.rs:73:9: replace Chain::join_with_data_dir -> PathBuf with Default::default()
- [ ] components/ordhook-core/src/ord/rarity.rs:70:26: replace == with != in <impl From for Rarity>::from
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:82:9: replace <impl ToSql for PgNumericU128>::accepts -> bool with true
- [ ] components/ordhook-core/src/ord/height.rs:26:9: replace Height::period_offset -> u64 with 1
- [ ] components/ordhook-core/src/service/mod.rs:229:9: replace Service::check_blocks_db_integrity -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/service/mod.rs:300:37: replace == with != in Service::catch_up_to_bitcoin_chain_tip
- [ ] components/ordhook-core/src/ord/inscription.rs:130:9: replace Inscription::append_batch_reveal_script -> ScriptBuf with Default::default()
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:194:33: replace += with -= in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/db/cursor.rs:21:82: replace * with + in TransactionBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:94:46: replace += with -= in start_inscription_indexing_processor
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:256:26: replace += with -= in compute_satoshi_number
- [ ] components/ordhook-core/src/db/blocks.rs:149:25: replace += with *= in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:775:44: replace += with -= in insert_block
- [ ] components/ordhook-core/src/db/blocks.rs:150:41: replace + with - in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:594:12: delete ! in augment_transaction_with_ordinals_inscriptions_data
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:735:57: replace > with < in insert_block
- [ ] components/ordhook-core/src/db/cursor.rs:21:18: replace + with * in TransactionBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/download/mod.rs:180:31: replace == with != in validate_or_download_archive_file
- [ ] components/ordhook-core/src/core/mod.rs:177:42: replace > with < in should_sync_ordinals_db
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:228:34: replace += with *= in bitcoind_download_blocks
- [ ] components/ordhook-core/src/ord/inscription.rs:181:33: replace && with || in Inscription::inscription_id_field
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:101:16: replace += with *= in <impl AddAssign for PgNumericU128>::add_assign
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:113:16: replace -= with /= in <impl SubAssign for PgNumericU128>::sub_assign
- [ ] components/ordhook-core/src/db/cursor.rs:25:9: replace TransactionBytesCursor::get_sat_ranges -> Vec<(u64, u64)> with vec![(0, 0)]
- [ ] components/ordhook-core/src/ord/inscription.rs:172:24: replace > with < in Inscription::inscription_id_field
- [ ] components/ordhook-core/src/ord/epoch.rs:66:9: replace <impl PartialEq for Epoch>::eq -> bool with true
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:83:8: delete ! in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/core/mod.rs:63:5: replace resolve_absolute_pointer -> (usize, u64) with (0, 1)
- [ ] components/ordhook-cli/src/cli/mod.rs:82:9: replace RepairStorageCommand::get_blocks -> Vec
with vec![1] - [ ] components/ordhook-core/src/core/mod.rs:67:31: replace > with < in resolve_absolute_pointer
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:22:9: replace ParsedBrc20BalanceData::float_amt -> f64 with -1.0
- [ ] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(Some((1, 0, 0)))
- [ ] components/ordhook-core/src/utils/mod.rs:14:5: replace read_file_content_at_path -> Result<Vec
, String> with Ok(vec![0]) - [ ] components/ordhook-core/src/db/cursor.rs:76:9: replace BlockBytesCursor<'a>::get_coinbase_outputs_len -> usize with 1
- [ ] components/ordhook-core/src/ord/chain.rs:49:9: replace Chain::inscription_content_size_limit -> Option
with None - [ ] components/ordhook-core/src/ord/rarity.rs:68:41: replace == with != in <impl From for Rarity>::from
- [ ] components/ordhook-core/src/utils/bitcoind.rs:30:5: replace bitcoind_get_block_height -> u64 with 1
- [ ] components/ordhook-core/src/utils/mod.rs:28:5: replace write_file_content_at_path -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/db/cursor.rs:28:44: replace + with - in TransactionBytesCursor::get_sat_ranges
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:767:44: replace += with *= in insert_block
- [ ] components/ordhook-core/src/db/mod.rs:13:5: replace migrate_dbs -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:328:5: replace get_transactions_to_process -> (HashSet<(TransactionIdentifier, usize, u64)>, Vec<(TransactionIdentifier, usize, u64)>,) with (HashSet::new(), vec![])
- [ ] components/ordhook-core/src/db/cursor.rs:56:18: replace + with - in TransactionInputBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:149:71: replace % with + in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:104:5: replace get_reinscriptions_for_block -> Result<HashMap<u64, String>, String> with Ok(HashMap::from_iter([(1, "xyzzy".into())]))
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:120:31: replace > with == in parse_brc20_operation
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:113:16: replace -= with += in <impl SubAssign for PgNumericU128>::sub_assign
- [ ] components/ordhook-core/src/download/mod.rs:92:22: replace > with == in download_and_decompress_archive_file
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:101:9: replace <impl AddAssign for PgNumericU128>::add_assign with ()
- [ ] components/ordhook-cli/src/config/generator.rs:4:5: replace generate_config -> String with "xyzzy".into()
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:120:26: replace += with *= in compute_satoshi_number
- [ ] components/ordhook-core/src/utils/bitcoind.rs:59:38: replace == with != in bitcoind_wait_for_chain_tip
- [ ] components/ordhook-core/src/ord/chain.rs:40:9: replace Chain::default_rpc_port -> u16 with 1
- [ ] components/ordhook-core/src/db/cursor.rs:88:28: replace + with - in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/core/pipeline/processors/block_archiving.rs:51:34: replace += with *= in start_block_archiving_processor
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:29:19: replace + with * in u128_into_pg_numeric_bytes
- [ ] components/ordhook-core/src/ord/inscription.rs:45:9: replace Inscription::pointer_value -> Vec
with vec![] - [ ] components/ordhook-core/src/db/cursor.rs:233:48: replace > with == in BlockBytesCursor<'a>::from_full_block
- [ ] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(Some((1, 1, 0)))
- [ ] components/ordhook-core/src/ord/inscription.rs:45:9: replace Inscription::pointer_value -> Vec
with vec![1] - [ ] components/ordhook-core/src/utils/monitoring.rs:104:5: replace serve_req -> Result<Response<Body>, hyper::Error> with Ok(Response::from(Default::default()))
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:129:47: replace - with + in compute_satoshi_number
- [ ] components/ordhook-core/src/ord/inscription_id.rs:73:41: replace + with - in <impl FromStr for InscriptionId>::from_str
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:125:9: replace <impl PartialOrd for PgNumericU128>::partial_cmp -> Option<Ordering> with None
- [ ] components/ordhook-core/src/db/blocks.rs:229:5: replace delete_blocks_in_block_range with ()
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:780:48: replace += with *= in insert_block
- [ ] components/ordhook-core/src/ord/height.rs:26:16: replace % with / in Height::period_offset
- [ ] components/ordhook-core/src/db/cursor.rs:28:44: replace + with * in TransactionBytesCursor::get_sat_ranges
- [ ] components/ordhook-core/src/db/blocks.rs:150:52: replace * with + in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/ord/sat.rs:24:40: replace + with - in Sat::height
- [ ] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(Some((0, 1, 1)))
- [ ] components/ordhook-core/src/ord/sat.rs:52:17: replace - with / in Sat::is_common
- [ ] components/ordhook-core/src/core/mod.rs:50:43: replace * with / in new_traversals_lazy_cache
- [ ] components/ordhook-core/src/db/blocks.rs:159:28: replace > with < in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/mod.rs:41:5: replace new_traversals_cache -> DashMap<(u32, [u8; 8]), (Vec<([u8; 8], u32, u16, u64)>, Vec
), BuildHasherDefault<FxHasher>> with Default::default() - [ ] components/ordhook-core/src/config/mod.rs:121:9: replace Config::should_bootstrap_through_download -> bool with true
- [ ] components/ordhook-core/src/ord/height.rs:34:21: replace + with * in <impl Add for Height>::add
- [ ] components/ordhook-core/src/db/models/db_location.rs:55:56: replace == with != in DbLocation::from_reveal
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:142:47: replace += with *= in start_inscription_indexing_processor
- [ ] components/ordhook-core/src/db/cursor.rs:76:9: replace BlockBytesCursor<'a>::get_coinbase_outputs_len -> usize with 0
- [ ] components/ordhook-core/src/db/cursor.rs:21:9: replace TransactionBytesCursor::get_average_bytes_size -> usize with 1
- [ ] components/ordhook-core/src/core/mod.rs:76:31: replace += with *= in resolve_absolute_pointer
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:171:5: replace process_blocks -> Result<Vec<BitcoinBlockData>, String> with Ok(vec![])
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:712:50: replace > with == in insert_block
- [ ] components/ordhook-core/src/ord/sat_point.rs:24:9: replace <impl Display for SatPoint>::fmt -> std::fmt::Result with Ok(Default::default())
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:711:21: replace || with && in insert_block
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:27:9: replace TraversalResult::get_ordinal_coinbase_height -> u64 with 1
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:426:32: replace += with -= in Brc20MemoryCache::increase_operation_count
- [ ] components/ordhook-core/src/download/mod.rs:90:22: replace += with *= in download_and_decompress_archive_file
- [ ] components/ordhook-core/src/ord/inscription.rs:162:9: replace Inscription::metaprotocol -> Option<&str> with Some("")
- [ ] components/ordhook-core/src/db/cursor.rs:84:28: replace + with * in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:86:5: replace get_lowest_cursed_classic_inscription_number -> Result<Option
, String> with Ok(Some(0)) - [ ] components/ordhook-core/src/utils/bitcoind.rs:50:5: replace bitcoind_wait_for_chain_tip with ()
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:27:9: replace TraversalResult::get_ordinal_coinbase_height -> u64 with 0
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:104:5: replace get_reinscriptions_for_block -> Result<HashMap<u64, String>, String> with Ok(HashMap::from_iter([(0, "xyzzy".into())]))
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:252:80: replace + with * in bitcoind_download_blocks
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:767:44: replace += with -= in insert_block
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/index.rs:29:37: replace < with > in index_block_and_insert_brc20_operations
- [ ] components/ordhook-core/src/core/mod.rs:177:42: replace > with == in should_sync_ordinals_db
- [ ] components/ordhook-core/src/ord/degree.rs:27:21: replace / with % in <impl From for Degree>::from
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:771:44: replace += with *= in insert_block
- [ ] components/ordhook-core/src/db/blocks.rs:194:28: replace > with == in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/ord/sat.rs:28:9: replace Sat::cycle -> u64 with 1
- [ ] components/ordhook-core/src/db/blocks.rs:107:28: replace > with == in insert_entry_in_blocks
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:222:32: replace == with != in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/core/mod.rs:125:5: replace should_sync_rocks_db -> Result<Option<(u64, u64)>, String> with Ok(Some((1, 0)))
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:107:16: replace += with -= in <impl AddAssign for PgNumericU128>::add_assign
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:236:33: replace > with < in bitcoind_download_blocks
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:34:42: replace == with != in <impl FromSql for PgBigIntU32>::accepts
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:436:40: replace += with -= in Brc20MemoryCache::increase_address_operation_count
- [ ] components/ordhook-core/src/core/protocol/sequence_cursor.rs:101:50: replace + with - in SequenceCursor::pick_next_jubilee_number
- [ ] components/ordhook-core/src/core/protocol/sequence_cursor.rs:45:25: replace < with == in SequenceCursor::pick_next
- [ ] components/ordhook-core/src/ord/rarity.rs:68:26: replace == with != in <impl From for Rarity>::from
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:446:32: replace += with *= in Brc20MemoryCache::increase_token_operation_count
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:191:5: replace augment_transaction_with_ordinal_transfers -> Result<Vec<OrdinalInscriptionTransferData>, String> with Ok(vec![])
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:106:33: replace != with == in get_reinscriptions_for_block
- [ ] components/ordhook-core/src/db/cursor.rs:86:28: replace + with - in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/db/cursor.rs:29:19: replace += with -= in TransactionBytesCursor::get_sat_ranges
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:104:24: replace > with == in compute_satoshi_number
- [ ] components/ordhook-core/src/ord/sat.rs:28:29: replace / with * in Sat::cycle
- [ ] components/chainhook-postgres/src/utils.rs:13:17: replace += with *= in multi_row_query_param_str
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:37:9: replace TraversalResult::get_inscription_id -> String with String::new()
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:228:34: replace += with -= in bitcoind_download_blocks
- [ ] components/ordhook-core/src/db/blocks.rs:185:52: replace * with + in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/db/cursor.rs:87:28: replace + with - in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/chainhook-postgres/src/types/pg_numeric_u64.rs:23:9: replace <impl ToSql for PgNumericU64>::accepts -> bool with true
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:298:5: replace rollback_block -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/core/protocol/sequence_cursor.rs:101:50: replace + with * in SequenceCursor::pick_next_jubilee_number
- [ ] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(Some((1, 0, 1)))
- [ ] components/ordhook-core/src/service/mod.rs:268:9: replace Service::catch_up_to_bitcoin_chain_tip -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/ord/degree.rs:29:23: replace % with / in <impl From for Degree>::from
- [ ] components/ordhook-core/src/download/mod.rs:213:8: delete ! in download_archive_datasets_if_required
- [ ] components/ordhook-core/src/db/cursor.rs:88:28: replace + with * in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/core/mod.rs:78:57: replace - with / in resolve_absolute_pointer
- [ ] components/ordhook-core/src/ord/degree.rs:28:23: replace % with / in <impl From for Degree>::from
- [ ] components/ordhook-core/src/config/mod.rs:291:5: replace default_observers_cache_path -> String with "xyzzy".into()
- [ ] components/ordhook-cli/src/cli/mod.rs:82:9: replace RepairStorageCommand::get_blocks -> Vec
with vec![0] - [ ] components/ordhook-core/src/db/ordinals_pg.rs:69:5: replace get_highest_blessed_classic_inscription_number -> Result<Option
, String> with Ok(Some(0)) - [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:40:16: replace += with *= in <impl AddAssign for PgBigIntU32>::add_assign
- [ ] components/ordhook-core/src/db/cursor.rs:37:18: replace == with != in TransactionBytesCursor::get_cumulated_sats_in_until_input_index
- [ ] components/ordhook-core/src/db/cursor.rs:86:28: replace + with * in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:95:9: replace <impl FromSql for PgNumericU128>::accepts -> bool with true
- [ ] components/ordhook-core/src/utils/mod.rs:49:5: replace format_inscription_id -> String with "xyzzy".into()
- [ ] components/ordhook-core/src/db/cursor.rs:35:9: replace TransactionBytesCursor::get_cumulated_sats_in_until_input_index -> u64 with 0
- [ ] components/ordhook-core/src/db/blocks.rs:149:25: replace += with -= in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:426:32: replace += with *= in Brc20MemoryCache::increase_operation_count
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:362:32: replace != with == in Brc20MemoryCache::insert_token_transfer_send
- [ ] components/ordhook-core/src/download/mod.rs:34:21: replace == with != in download_and_decompress_archive_file
- [ ] components/ordhook-core/src/ord/inscription.rs:201:9: replace Inscription::delegate -> Option<InscriptionId> with None
- [ ] components/ordhook-core/src/ord/sat.rs:52:61: replace != with == in Sat::is_common
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:712:25: replace && with || in insert_block
- [ ] components/ordhook-core/src/db/cursor.rs:228:46: replace > with == in BlockBytesCursor<'a>::from_full_block
- [ ] components/ordhook-core/src/db/blocks.rs:232:42: replace - with + in delete_blocks_in_block_range
- [ ] components/ordhook-core/src/db/cursor.rs:56:18: replace + with * in TransactionInputBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/db/blocks.rs:208:5: replace find_missing_blocks -> Vec
with vec![0] - [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:82:68: replace || with && in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/db/cursor.rs:82:28: replace + with * in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/db/cursor.rs:35:9: replace TransactionBytesCursor::get_cumulated_sats_in_until_input_index -> u64 with 1
- [ ] components/ordhook-core/src/ord/inscription.rs:168:24: replace < with > in Inscription::inscription_id_field
- [ ] components/ordhook-core/src/ord/sat_point.rs:31:16: replace + with - in <impl Encodable for SatPoint>::consensus_encode
- [ ] components/ordhook-core/src/db/blocks.rs:59:25: replace += with *= in open_blocks_db_with_retry
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:113:9: replace <impl SubAssign for PgNumericU128>::sub_assign with ()
- [ ] components/ordhook-core/src/core/mod.rs:160:25: replace += with *= in should_sync_ordinals_db
- [ ] components/ordhook-core/src/ord/rarity.rs:66:32: replace == with != in <impl From for Rarity>::from
- [ ] components/ordhook-core/src/core/mod.rs:72:50: replace > with == in resolve_absolute_pointer
- [ ] components/ordhook-core/src/db/models/db_inscription.rs:48:31: replace != with == in DbInscription::from_reveal
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:149:71: replace % with / in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:785:44: replace += with *= in insert_block
- [ ] components/ordhook-core/src/ord/chain.rs:56:9: replace Chain::first_inscription_height -> u64 with 0
- [ ] components/ordhook-core/src/core/mod.rs:72:50: replace > with < in resolve_absolute_pointer
- [ ] components/ordhook-core/src/ord/sat.rs:24:64: replace / with % in Sat::height
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:133:21: replace && with || in parse_inscriptions_from_standardized_tx
- [ ] components/ordhook-core/src/db/cursor.rs:84:28: replace + with - in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/service/mod.rs:69:9: replace Service::get_index_chain_tip -> Result<u64, String> with Ok(0)
- [ ] components/ordhook-core/src/core/protocol/sequence_cursor.rs:115:47: replace - with + in SequenceCursor::pick_next_neg_classic
- [ ] components/ordhook-cli/src/cli/mod.rs:82:9: replace RepairStorageCommand::get_blocks -> Vec
with vec![] - [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:101:16: replace += with -= in <impl AddAssign for PgNumericU128>::add_assign
- [ ] components/ordhook-core/src/db/blocks.rs:150:52: replace * with / in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/db/blocks.rs:208:5: replace find_missing_blocks -> Vec
with vec![1] - [ ] components/ordhook-core/src/db/cursor.rs:21:22: replace * with / in TransactionBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/core/pipeline/processors/block_archiving.rs:54:37: replace % with + in start_block_archiving_processor
- [ ] components/ordhook-core/src/ord/inscription.rs:47:37: replace == with != in Inscription::pointer_value
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:232:38: replace += with *= in compute_satoshi_number
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:12:5: replace brc20_activation_height -> u64 with 0
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:20:9: replace <impl ToSql for PgBigIntU32>::accepts -> bool with true
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:86:5: replace get_lowest_cursed_classic_inscription_number -> Result<Option
, String> with Ok(None) - [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:120:26: replace += with -= in compute_satoshi_number
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:22:9: replace ParsedBrc20BalanceData::float_amt -> f64 with 0.0
- [ ] components/ordhook-core/src/db/cursor.rs:83:28: replace + with - in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/ord/sat.rs:52:17: replace - with + in Sat::is_common
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:46:9: replace <impl PartialOrd for PgBigIntU32>::partial_cmp -> Option<Ordering> with None
- [ ] components/ordhook-core/src/db/blocks.rs:173:5: replace find_block_bytes_at_block_height -> Option<Vec
> with Some(vec![1]) - [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:194:33: replace += with *= in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/ord/inscription.rs:119:9: replace Inscription::append_batch_reveal_script_to_builder -> script::Builder with Default::default()
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:711:51: replace == with != in insert_block
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:69:5: replace parallelize_inscription_data_computations -> Result<bool, String> with Ok(false)
- [ ] components/ordhook-core/src/ord/inscription.rs:150:9: replace Inscription::into_body -> Option<Vec
> with Some(vec![1]) - [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:37:9: replace TraversalResult::get_inscription_id -> String with "xyzzy".into()
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:34:9: replace <impl FromSql for PgBigIntU32>::accepts -> bool with true
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:50: replace == with != in parse_float_numeric_value
- [ ] components/ordhook-core/src/core/mod.rs:78:57: replace - with + in resolve_absolute_pointer
- [ ] components/ordhook-core/src/db/blocks.rs:232:42: replace - with / in delete_blocks_in_block_range
- [ ] components/ordhook-core/src/core/mod.rs:48:5: replace new_traversals_lazy_cache -> DashMap<(u32, [u8; 8]), TransactionBytesCursor, BuildHasherDefault<FxHasher>> with Default::default()
- [ ] components/ordhook-core/src/db/blocks.rs:218:5: replace remove_entry_from_blocks with ()
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:149:66: replace + with - in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/utils/mod.rs:14:5: replace read_file_content_at_path -> Result<Vec
, String> with Ok(vec![]) - [ ] components/ordhook-core/src/ord/sat.rs:52:43: replace % with / in Sat::is_common
- [ ] components/ordhook-core/src/ord/inscription.rs:154:9: replace Inscription::content_length -> Option
with Some(0) - [ ] components/ordhook-cli/src/config/generator.rs:4:5: replace generate_config -> String with String::new()
- [ ] components/ordhook-core/src/utils/monitoring.rs:104:5: replace serve_req -> Result<Response<Body>, hyper::Error> with Ok(Response::new(Default::default()))
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:149:66: replace + with * in parallelize_inscription_data_computations
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:119:16: replace -= with += in <impl SubAssign for PgNumericU128>::sub_assign
- [ ] components/ordhook-core/src/config/mod.rs:291:5: replace default_observers_cache_path -> String with String::new()
- [ ] components/ordhook-core/src/db/cursor.rs:40:31: replace += with *= in TransactionBytesCursor::get_cumulated_sats_in_until_input_index
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:525:12: delete ! in augment_transaction_with_ordinals_inscriptions_data
- [ ] components/ordhook-core/src/ord/rarity.rs:20:9: replace <impl From for u8>::from -> Self with Default::default()
- [ ] components/ordhook-core/src/service/mod.rs:76:57: replace - with + in Service::get_index_chain_tip
- [ ] components/chainhook-postgres/src/types/pg_numeric_u128.rs:119:9: replace <impl SubAssign for PgNumericU128>::sub_assign with ()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:177:9: replace Brc20MemoryCache::ignore_inscription with ()
- [ ] components/ordhook-core/src/ord/chain.rs:84:9: replace <impl Display for Chain>::fmt -> std::fmt::Result with Ok(Default::default())
- [ ] components/ordhook-core/src/core/mod.rs:177:29: replace && with || in should_sync_ordinals_db
- [ ] components/ordhook-core/src/config/mod.rs:285:5: replace default_cache_path -> String with "xyzzy".into()
- [ ] components/ordhook-core/src/service/mod.rs:164:9: replace Service::rollback -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:785:44: replace += with -= in insert_block
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:236:33: replace > with == in bitcoind_download_blocks
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:760:81: replace < with > in insert_block
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:284:37: replace == with != in insert_inscription_recursions
- [ ] components/ordhook-core/src/db/blocks.rs:186:74: replace * with / in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/mod.rs:50:43: replace * with + in new_traversals_lazy_cache
- [ ] components/chainhook-postgres/src/types/pg_numeric_u64.rs:36:9: replace <impl FromSql for PgNumericU64>::accepts -> bool with true
- [ ] components/ordhook-core/src/db/blocks.rs:184:25: replace += with -= in find_block_bytes_at_block_height
- [ ] components/ordhook-cli/src/cli/mod.rs:259:5: replace main with ()
- [ ] components/ordhook-core/src/db/cursor.rs:204:48: replace > with == in BlockBytesCursor<'a>::from_full_block
- [ ] components/ordhook-core/src/download/mod.rs:140:9: replace <impl Read for ChannelRead>::read -> io::Result
with Ok(1) - [ ] components/ordhook-core/src/core/mod.rs:134:40: replace < with > in should_sync_rocks_db
- [ ] components/ordhook-core/src/config/mod.rs:128:9: replace Config::expected_cache_path -> PathBuf with Default::default()
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:212:36: replace - with + in compute_satoshi_number
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/index.rs:29:5: replace index_block_and_insert_brc20_operations -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:82:71: delete ! in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/db/cursor.rs:80:9: replace BlockBytesCursor<'a>::get_u64_at_pos -> u64 with 0
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:22:9: replace ParsedBrc20BalanceData::float_amt -> f64 with 1.0
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:43:34: replace != with == in parse_inscriptions_from_witness
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:182:5: replace get_inscribed_satpoints_at_tx_inputs -> Result<HashMap<usize, Vec<WatchedSatpoint>>, String> with Ok(HashMap::from_iter([(1, vec![])]))
- [ ] components/ordhook-core/src/db/blocks.rs:127:5: replace find_last_block_inserted -> u32 with 0
- [ ] components/ordhook-core/src/utils/bitcoind.rs:55:59: replace && with || in bitcoind_wait_for_chain_tip
- [ ] components/ordhook-core/src/db/cursor.rs:21:78: replace + with * in TransactionBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:86:5: replace get_unsent_token_transfer -> Result<Option<DbOperation>, String> with Ok(None)
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:133:5: replace has_ordinal_activity_at_block -> Result<bool, String> with Ok(true)
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:288:32: replace += with -= in Brc20MemoryCache::insert_token_mint
- [ ] components/chainhook-postgres/src/types/pg_bigint_u32.rs:20:42: replace == with != in <impl ToSql for PgBigIntU32>::accepts
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:32:9: replace TraversalResult::get_ordinal_coinbase_offset -> u64 with 0
- [ ] components/ordhook-core/src/db/blocks.rs:173:5: replace find_block_bytes_at_block_height -> Option<Vec
> with Some(vec![0]) - [ ] components/ordhook-core/src/ord/height.rs:48:9: replace <impl PartialEq for Height>::eq -> bool with true
- [ ] components/ordhook-core/src/core/mod.rs:30:5: replace first_inscription_height -> u64 with 1
- [ ] components/ordhook-core/src/db/cursor.rs:106:39: replace + with - in BlockBytesCursor<'a>::get_transaction_format
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:284:5: replace insert_inscription_recursions -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/ord/degree.rs:27:21: replace / with * in <impl From for Degree>::from
- [ ] components/ordhook-core/src/ord/inscription.rs:172:24: replace > with == in Inscription::inscription_id_field
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:572:30: replace += with *= in augment_transaction_with_ordinals_inscriptions_data
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:182:5: replace get_inscribed_satpoints_at_tx_inputs -> Result<HashMap<usize, Vec<WatchedSatpoint>>, String> with Ok(HashMap::from_iter([(0, vec![])]))
- [ ] components/ordhook-core/src/db/blocks.rs:185:31: replace * with + in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/mod.rs:63:5: replace resolve_absolute_pointer -> (usize, u64) with (1, 1)
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:32:9: replace TraversalResult::get_ordinal_coinbase_offset -> u64 with 1
- [ ] components/ordhook-core/src/ord/degree.rs:27:37: replace * with + in <impl From for Degree>::from
- [ ] components/ordhook-core/src/download/mod.rs:140:36: replace == with != in <impl Read for ChannelRead>::read
- [ ] components/ordhook-core/src/core/mod.rs:67:31: replace > with == in resolve_absolute_pointer
- [ ] components/ordhook-core/src/db/blocks.rs:127:5: replace find_last_block_inserted -> u32 with 1
- [ ] components/ordhook-core/src/download/mod.rs:91:19: replace += with *= in download_and_decompress_archive_file
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:230:20: delete ! in bitcoind_download_blocks
- [ ] components/ordhook-core/src/ord/degree.rs:28:23: replace % with + in <impl From for Degree>::from
- [ ] components/ordhook-core/src/db/cursor.rs:56:29: replace + with - in TransactionInputBytesCursor::get_average_bytes_size
- [ ] components/ordhook-core/src/utils/mod.rs:49:5: replace format_inscription_id -> String with String::new()
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:780:48: replace += with -= in insert_block
- [ ] components/ordhook-core/src/ord/inscription.rs:172:36: replace + with * in Inscription::inscription_id_field
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:69:5: replace parallelize_inscription_data_computations -> Result<bool, String> with Ok(true)
- [ ] components/ordhook-core/src/db/cursor.rs:29:19: replace += with *= in TransactionBytesCursor::get_sat_ranges
- [ ] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:92:54: replace + with * in parallelize_inscription_data_computations
- [ ] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:33:29: replace - with + in TraversalResult::get_ordinal_coinbase_offset
- [ ] components/ordhook-core/src/db/blocks.rs:150:31: replace * with / in find_pinned_block_bytes_at_block_height
- [ ] components/ordhook-core/src/db/cursor.rs:25:9: replace TransactionBytesCursor::get_sat_ranges -> Vec<(u64, u64)> with vec![(0, 1)]
- [ ] components/ordhook-cli/src/cli/mod.rs:400:55: replace - with + in handle_command
- [ ] components/ordhook-core/src/ord/inscription.rs:166:9: replace Inscription::inscription_id_field -> Option<InscriptionId> with None
- [ ] components/ordhook-core/src/ord/inscription.rs:154:9: replace Inscription::content_length -> Option
with Some(1) - [ ] components/ordhook-core/src/core/mod.rs:63:5: replace resolve_absolute_pointer -> (usize, u64) with (1, 0)
- [ ] components/ordhook-core/src/config/mod.rs:285:5: replace default_cache_path -> String with String::new()
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:45:35: replace != with == in parse_inscriptions_from_witness
- [ ] components/ordhook-core/src/core/pipeline/processors/block_archiving.rs:54:46: replace == with != in start_block_archiving_processor
- [ ] components/ordhook-core/src/db/cursor.rs:25:9: replace TransactionBytesCursor::get_sat_ranges -> Vec<(u64, u64)> with vec![(1, 0)]
- [ ] components/ordhook-cli/src/cli/mod.rs:282:5: replace handle_command -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/config/mod.rs:134:9: replace Config::expected_observers_cache_path -> PathBuf with Default::default()
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:446:32: replace += with -= in Brc20MemoryCache::increase_token_operation_count
- [ ] components/ordhook-core/src/service/mod.rs:241:12: delete ! in Service::check_blocks_db_integrity
- [ ] components/chainhook-postgres/src/types/pg_smallint_u8.rs:20:9: replace <impl ToSql for PgSmallIntU8>::accepts -> bool with true
- [ ] components/ordhook-core/src/core/protocol/inscription_parsing.rs:133:47: replace >= with < in parse_inscriptions_from_standardized_tx
- [ ] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:53:5: replace augment_block_with_transfers -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/ord/rarity.rs:66:47: replace == with != in <impl From for Rarity>::from
- [ ] components/ordhook-core/src/db/cursor.rs:83:28: replace + with * in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/db/ordinals_pg.rs:182:5: replace get_inscribed_satpoints_at_tx_inputs -> Result<HashMap<usize, Vec<WatchedSatpoint>>, String> with Ok(HashMap::new())
- [ ] components/ordhook-core/src/db/blocks.rs:184:25: replace += with *= in find_block_bytes_at_block_height
- [ ] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:410:21: replace + with - in Brc20MemoryCache::insert_token_transfer_send
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:48:5: replace bitcoind_download_blocks -> Result<(), String> with Ok(())
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:94:46: replace += with *= in start_inscription_indexing_processor
- [ ] components/ordhook-core/src/config/mod.rs:121:9: replace Config::should_bootstrap_through_download -> bool with false
- [ ] components/ordhook-core/src/core/mod.rs:177:20: replace < with > in should_sync_ordinals_db
- [ ] components/ordhook-core/src/core/pipeline/mod.rs:128:54: replace >= with < in bitcoind_download_blocks
- [ ] components/ordhook-core/src/ord/inscription.rs:150:9: replace Inscription::into_body -> Option<Vec
> with Some(vec![]) - [ ] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(Some((0, 0, 0)))
- [ ] components/ordhook-core/src/utils/monitoring.rs:143:5: replace start_serving_prometheus_metrics with ()
- [ ] components/ordhook-core/src/db/cursor.rs:85:28: replace + with - in BlockBytesCursor<'a>::get_u64_at_pos
- [ ] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(Some((1, 1, 1)))
- [ ] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:218:5: replace process_block -> Result<(), String> with Ok(())
Caught
- [x] components/ordhook-core/src/db/cursor.rs:104:87: replace + with - in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/epoch.rs:102:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/sat.rs:32:9: replace Sat::percentile -> String with String::new()
- [x] components/ordhook-core/src/db/cursor.rs:177:34: replace += with *= in BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid
- [x] components/ordhook-core/src/ord/rarity.rs:42:9: replace <impl Display for Rarity>::fmt -> std::fmt::Result with Ok(Default::default())
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:62:60: replace - with / in pg_numeric_bytes_to_u128
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:221:33: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/db/cursor.rs:233:48: replace > with < in BlockBytesCursor<'a>::from_full_block
- [x] components/chainhook-postgres/src/types/pg_smallint_u8.rs:20:19: replace == with != in <impl ToSql for PgSmallIntU8>::accepts
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:128:29: replace < with > in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:115:27: replace != with == in verify_brc20_operation
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:117:9: replace Brc20MemoryCache::get_token_minted_supply -> Result<Option
, String> with Ok(Some(0)) - [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:21:5: replace migrate -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/inscription_id.rs:75:20: replace < with == in <impl FromStr for InscriptionId>::from_str
- [x] components/ordhook-core/src/core/mod.rs:111:82: replace >= with < in compute_next_satpoint_data
- [x] components/ordhook-core/src/db/cursor.rs:104:87: replace + with * in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/envelope.rs:44:5: replace remove_field -> Option<Vec
> with Some(vec![]) - [x] components/ordhook-core/src/db/models/db_inscription.rs:50:42: replace != with == in DbInscription::from_reveal
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:232:38: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/core/mod.rs:113:59: replace - with / in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/epoch.rs:112:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/envelope.rs:91:79: replace > with == in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:204:30: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/db/cursor.rs:107:39: replace + with * in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:258:22: replace += with *= in compute_satoshi_number
- [x] components/chainhook-postgres/src/types/pg_smallint_u8.rs:20:9: replace <impl ToSql for PgSmallIntU8>::accepts -> bool with false
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:81: replace && with || in parse_float_numeric_value
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:287:5: replace update_token_operation_counts -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/envelope.rs:135:9: replace ParsedEnvelope::from_transaction -> Vec<Self> with vec![Default::default()]
- [x] components/chainhook-postgres/src/types/pg_bigint_u32.rs:20:9: replace <impl ToSql for PgBigIntU32>::accepts -> bool with false
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:49:5: replace get_token_minted_supply -> Result<Option
, String> with Ok(Some(0)) - [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:161:81: replace > with == in parse_brc20_operation
- [x] components/ordhook-core/src/ord/epoch.rs:108:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:97:9: replace SequenceCursor::pick_next_jubilee_number -> Result<i64, String> with Ok(0)
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:224:56: replace - with / in compute_satoshi_number
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:18:13: replace /= with *= in u128_into_pg_numeric_bytes
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:68:27: replace > with == in parse_float_numeric_value
- [x] components/ordhook-core/src/core/mod.rs:116:35: replace - with + in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/envelope.rs:44:5: replace remove_field -> Option<Vec
> with Some(vec![0]) - [x] components/ordhook-core/src/db/ordinals_pg.rs:147:5: replace get_inscriptions_at_block -> Result<BTreeMap<String, TraversalResult>, String> with Ok(BTreeMap::new())
- [x] components/ordhook-core/src/ord/inscription.rs:212:24: replace < with == in Inscription::parent
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:324:23: replace == with != in update_token_minted_supplies
- [x] components/ordhook-core/src/ord/epoch.rs:94:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:255:44: replace + with * in Brc20MemoryCache::insert_token_mint
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:50:17: replace * with + in decimals_str_amount_to_u128
- [x] components/ordhook-core/src/utils/monitoring.rs:86:31: replace > with < in PrometheusMonitoring::metrics_inscription_indexed
- [x] components/chainhook-postgres/src/types/pg_numeric_u64.rs:36:9: replace <impl FromSql for PgNumericU64>::accepts -> bool with false
- [x] components/ordhook-core/src/core/mod.rs:116:35: replace - with / in compute_next_satpoint_data
- [x] components/ordhook-core/src/db/cursor.rs:102:9: replace BlockBytesCursor<'a>::get_transaction_format -> (u16, u16, usize) with (0, 0, 1)
- [x] components/ordhook-core/src/db/cursor.rs:199:50: replace > with < in BlockBytesCursor<'a>::from_full_block
- [x] components/ordhook-core/src/core/mod.rs:111:53: replace && with || in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/epoch.rs:132:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/cursor.rs:62:44: replace + with -
- [x] components/ordhook-core/src/ord/sat.rs:20:9: replace Sat::n -> u64 with 0
- [x] components/ordhook-core/src/core/mod.rs:94:35: replace += with *= in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/inscription.rs:247:58: replace != with == in Inscription::pointer
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:31:5: replace parse_output_and_offset_from_satpoint -> Result<(String, Option
), String> with Ok(("xyzzy".into(), Some(1))) - [x] components/ordhook-core/src/db/blocks.rs:150:41: replace + with * in find_pinned_block_bytes_at_block_height
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:55:39: replace >= with < in SequenceCursor::pick_next
- [x] components/ordhook-core/src/ord/inscription.rs:58:9: replace Inscription::append_reveal_script_to_builder -> script::Builder with Default::default()
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:198:30: replace < with > in verify_brc20_operation
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:268:58: replace - with / in compute_satoshi_number
- [x] components/ordhook-core/src/db/ordinals_pg.rs:314:24: replace == with != in insert_locations
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:82:19: replace == with != in <impl ToSql for PgNumericU128>::accepts
- [x] components/ordhook-core/src/ord/envelope.rs:158:9: replace RawEnvelope::from_tapscript -> Result<Vec<Self>> with Ok(vec![Default::default()])
- [x] components/ordhook-core/src/db/ordinals_pg.rs:234:27: replace == with != in insert_inscriptions
- [x] components/ordhook-core/src/db/blocks.rs:185:31: replace * with / in find_block_bytes_at_block_height
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:213:43: replace > with == in compute_satoshi_number
- [x] components/ordhook-core/src/db/ordinals_pg.rs:968:35: replace - with / in rollback_block
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:31:5: replace parse_output_and_offset_from_satpoint -> Result<(String, Option
), String> with Ok((String::new(), Some(0))) - [x] components/ordhook-core/src/db/ordinals_pg.rs:968:35: replace - with + in rollback_block
- [x] components/ordhook-core/src/core/mod.rs:160:25: replace += with -= in should_sync_ordinals_db
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:63:16: replace += with *= in pg_numeric_bytes_to_u128
- [x] components/ordhook-core/src/db/ordinals_pg.rs:521:5: replace update_mime_type_counts -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/inscription.rs:181:42: replace == with != in Inscription::inscription_id_field
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:148:25: replace == with != in insert_operations
- [x] components/ordhook-core/src/ord/sat.rs:44:9: replace Sat::epoch_position -> u64 with 0
- [x] components/ordhook-core/src/db/blocks.rs:159:28: replace > with == in find_pinned_block_bytes_at_block_height
- [x] components/ordhook-core/src/ord/sat.rs:58:17: replace > with == in Sat::name
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:209:31: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:204:30: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:265:29: replace += with -= in update_address_operation_counts
- [x] components/ordhook-core/src/ord/height.rs:48:16: replace == with != in <impl PartialEq for Height>::eq
- [x] components/ordhook-core/src/ord/inscription.rs:225:33: replace && with || in Inscription::parent
- [x] components/chainhook-postgres/src/types/pg_bigint_u32.rs:20:19: replace == with != in <impl ToSql for PgBigIntU32>::accepts
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:161:58: replace < with == in parse_brc20_operation
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:190:28: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:122:22: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/db/ordinals_pg.rs:41:5: replace get_chain_tip_block_height -> Result<Option
, String> with Ok(Some(1)) - [x] components/ordhook-core/src/core/pipeline/processors/inscription_indexing.rs:180:41: replace == with != in process_blocks
- [x] components/ordhook-core/src/ord/epoch.rs:46:17: replace < with == in Epoch::subsidy
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:137:53: replace + with - in compute_satpoint_post_transfer
- [x] components/ordhook-core/src/core/mod.rs:105:27: replace > with == in compute_next_satpoint_data
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:89:37: replace + with * in SequenceCursor::pick_next_pos_classic
- [x] components/ordhook-core/src/db/cursor.rs:72:9: replace BlockBytesCursor<'a>::get_coinbase_data_pos -> usize with 1
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:106:32: replace == with != in verify_brc20_operation
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:65:42: replace < with == in verify_brc20_operation
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:143:31: replace == with != in parse_brc20_operation
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:185:26: replace == with != in compute_satoshi_number
- [x] components/ordhook-core/src/ord/envelope.rs:179:32: replace == with != in RawEnvelope::accept
- [x] components/ordhook-core/src/ord/sat.rs:62:35: replace % with / in Sat::name
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:217:31: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:161:58: replace < with > in parse_brc20_operation
- [x] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:375:5: replace get_jubilee_block_height -> u64 with 1
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:253:5: replace update_address_operation_counts -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/db/cursor.rs:109:62: replace + with * in BlockBytesCursor<'a>::get_transaction_format
- [x] components/chainhook-postgres/src/types/pg_smallint_u8.rs:34:9: replace <impl FromSql for PgSmallIntU8>::accepts -> bool with false
- [x] components/ordhook-core/src/ord/epoch.rs:66:9: replace <impl PartialEq for Epoch>::eq -> bool with false
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:47:5: replace pg_numeric_bytes_to_u128 -> u128 with 0
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:253:26: replace == with != in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:89:37: replace + with - in SequenceCursor::pick_next_pos_classic
- [x] components/ordhook-core/src/db/ordinals_pg.rs:86:5: replace get_lowest_cursed_classic_inscription_number -> Result<Option
, String> with Ok(Some(1)) - [x] components/ordhook-core/src/ord/height.rs:22:69: replace * with / in Height::starting_sat
- [x] components/ordhook-core/src/db/cursor.rs:209:18: replace == with != in BlockBytesCursor<'a>::from_full_block
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:224:67: replace - with + in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:80:5: replace parse_deploy_decimals -> Option
with Some(1) - [x] components/ordhook-core/src/ord/epoch.rs:96:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/epoch.rs:47:17: replace * with / in Epoch::subsidy
- [x] components/ordhook-core/src/db/ordinals_pg.rs:547:21: replace == with != in update_sat_rarity_counts
- [x] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:488:63: replace == with != in augment_transaction_with_ordinals_inscriptions_data
- [x] components/ordhook-core/src/ord/rarity.rs:74:25: replace == with != in <impl From for Rarity>::from
- [x] components/ordhook-core/src/ord/inscription.rs:245:9: replace Inscription::pointer -> Option
with None - [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:324:5: replace update_token_minted_supplies -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:135:9: replace Brc20MemoryCache::get_token_address_avail_balance -> Result<Option
, String> with Ok(None) - [x] components/ordhook-core/src/ord/inscription.rs:168:24: replace < with == in Inscription::inscription_id_field
- [x] components/ordhook-core/src/ord/sat.rs:44:16: replace - with + in Sat::epoch_position
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:69:9: replace SequenceCursor::increment -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/envelope.rs:164:28: replace == with != in RawEnvelope::from_tapscript
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:141:24: replace == with != in compute_satoshi_number
- [x] components/ordhook-core/src/db/ordinals_pg.rs:26:5: replace migrate -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:79:9: replace SequenceCursor::pick_next_pos_classic -> Result<i64, String> with Ok(1)
- [x] components/ordhook-core/src/db/cursor.rs:192:9: replace BlockBytesCursor<'a>::from_full_block -> std::io::Result<Vec
> with Ok(vec![0]) - [x] components/ordhook-core/src/db/cursor.rs:93:9: replace BlockBytesCursor<'a>::get_coinbase_txid -> &[u8] with Vec::leak(vec![1])
- [x] components/ordhook-core/src/db/cursor.rs:109:29: replace + with - in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/db/cursor.rs:109:48: replace * with + in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:68:27: replace > with < in parse_float_numeric_value
- [x] components/ordhook-core/src/ord/sat.rs:65:25: replace / with % in Sat::name
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:75:57: replace < with > in verify_brc20_operation
- [x] components/ordhook-core/src/db/cursor.rs:102:9: replace BlockBytesCursor<'a>::get_transaction_format -> (u16, u16, usize) with (1, 1, 0)
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:103:14: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:129:58: replace - with + in compute_satoshi_number
- [x] components/ordhook-core/src/core/mod.rs:103:24: replace += with -= in compute_next_satpoint_data
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:49:5: replace get_token_minted_supply -> Result<Option
, String> with Ok(None) - [x] components/ordhook-core/src/db/ordinals_pg.rs:625:5: replace update_recursive_counts -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/inscription.rs:245:9: replace Inscription::pointer -> Option
with Some(0) - [x] components/ordhook-core/src/ord/sat.rs:62:30: replace - with + in Sat::name
- [x] components/ordhook-core/src/ord/envelope.rs:135:9: replace ParsedEnvelope::from_transaction -> Vec<Self> with vec![]
- [x] components/ordhook-core/src/ord/epoch.rs:84:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/cursor.rs:204:48: replace > with < in BlockBytesCursor<'a>::from_full_block
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:56:46: replace - with + in u128_amount_to_decimals_str
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:148:5: replace insert_operations -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/epoch.rs:102:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/sat.rs:93:28: replace + with - in <impl AddAssign for Sat>::add_assign
- [x] components/ordhook-core/src/db/ordinals_pg.rs:55:5: replace get_highest_inscription_number -> Result<Option
, String> with Ok(None) - [x] components/ordhook-core/src/ord/envelope.rs:91:79: replace > with < in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/ord/epoch.rs:47:31: replace >> with << in Epoch::subsidy
- [x] components/ordhook-core/src/db/ordinals_pg.rs:547:5: replace update_sat_rarity_counts -> Result<(), String> with Ok(())
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:14:5: replace u128_into_pg_numeric_bytes with ()
- [x] components/ordhook-core/src/ord/inscription.rs:162:9: replace Inscription::metaprotocol -> Option<&str> with Some("xyzzy")
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:32:5: replace decimals_str_amount_to_u128 -> Result<u128, String> with Ok(0)
- [x] components/ordhook-core/src/db/cursor.rs:102:33: replace + with - in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/envelope.rs:78:46: replace && with || in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:212:36: replace - with / in compute_satoshi_number
- [x] components/ordhook-core/src/ord/inscription_id.rs:37:9: replace <impl Display for InscriptionId>::fmt -> std::fmt::Result with Ok(Default::default())
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:75:31: replace && with || in verify_brc20_operation
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:188:46: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:469:9: replace Brc20MemoryCache::handle_cache_miss -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:314:21: replace - with + in Brc20MemoryCache::insert_token_transfer
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:21:5: replace brc20_self_mint_activation_height -> u64 with 1
- [x] components/ordhook-core/src/db/ordinals_pg.rs:41:5: replace get_chain_tip_block_height -> Result<Option
, String> with Ok(Some(0)) - [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:26:5: replace brc20_new_cache -> Option<Brc20MemoryCache> with None
- [x] components/ordhook-core/src/ord/inscription.rs:146:9: replace Inscription::body -> Option<&[u8]> with Some(Vec::leak(vec![0]))
- [x] components/ordhook-core/src/ord/epoch.rs:78:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/rarity.rs:72:31: replace && with || in <impl From for Rarity>::from
- [x] components/ordhook-core/src/ord/epoch.rs:106:23: replace < with > in <impl From for Epoch>::from
- [x] components/chainhook-postgres/src/types/pg_bigint_u32.rs:34:19: replace == with != in <impl FromSql for PgBigIntU32>::accepts
- [x] components/ordhook-core/src/ord/epoch.rs:46:9: replace Epoch::subsidy -> u64 with 0
- [x] components/ordhook-core/src/db/cursor.rs:62:36: replace + with -
- [x] components/ordhook-core/src/db/ordinals_pg.rs:314:5: replace insert_locations -> Result<(), String> with Ok(())
- [x] components/chainhook-postgres/src/types/pg_bigint_u32.rs:20:29: replace || with && in <impl ToSql for PgBigIntU32>::accepts
- [x] components/ordhook-core/src/ord/height.rs:11:9: replace Height::n -> u64 with 0
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:112:39: replace != with == in parse_brc20_operation
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:110:9: replace SequenceCursor::pick_next_neg_classic -> Result<i64, String> with Ok(-1)
- [x] components/ordhook-core/src/db/ordinals_pg.rs:599:21: replace == with != in update_genesis_address_counts
- [x] components/ordhook-core/src/ord/epoch.rs:108:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:130:9: replace SequenceCursor::increment_pos_classic -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:103:46: replace != with == in parse_brc20_operation
- [x] components/ordhook-core/src/ord/epoch.rs:100:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/sat.rs:12:53: replace - with +
- [x] components/ordhook-core/src/db/cursor.rs:72:9: replace BlockBytesCursor<'a>::get_coinbase_data_pos -> usize with 0
- [x] components/ordhook-core/src/ord/epoch.rs:110:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/inscription.rs:146:9: replace Inscription::body -> Option<&[u8]> with Some(Vec::leak(vec![1]))
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:27:20: replace - with + in u128_into_pg_numeric_bytes
- [x] components/ordhook-core/src/ord/epoch.rs:100:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/height.rs:42:21: replace - with + in <impl Sub for Height>::sub
- [x] components/ordhook-core/src/ord/sat.rs:40:31: replace % with + in Sat::third
- [x] components/ordhook-core/src/db/ordinals_pg.rs:234:5: replace insert_inscriptions -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/rarity.rs:66:17: replace == with != in <impl From for Rarity>::from
- [x] components/ordhook-core/src/db/cursor.rs:21:9: replace TransactionBytesCursor::get_average_bytes_size -> usize with 0
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:5: replace parse_float_numeric_value -> Option
with Some(0.0) - [x] components/ordhook-core/src/db/ordinals_pg.rs:86:5: replace get_lowest_cursed_classic_inscription_number -> Result<Option
, String> with Ok(Some(-1)) - [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:68:5: replace get_token_available_balance_for_address -> Result<Option
, String> with Ok(Some(1)) - [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:217:31: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/db/ordinals_pg.rs:735:57: replace > with == in insert_block
- [x] components/ordhook-core/src/db/cursor.rs:109:82: replace * with / in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/sat.rs:40:9: replace Sat::third -> u64 with 0
- [x] components/ordhook-core/src/ord/height.rs:42:21: replace - with / in <impl Sub for Height>::sub
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:193:31: replace < with > in compute_satoshi_number
- [x] components/ordhook-core/src/ord/height.rs:22:36: replace - with + in Height::starting_sat
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:361:5: replace get_operations_at_block -> Result<HashMap<u64, DbOperation>, String> with Ok(HashMap::new())
- [x] components/ordhook-core/src/ord/sat.rs:56:9: replace Sat::name -> String with "xyzzy".into()
- [x] components/ordhook-core/src/ord/epoch.rs:94:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/cursor.rs:102:9: replace BlockBytesCursor<'a>::get_transaction_format -> (u16, u16, usize) with (0, 1, 0)
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:148:48: replace - with + in verify_brc20_operation
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:129:58: replace - with / in compute_satoshi_number
- [x] components/ordhook-core/src/ord/epoch.rs:118:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:213:43: replace > with < in compute_satoshi_number
- [x] components/ordhook-core/src/core/mod.rs:111:48: replace - with / in compute_next_satpoint_data
- [x] components/ordhook-core/src/utils/monitoring.rs:86:31: replace > with == in PrometheusMonitoring::metrics_inscription_indexed
- [x] components/ordhook-core/src/ord/sat.rs:12:53: replace - with /
- [x] components/ordhook-core/src/utils/monitoring.rs:93:25: replace > with == in PrometheusMonitoring::metrics_block_indexed
- [x] components/ordhook-core/src/utils/monitoring.rs:77:9: replace PrometheusMonitoring::metrics_register_predicate with ()
- [x] components/ordhook-core/src/utils/monitoring.rs:81:9: replace PrometheusMonitoring::metrics_set_registered_predicates with ()
- [x] components/ordhook-core/src/db/cursor.rs:62:40: replace + with *
- [x] components/ordhook-core/src/ord/envelope.rs:63:5: replace remove_and_concatenate_field -> Option<Vec
> with None - [x] components/ordhook-core/src/ord/epoch.rs:82:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/cursor.rs:72:12: replace + with - in BlockBytesCursor<'a>::get_coinbase_data_pos
- [x] components/ordhook-core/src/ord/envelope.rs:103:50: replace % with + in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/ord/envelope.rs:144:9: replace RawEnvelope::from_transaction -> Vec<Self> with vec![Default::default()]
- [x] components/ordhook-core/src/ord/epoch.rs:136:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:31:5: replace parse_output_and_offset_from_satpoint -> Result<(String, Option
), String> with Ok(("xyzzy".into(), None)) - [x] components/ordhook-core/src/db/ordinals_pg.rs:694:5: replace insert_block -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/inscription_id.rs:75:20: replace < with > in <impl FromStr for InscriptionId>::from_str
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:213:37: replace + with - in compute_satoshi_number
- [x] components/ordhook-core/src/ord/rarity.rs:66:61: replace == with != in <impl From for Rarity>::from
- [x] components/ordhook-core/src/ord/epoch.rs:86:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:216:60: replace - with / in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:97:9: replace SequenceCursor::pick_next_jubilee_number -> Result<i64, String> with Ok(-1)
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:31:5: replace parse_output_and_offset_from_satpoint -> Result<(String, Option
), String> with Ok((String::new(), Some(1))) - [x] components/ordhook-core/src/core/protocol/inscription_parsing.rs:220:5: replace get_inscriptions_revealed_in_block -> Vec<&OrdinalInscriptionRevealData> with vec![]
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:125:9: replace SequenceCursor::increment_neg_classic -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/mod.rs:94:35: replace += with -= in compute_next_satpoint_data
- [x] components/ordhook-core/src/db/blocks.rs:139:5: replace find_pinned_block_bytes_at_block_height -> Option<DBPinnableSlice<'a>> with None
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:223:36: replace > with == in compute_satoshi_number
- [x] components/ordhook-core/src/ord/envelope.rs:193:9: replace RawEnvelope::from_instructions -> Result<(bool, Option<Self>)> with Ok((false, Some(Default::default())))
- [x] components/ordhook-core/src/ord/epoch.rs:96:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/rarity.rs:72:40: replace == with != in <impl From for Rarity>::from
- [x] components/ordhook-core/src/ord/sat.rs:79:9: replace <impl PartialOrd for Sat>::partial_cmp -> Optionstd::cmp::Ordering with None
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:431:9: replace Brc20MemoryCache::increase_address_operation_count with ()
- [x] components/ordhook-core/src/ord/inscription.rs:212:24: replace < with > in Inscription::parent
- [x] components/ordhook-core/src/db/cursor.rs:102:9: replace BlockBytesCursor<'a>::get_transaction_format -> (u16, u16, usize) with (0, 0, 0)
- [x] components/ordhook-core/src/db/ordinals_pg.rs:521:21: replace == with != in update_mime_type_counts
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:314:21: replace - with / in Brc20MemoryCache::insert_token_transfer
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:137:53: replace + with * in compute_satpoint_post_transfer
- [x] components/ordhook-core/src/db/ordinals_pg.rs:573:5: replace update_inscription_type_counts -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:134:23: replace > with == in verify_brc20_operation
- [x] components/ordhook-core/src/db/cursor.rs:102:45: replace * with / in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:227:5: replace update_operation_counts -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/epoch.rs:136:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/sat.rs:87:20: replace + with - in <impl Add for Sat>::add
- [x] components/ordhook-core/src/ord/rarity.rs:66:52: replace && with || in <impl From for Rarity>::from
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:213:37: replace + with * in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:262:25: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/db/cursor.rs:228:46: replace > with < in BlockBytesCursor<'a>::from_full_block
- [x] components/ordhook-core/src/ord/height.rs:34:21: replace + with - in <impl Add for Height>::add
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:177:16: delete ! in verify_brc20_operation
- [x] components/ordhook-core/src/ord/epoch.rs:130:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/inscription.rs:158:9: replace Inscription::content_type -> Option<&str> with None
- [x] components/ordhook-core/src/db/cursor.rs:21:18: replace + with - in TransactionBytesCursor::get_average_bytes_size
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:63:16: replace += with -= in pg_numeric_bytes_to_u128
- [x] components/ordhook-core/src/db/cursor.rs:157:9: replace BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid -> Option<TransactionBytesCursor> with None
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:60:25: replace + with - in pg_numeric_bytes_to_u128
- [x] components/ordhook-core/src/db/cursor.rs:274:9: replace BlockBytesCursor<'a>::from_standardized_block -> std::io::Result<Vec
> with Ok(vec![]) - [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:62:35: replace * with + in pg_numeric_bytes_to_u128
- [x] components/ordhook-core/src/ord/epoch.rs:130:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/ordinals_pg.rs:835:5: replace rollback_block -> Result<(), String> with Ok(())
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:62:60: replace - with + in pg_numeric_bytes_to_u128
- [x] components/ordhook-core/src/db/ordinals_pg.rs:654:26: replace == with != in update_counts_by_block
- [x] components/ordhook-core/src/ord/media.rs:95:24: replace == with != in <impl FromStr for Media>::from_str
- [x] components/ordhook-core/src/core/protocol/inscription_parsing.rs:156:5: replace parse_inscriptions_in_raw_tx -> Vec<OrdinalOperation> with vec![]
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:117:26: replace == with != in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:129:47: replace - with / in compute_satoshi_number
- [x] components/chainhook-postgres/src/types/pg_smallint_u8.rs:34:19: replace == with != in <impl FromSql for PgSmallIntU8>::accepts
- [x] components/ordhook-core/src/ord/inscription.rs:216:40: replace + with - in Inscription::parent
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:95:19: replace == with != in <impl FromSql for PgNumericU128>::accepts
- [x] components/ordhook-core/src/ord/inscription.rs:158:9: replace Inscription::content_type -> Option<&str> with Some("")
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:264:29: replace < with == in compute_satoshi_number
- [x] components/ordhook-core/src/ord/sat.rs:65:20: replace - with / in Sat::name
- [x] components/ordhook-core/src/ord/rarity.rs:70:40: replace == with != in <impl From for Rarity>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:56:9: replace Brc20DbCache::flush -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/db/cursor.rs:162:56: replace + with - in BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid
- [x] components/ordhook-core/src/ord/envelope.rs:78:41: replace == with != in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:410:21: replace + with * in Brc20MemoryCache::insert_token_transfer_send
- [x] components/ordhook-core/src/db/cursor.rs:102:9: replace BlockBytesCursor<'a>::get_transaction_format -> (u16, u16, usize) with (1, 1, 1)
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:50:48: replace + with * in decimals_str_amount_to_u128
- [x] components/ordhook-core/src/ord/envelope.rs:74:9: replace <impl From for ParsedEnvelope>::from -> Self with Default::default()
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:27:20: replace - with / in u128_into_pg_numeric_bytes
- [x] components/ordhook-core/src/utils/mod.rs:74:5: replace format_outpoint_to_watch -> String with String::new()
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:58: replace && with || in parse_float_numeric_value
- [x] components/ordhook-core/src/ord/inscription.rs:209:9: replace Inscription::parent -> Option<InscriptionId> with None
- [x] components/ordhook-core/src/ord/sat.rs:65:20: replace - with + in Sat::name
- [x] components/ordhook-core/src/core/mod.rs:111:48: replace - with + in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/epoch.rs:46:17: replace < with > in Epoch::subsidy
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:47:5: replace pg_numeric_bytes_to_u128 -> u128 with 1
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:44:55: replace - with + in decimals_str_amount_to_u128
- [x] components/ordhook-core/src/ord/epoch.rs:92:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/epoch.rs:128:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/epoch.rs:98:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:135:9: replace Brc20MemoryCache::get_token_address_avail_balance -> Result<Option
, String> with Ok(Some(1)) - [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:103:35: replace || with && in parse_brc20_operation
- [x] components/ordhook-core/src/db/ordinals_pg.rs:760:81: replace < with == in insert_block
- [x] components/ordhook-core/src/ord/inscription.rs:45:9: replace Inscription::pointer_value -> Vec
with vec![0] - [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:21:5: replace brc20_self_mint_activation_height -> u64 with 0
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:223:36: replace > with < in compute_satoshi_number
- [x] components/ordhook-core/src/utils/monitoring.rs:92:9: replace PrometheusMonitoring::metrics_block_indexed with ()
- [x] components/ordhook-core/src/ord/epoch.rs:134:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:61: delete ! in parse_float_numeric_value
- [x] components/ordhook-core/src/ord/sat.rs:44:16: replace - with / in Sat::epoch_position
- [x] components/ordhook-core/src/db/cursor.rs:343:26: replace >= with < in <impl Iterator for TransactionBytesCursorIterator<'a>>::next
- [x] components/ordhook-core/src/db/cursor.rs:93:9: replace BlockBytesCursor<'a>::get_coinbase_txid -> &[u8] with Vec::leak(Vec::new())
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:134:23: replace > with < in verify_brc20_operation
- [x] components/ordhook-core/src/db/cursor.rs:297:18: replace > with < in BlockBytesCursor<'a>::from_standardized_block
- [x] components/ordhook-core/src/ord/sat.rs:87:20: replace + with * in <impl Add for Sat>::add
- [x] components/ordhook-core/src/ord/epoch.rs:114:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:354:9: replace Brc20MemoryCache::insert_token_transfer_send -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/db/cursor.rs:280:35: replace > with == in BlockBytesCursor<'a>::from_standardized_block
- [x] components/ordhook-core/src/ord/sat.rs:65:25: replace / with * in Sat::name
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:161:62: replace || with && in parse_brc20_operation
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:137:71: replace + with - in compute_satpoint_post_transfer
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:135:9: replace Brc20MemoryCache::get_token_address_avail_balance -> Result<Option
, String> with Ok(Some(0)) - [x] components/ordhook-core/src/ord/height.rs:26:16: replace % with + in Height::period_offset
- [x] components/ordhook-core/src/db/cursor.rs:177:34: replace += with -= in BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid
- [x] components/ordhook-core/src/ord/epoch.rs:72:16: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:481:5: replace augment_transaction_with_ordinals_inscriptions_data -> Result<bool, String> with Ok(false)
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:209:31: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/utils/monitoring.rs:73:9: replace PrometheusMonitoring::metrics_deregister_predicate with ()
- [x] components/ordhook-core/src/db/cursor.rs:162:56: replace + with * in BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid
- [x] components/ordhook-core/src/ord/inscription.rs:146:9: replace Inscription::body -> Option<&[u8]> with None
- [x] components/ordhook-core/src/core/protocol/inscription_parsing.rs:205:5: replace parse_inscriptions_in_standardized_block with ()
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:50:17: replace * with / in decimals_str_amount_to_u128
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:35:5: replace get_token -> Result<Option<DbToken>, String> with Ok(None)
- [x] components/ordhook-core/src/db/cursor.rs:102:41: replace * with + in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/db/cursor.rs:102:45: replace * with + in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:287:21: replace == with != in update_token_operation_counts
- [x] components/ordhook-core/src/ord/epoch.rs:116:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/cursor.rs:102:9: replace BlockBytesCursor<'a>::get_transaction_format -> (u16, u16, usize) with (1, 0, 1)
- [x] components/ordhook-core/src/ord/inscription_id.rs:68:51: delete ! in <impl FromStr for InscriptionId>::from_str
- [x] components/ordhook-core/src/db/cursor.rs:72:30: replace * with + in BlockBytesCursor<'a>::get_coinbase_data_pos
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:29:19: replace + with - in u128_into_pg_numeric_bytes
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:258:22: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/ord/inscription_id.rs:87:32: replace + with - in <impl FromStr for InscriptionId>::from_str
- [x] components/ordhook-core/src/db/cursor.rs:178:19: replace += with -= in BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:223:5: replace verify_brc20_transfer -> Result<Option<VerifiedBrc20TransferData>, String> with Ok(None)
- [x] components/ordhook-core/src/db/cursor.rs:178:19: replace += with *= in BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid
- [x] components/ordhook-core/src/ord/epoch.rs:112:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:107:31: replace == with != in parse_brc20_operation
- [x] components/ordhook-core/src/db/cursor.rs:93:9: replace BlockBytesCursor<'a>::get_coinbase_txid -> &[u8] with Vec::leak(vec![0])
- [x] components/ordhook-core/src/ord/envelope.rs:78:37: replace % with / in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/ord/rarity.rs:68:55: replace == with != in <impl From for Rarity>::from
- [x] components/ordhook-core/src/config/mod.rs:97:9: replace ResourcesConfig::get_optimal_thread_pool_capacity -> usize with 0
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:99:9: replace Brc20MemoryCache::get_token -> Result<Option<DbToken>, String> with Ok(None)
- [x] components/ordhook-core/src/ord/epoch.rs:90:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:198:30: replace < with == in verify_brc20_operation
- [x] components/ordhook-core/src/ord/epoch.rs:116:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/cursor.rs:98:9: replace BlockBytesCursor<'a>::get_transactions_data_pos -> usize with 0
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:224:67: replace - with / in compute_satoshi_number
- [x] components/ordhook-core/src/ord/epoch.rs:114:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/rarity.rs:66:22: replace && with || in <impl From for Rarity>::from
- [x] components/ordhook-core/src/db/cursor.rs:56:33: replace + with - in TransactionInputBytesCursor::get_average_bytes_size
- [x] components/ordhook-core/src/db/ordinals_pg.rs:55:5: replace get_highest_inscription_number -> Result<Option
, String> with Ok(Some(-1)) - [x] components/ordhook-core/src/ord/sat.rs:93:9: replace <impl AddAssign for Sat>::add_assign with ()
- [x] components/ordhook-core/src/ord/epoch.rs:80:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:117:9: replace Brc20MemoryCache::get_token_minted_supply -> Result<Option
, String> with Ok(Some(1)) - [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:56:46: replace - with / in u128_amount_to_decimals_str
- [x] components/ordhook-core/src/db/cursor.rs:274:9: replace BlockBytesCursor<'a>::from_standardized_block -> std::io::Result<Vec
> with Ok(vec![0]) - [x] components/chainhook-postgres/src/types/pg_smallint_u8.rs:34:29: replace || with && in <impl FromSql for PgSmallIntU8>::accepts
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:45: replace || with && in parse_float_numeric_value
- [x] components/ordhook-core/src/ord/envelope.rs:158:9: replace RawEnvelope::from_tapscript -> Result<Vec<Self>> with Ok(vec![])
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:304:9: replace Brc20MemoryCache::insert_token_transfer -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/db/ordinals_pg.rs:55:5: replace get_highest_inscription_number -> Result<Option
, String> with Ok(Some(0)) - [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:120:31: replace > with < in parse_brc20_operation
- [x] components/chainhook-postgres/src/types/pg_numeric_u64.rs:36:19: replace == with != in <impl FromSql for PgNumericU64>::accepts
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:105:37: replace + with - in SequenceCursor::pick_next_jubilee_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:44:55: replace - with / in decimals_str_amount_to_u128
- [x] components/ordhook-core/src/ord/epoch.rs:80:23: replace < with > in <impl From for Epoch>::from
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:40:5: replace read_two_bytes -> std::io::Result<[u8; 2]> with Ok([1; 2])
- [x] components/ordhook-core/src/db/cursor.rs:102:9: replace BlockBytesCursor<'a>::get_transaction_format -> (u16, u16, usize) with (0, 1, 1)
- [x] components/ordhook-core/src/db/cursor.rs:356:23: replace += with *= in <impl Iterator for TransactionBytesCursorIterator<'a>>::next
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:249:9: replace Brc20MemoryCache::insert_token_mint -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/download/mod.rs:22:5: replace download_and_decompress_archive_file -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:161:27: replace != with == in parse_brc20_operation
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:117:29: delete - in SequenceCursor::pick_next_neg_classic
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:110:9: replace SequenceCursor::pick_next_neg_classic -> Result<i64, String> with Ok(1)
- [x] components/ordhook-core/src/db/cursor.rs:62:44: replace + with *
- [x] components/ordhook-core/src/ord/envelope.rs:103:54: replace == with != in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/db/cursor.rs:62:36: replace + with *
- [x] components/ordhook-core/src/ord/envelope.rs:144:9: replace RawEnvelope::from_transaction -> Vec<Self> with vec![]
- [x] components/ordhook-core/src/db/cursor.rs:280:35: replace > with < in BlockBytesCursor<'a>::from_standardized_block
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:57:22: replace < with > in u128_amount_to_decimals_str
- [x] components/ordhook-core/src/db/ordinals_pg.rs:654:5: replace update_counts_by_block -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:82:39: delete ! in parallelize_inscription_data_computations
- [x] components/ordhook-core/src/ord/envelope.rs:44:5: replace remove_field -> Option<Vec
> with None - [x] components/ordhook-core/src/ord/inscription_id.rs:73:41: replace + with * in <impl FromStr for InscriptionId>::from_str
- [x] components/ordhook-core/src/db/cursor.rs:94:30: replace + with * in BlockBytesCursor<'a>::get_coinbase_txid
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:97:9: replace SequenceCursor::pick_next_jubilee_number -> Result<i64, String> with Ok(1)
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:138:9: replace SequenceCursor::increment_jubilee_number -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:110:9: replace SequenceCursor::pick_next_neg_classic -> Result<i64, String> with Ok(0)
- [x] components/ordhook-core/src/ord/height.rs:11:9: replace Height::n -> u64 with 1
- [x] components/ordhook-core/src/ord/epoch.rs:122:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:108:36: replace != with == in parse_brc20_operation
- [x] components/ordhook-core/src/core/protocol/inscription_parsing.rs:234:5: replace get_inscriptions_transferred_in_block -> Vec<&OrdinalInscriptionTransferData> with vec![]
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:17:30: replace % with + in u128_into_pg_numeric_bytes
- [x] components/ordhook-core/src/core/mod.rs:91:18: replace == with != in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/envelope.rs:194:47: replace == with != in RawEnvelope::from_instructions
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:221:33: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:5: replace parse_float_numeric_value -> Option
with None - [x] components/ordhook-core/src/db/ordinals_pg.rs:599:5: replace update_genesis_address_counts -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/db/ordinals_pg.rs:69:5: replace get_highest_blessed_classic_inscription_number -> Result<Option
, String> with Ok(Some(-1)) - [x] components/chainhook-postgres/src/types/pg_numeric_u64.rs:23:19: replace == with != in <impl ToSql for PgNumericU64>::accepts
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:148:48: replace - with / in verify_brc20_operation
- [x] components/ordhook-core/src/ord/sat.rs:73:9: replace <impl PartialEq for Sat>::eq -> bool with false
- [x] components/ordhook-core/src/ord/epoch.rs:128:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/epoch.rs:84:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:253:21: replace == with != in update_address_operation_counts
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:227:21: replace == with != in update_operation_counts
- [x] components/chainhook-postgres/src/types/pg_smallint_u8.rs:20:29: replace || with && in <impl ToSql for PgSmallIntU8>::accepts
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:268:58: replace - with + in compute_satoshi_number
- [x] components/ordhook-core/src/ord/sat.rs:40:9: replace Sat::third -> u64 with 1
- [x] components/ordhook-core/src/ord/epoch.rs:132:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/envelope.rs:103:50: replace % with / in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:129:27: replace == with != in parse_brc20_operation
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:137:71: replace + with * in compute_satpoint_post_transfer
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:105:37: replace + with * in SequenceCursor::pick_next_jubilee_number
- [x] components/ordhook-core/src/ord/epoch.rs:47:17: replace * with + in Epoch::subsidy
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:50:48: replace + with - in decimals_str_amount_to_u128
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:161:39: replace || with && in parse_brc20_operation
- [x] components/ordhook-core/src/db/cursor.rs:109:82: replace * with + in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/db/cursor.rs:274:9: replace BlockBytesCursor<'a>::from_standardized_block -> std::io::Result<Vec
> with Ok(vec![1]) - [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:5: replace parse_float_numeric_value -> Option
with Some(1.0) - [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:31:5: replace parse_output_and_offset_from_satpoint -> Result<(String, Option
), String> with Ok((String::new(), None)) - [x] components/ordhook-core/src/ord/envelope.rs:198:12: delete ! in RawEnvelope::from_instructions
- [x] components/ordhook-core/src/db/cursor.rs:109:29: replace + with * in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:68:5: replace get_token_available_balance_for_address -> Result<Option
, String> with Ok(None) - [x] components/ordhook-core/src/db/cursor.rs:192:9: replace BlockBytesCursor<'a>::from_full_block -> std::io::Result<Vec
> with Ok(vec![1]) - [x] components/ordhook-core/src/db/cursor.rs:62:40: replace + with -
- [x] components/ordhook-core/src/ord/height.rs:48:9: replace <impl PartialEq for Height>::eq -> bool with false
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:255:44: replace + with - in Brc20MemoryCache::insert_token_mint
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:54:73: replace > with == in amt_has_valid_decimals
- [x] components/ordhook-core/src/ord/epoch.rs:110:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/sat.rs:32:9: replace Sat::percentile -> String with "xyzzy".into()
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:190:28: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:45:25: replace < with > in SequenceCursor::pick_next
- [x] components/ordhook-core/src/db/cursor.rs:102:41: replace * with / in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/sat.rs:56:34: replace - with / in Sat::name
- [x] components/ordhook-core/src/db/ordinals_pg.rs:41:5: replace get_chain_tip_block_height -> Result<Option
, String> with Ok(None) - [x] components/ordhook-core/src/db/cursor.rs:179:22: replace >= with < in BlockBytesCursor<'a>::find_and_serialize_transaction_with_txid
- [x] components/ordhook-core/src/ord/epoch.rs:82:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:94:5: replace parse_brc20_operation -> Result<Option<ParsedBrc20Operation>, String> with Ok(None)
- [x] components/ordhook-core/src/ord/epoch.rs:106:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/sat.rs:93:28: replace + with * in <impl AddAssign for Sat>::add_assign
- [x] components/ordhook-core/src/ord/epoch.rs:88:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:155:9: replace Brc20MemoryCache::get_unsent_token_transfer -> Result<Option<DbOperation>, String> with Ok(None)
- [x] components/ordhook-core/src/ord/envelope.rs:193:9: replace RawEnvelope::from_instructions -> Result<(bool, Option<Self>)> with Ok((true, Some(Default::default())))
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:95:9: replace <impl FromSql for PgNumericU128>::accepts -> bool with false
- [x] components/ordhook-core/src/ord/inscription_id.rs:87:32: replace + with * in <impl FromStr for InscriptionId>::from_str
- [x] components/ordhook-core/src/ord/envelope.rs:179:9: replace RawEnvelope::accept -> Result
with Ok(false) - [x] components/ordhook-core/src/ord/inscription.rs:245:9: replace Inscription::pointer -> Option
with Some(1) - [x] components/ordhook-core/src/ord/envelope.rs:44:5: replace remove_field -> Option<Vec
> with Some(vec![1]) - [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:103:14: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/db/ordinals_pg.rs:679:5: replace update_chain_tip -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/db/cursor.rs:56:9: replace TransactionInputBytesCursor::get_average_bytes_size -> usize with 0
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:122:22: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/db/ordinals_pg.rs:625:21: replace == with != in update_recursive_counts
- [x] components/ordhook-core/src/core/mod.rs:147:5: replace should_sync_ordinals_db -> Result<Option<(u64, u64, usize)>, String> with Ok(Some((0, 0, 1)))
- [x] components/ordhook-core/src/ord/epoch.rs:104:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/cursor.rs:356:23: replace += with -= in <impl Iterator for TransactionBytesCursorIterator<'a>>::next
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:75:57: replace < with == in verify_brc20_operation
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:57:5: replace verify_brc20_operation -> Result<Option<VerifiedBrc20Operation>, String> with Ok(None)
- [x] components/ordhook-core/src/ord/epoch.rs:98:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/inscription_sequencing.rs:375:5: replace get_jubilee_block_height -> u64 with 0
- [x] components/ordhook-core/src/ord/sat.rs:58:17: replace > with < in Sat::name
- [x] components/ordhook-core/src/ord/epoch.rs:76:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/utils/monitoring.rs:93:25: replace > with < in PrometheusMonitoring::metrics_block_indexed
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:53:5: replace amt_has_valid_decimals -> bool with true
- [x] components/ordhook-core/src/core/mod.rs:111:30: replace == with != in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/epoch.rs:60:23: replace * with + in Epoch::starting_height
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:54:9: replace && with || in amt_has_valid_decimals
- [x] components/ordhook-core/src/ord/epoch.rs:126:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/envelope.rs:193:12: delete ! in RawEnvelope::from_instructions
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:262:25: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/ord/envelope.rs:63:5: replace remove_and_concatenate_field -> Option<Vec
> with Some(vec![]) - [x] components/ordhook-core/src/ord/epoch.rs:74:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:57:22: replace < with == in u128_amount_to_decimals_str
- [x] components/ordhook-core/src/core/protocol/inscription_parsing.rs:28:5: replace parse_inscriptions_from_witness -> Option<Vec<(OrdinalInscriptionRevealData, Inscription)>> with Some(vec![])
- [x] components/ordhook-core/src/db/ordinals_pg.rs:435:5: replace insert_current_locations -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/ord/height.rs:22:69: replace * with + in Height::starting_sat
- [x] components/ordhook-core/src/db/ordinals_pg.rs:55:5: replace get_highest_inscription_number -> Result<Option
, String> with Ok(Some(1)) - [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:149:33: replace == with != in verify_brc20_operation
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:126:25: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:193:31: replace < with == in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:423:9: replace Brc20MemoryCache::increase_operation_count with ()
- [x] components/ordhook-core/src/ord/epoch.rs:134:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/ordinals_pg.rs:69:5: replace get_highest_blessed_classic_inscription_number -> Result<Option
, String> with Ok(None) - [x] components/ordhook-core/src/core/mod.rs:103:24: replace += with *= in compute_next_satpoint_data
- [x] components/ordhook-core/src/core/protocol/satoshi_tracking.rs:31:5: replace parse_output_and_offset_from_satpoint -> Result<(String, Option
), String> with Ok(("xyzzy".into(), Some(0))) - [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:120:37: replace - with + in SequenceCursor::pick_next_neg_classic
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:106:5: replace insert_tokens -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:256:26: replace += with *= in compute_satoshi_number
- [x] components/ordhook-core/src/ord/inscription.rs:225:42: replace == with != in Inscription::parent
- [x] components/chainhook-postgres/src/types/pg_bigint_u32.rs:34:29: replace || with && in <impl FromSql for PgBigIntU32>::accepts
- [x] components/ordhook-core/src/core/mod.rs:96:31: replace += with *= in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/rarity.rs:68:46: replace && with || in <impl From for Rarity>::from
- [x] components/ordhook-core/src/core/mod.rs:63:5: replace resolve_absolute_pointer -> (usize, u64) with (0, 0)
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:297:50: replace + with - in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:189:9: replace Brc20MemoryCache::insert_token_deploy -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/utils/bitcoind.rs:56:35: replace += with *= in bitcoind_wait_for_chain_tip
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:106:21: replace == with != in insert_tokens
- [x] components/ordhook-core/src/utils/mod.rs:74:5: replace format_outpoint_to_watch -> String with "xyzzy".into()
- [x] components/ordhook-core/src/ord/sat.rs:62:30: replace - with / in Sat::name
- [x] components/ordhook-core/src/ord/epoch.rs:122:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/db/cursor.rs:72:30: replace * with / in BlockBytesCursor<'a>::get_coinbase_data_pos
- [x] components/ordhook-core/src/ord/rarity.rs:68:31: replace && with || in <impl From for Rarity>::from
- [x] components/ordhook-core/src/db/cursor.rs:109:62: replace + with - in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/epoch.rs:126:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:264:29: replace < with > in compute_satoshi_number
- [x] components/ordhook-core/src/ord/envelope.rs:78:37: replace % with + in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/ord/height.rs:15:9: replace Height::subsidy -> u64 with 0
- [x] components/ordhook-core/src/ord/inscription.rs:158:9: replace Inscription::content_type -> Option<&str> with Some("xyzzy")
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:80:5: replace parse_deploy_decimals -> Option
with None - [x] components/ordhook-core/src/ord/epoch.rs:78:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/envelope.rs:193:9: replace RawEnvelope::from_instructions -> Result<(bool, Option<Self>)> with Ok((true, None))
- [x] components/ordhook-core/src/ord/epoch.rs:72:16: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/sat.rs:40:31: replace % with / in Sat::third
- [x] components/ordhook-core/src/ord/media.rs:34:9: replace <impl Display for Language>::fmt -> std::fmt::Result with Ok(Default::default())
- [x] components/ordhook-core/src/ord/sat.rs:73:16: replace == with != in <impl PartialEq for Sat>::eq
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:262:21: replace + with * in Brc20MemoryCache::insert_token_mint
- [x] components/ordhook-core/src/db/cursor.rs:346:71: replace + with * in <impl Iterator for TransactionBytesCursorIterator<'a>>::next
- [x] components/ordhook-core/src/db/cursor.rs:106:39: replace + with * in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/db/cursor.rs:192:9: replace BlockBytesCursor<'a>::from_full_block -> std::io::Result<Vec
> with Ok(vec![]) - [x] components/ordhook-core/src/core/protocol/inscription_parsing.rs:118:5: replace parse_inscriptions_from_standardized_tx -> Vec<OrdinalOperation> with vec![]
- [x] components/ordhook-core/src/ord/rarity.rs:66:37: replace && with || in <impl From for Rarity>::from
- [x] components/ordhook-core/src/ord/inscription.rs:216:40: replace + with * in Inscription::parent
- [x] components/ordhook-core/src/core/mod.rs:96:31: replace += with -= in compute_next_satpoint_data
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:161:81: replace > with < in parse_brc20_operation
- [x] components/ordhook-core/src/ord/sat.rs:56:34: replace - with + in Sat::name
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:103:23: replace != with == in parse_brc20_operation
- [x] components/ordhook-core/src/ord/inscription.rs:216:24: replace > with == in Inscription::parent
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:297:50: replace + with * in compute_satoshi_number
- [x] components/ordhook-core/src/ord/inscription.rs:216:24: replace > with < in Inscription::parent
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:65:42: replace < with > in verify_brc20_operation
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:170:39: replace == with != in parse_brc20_operation
- [x] components/ordhook-core/src/ord/envelope.rs:63:5: replace remove_and_concatenate_field -> Option<Vec
> with Some(vec![0]) - [x] components/ordhook-core/src/core/mod.rs:105:27: replace > with < in compute_next_satpoint_data
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:446:5: replace rollback_block_operations -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:216:60: replace - with + in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:262:21: replace + with - in Brc20MemoryCache::insert_token_mint
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:63:12: delete ! in parse_float_numeric_value
- [x] components/ordhook-core/src/ord/sat.rs:20:9: replace Sat::n -> u64 with 1
- [x] components/ordhook-core/src/ord/envelope.rs:199:47: replace == with != in RawEnvelope::from_instructions
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:55:5: replace u128_amount_to_decimals_str -> String with String::new()
- [x] components/ordhook-core/src/ord/rarity.rs:70:31: replace && with || in <impl From for Rarity>::from
- [x] components/ordhook-core/src/ord/epoch.rs:88:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/inscription_parsing.rs:28:5: replace parse_inscriptions_from_witness -> Option<Vec<(OrdinalInscriptionRevealData, Inscription)>> with None
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:268:47: replace - with / in compute_satoshi_number
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:80:5: replace parse_deploy_decimals -> Option
with Some(0) - [x] components/ordhook-core/src/ord/inscription_id.rs:83:22: replace != with == in <impl FromStr for InscriptionId>::from_str
- [x] components/ordhook-core/src/ord/sat.rs:44:9: replace Sat::epoch_position -> u64 with 1
- [x] components/ordhook-core/src/ord/epoch.rs:86:23: replace < with > in <impl From for Epoch>::from
- [x] components/chainhook-postgres/src/types/pg_numeric_u64.rs:23:9: replace <impl ToSql for PgNumericU64>::accepts -> bool with false
- [x] components/ordhook-core/src/db/cursor.rs:102:33: replace + with * in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/inscription.rs:225:28: replace != with == in Inscription::parent
- [x] components/ordhook-core/src/db/ordinals_pg.rs:573:21: replace == with != in update_inscription_type_counts
- [x] components/ordhook-core/src/core/mod.rs:169:49: replace < with > in should_sync_ordinals_db
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:17:30: replace % with / in u128_into_pg_numeric_bytes
- [x] components/ordhook-core/src/ord/epoch.rs:92:23: replace < with == in <impl From for Epoch>::from
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:82:9: replace <impl ToSql for PgNumericU128>::accepts -> bool with false
- [x] components/ordhook-core/src/db/ordinals_pg.rs:404:5: replace insert_satoshis -> Result<(), String> with Ok(())
- [x] components/ordhook-core/src/db/blocks.rs:150:31: replace * with + in find_pinned_block_bytes_at_block_height
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:68:5: replace get_token_available_balance_for_address -> Result<Option
, String> with Ok(Some(0)) - [x] components/ordhook-core/src/db/ordinals_pg.rs:404:23: replace == with != in insert_satoshis
- [x] components/ordhook-core/src/ord/sat.rs:73:9: replace <impl PartialEq for Sat>::eq -> bool with true
- [x] components/ordhook-core/src/db/models/db_inscription_recursion.rs:17:9: replace DbInscriptionRecursion::from_reveal -> Result<Vec<Self>, String> with Ok(vec![])
- [x] components/ordhook-core/src/db/cursor.rs:72:12: replace + with * in BlockBytesCursor<'a>::get_coinbase_data_pos
- [x] components/ordhook-core/src/ord/sat.rs:56:9: replace Sat::name -> String with String::new()
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:62:35: replace * with / in pg_numeric_bytes_to_u128
- [x] components/ordhook-core/src/db/cursor.rs:355:31: replace += with *= in <impl Iterator for TransactionBytesCursorIterator<'a>>::next
- [x] components/ordhook-core/src/ord/epoch.rs:124:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/epoch.rs:90:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/epoch.rs:104:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:55:5: replace u128_amount_to_decimals_str -> String with "xyzzy".into()
- [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:49:5: replace get_token_minted_supply -> Result<Option
, String> with Ok(Some(1)) - [x] components/ordhook-core/src/core/mod.rs:113:59: replace - with + in compute_next_satpoint_data
- [x] components/ordhook-core/src/ord/epoch.rs:118:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:126:25: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:79:9: replace SequenceCursor::pick_next_pos_classic -> Result<i64, String> with Ok(0)
- [x] components/ordhook-core/src/db/cursor.rs:72:26: replace * with / in BlockBytesCursor<'a>::get_coinbase_data_pos
- [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:117:9: replace Brc20MemoryCache::get_token_minted_supply -> Result<Option
, String> with Ok(None) - [x] components/ordhook-core/src/db/cursor.rs:82:28: replace + with - in BlockBytesCursor<'a>::get_u64_at_pos
- [x] components/ordhook-core/src/ord/epoch.rs:66:16: replace == with != in <impl PartialEq for Epoch>::eq
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:53:5: replace amt_has_valid_decimals -> bool with false
- [x] components/ordhook-core/src/ord/epoch.rs:120:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/envelope.rs:108:40: replace + with - in <impl From for ParsedEnvelope>::from
- [x] components/ordhook-core/src/ord/envelope.rs:193:9: replace RawEnvelope::from_instructions -> Result<(bool, Option<Self>)> with Ok((false, None))
- [x] components/ordhook-core/src/db/cursor.rs:98:9: replace BlockBytesCursor<'a>::get_transactions_data_pos -> usize with 1
- [x] components/ordhook-core/src/db/cursor.rs:297:18: replace > with == in BlockBytesCursor<'a>::from_standardized_block
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:60:25: replace + with * in pg_numeric_bytes_to_u128
- [x] components/ordhook-core/src/ord/epoch.rs:120:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:5: replace parse_float_numeric_value -> Option
with Some(-1.0) - [x] components/ordhook-core/src/core/meta_protocols/brc20/brc20_pg.rs:265:29: replace += with *= in update_address_operation_counts
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:115:47: replace - with / in SequenceCursor::pick_next_neg_classic
- [x] components/ordhook-core/src/db/cursor.rs:107:39: replace + with - in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/envelope.rs:63:5: replace remove_and_concatenate_field -> Option<Vec
> with Some(vec![1]) - [x] components/ordhook-core/src/core/meta_protocols/brc20/cache.rs:443:9: replace Brc20MemoryCache::increase_token_operation_count with ()
- [x] components/ordhook-core/src/db/cursor.rs:346:71: replace + with - in <impl Iterator for TransactionBytesCursorIterator<'a>>::next
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:188:46: replace += with -= in compute_satoshi_number
- [x] components/ordhook-core/src/db/cursor.rs:355:31: replace += with -= in <impl Iterator for TransactionBytesCursorIterator<'a>>::next
- [x] components/chainhook-postgres/src/types/pg_numeric_u128.rs:40:5: replace read_two_bytes -> std::io::Result<[u8; 2]> with Ok([0; 2])
- [x] components/ordhook-core/src/ord/epoch.rs:76:23: replace < with > in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/mod.rs:32:5: replace decimals_str_amount_to_u128 -> Result<u128, String> with Ok(1)
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:79:9: replace SequenceCursor::pick_next_pos_classic -> Result<i64, String> with Ok(-1)
- [x] components/ordhook-core/src/core/meta_protocols/brc20/parser.rs:62:84: delete ! in parse_float_numeric_value
- [x] components/ordhook-core/src/db/cursor.rs:94:30: replace + with - in BlockBytesCursor<'a>::get_coinbase_txid
- [x] components/ordhook-core/src/core/mod.rs:108:61: replace += with -= in compute_next_satpoint_data
- [x] components/ordhook-core/src/db/cursor.rs:109:48: replace * with / in BlockBytesCursor<'a>::get_transaction_format
- [x] components/ordhook-core/src/ord/envelope.rs:179:9: replace RawEnvelope::accept -> Result
with Ok(true) - [x] components/ordhook-core/src/db/ordinals_pg.rs:69:5: replace get_highest_blessed_classic_inscription_number -> Result<Option
, String> with Ok(Some(1)) - [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:275:24: replace == with != in compute_satoshi_number
- [x] components/ordhook-core/src/db/cursor.rs:72:26: replace * with + in BlockBytesCursor<'a>::get_coinbase_data_pos
- [x] components/ordhook-core/src/core/protocol/sequence_cursor.rs:120:37: replace - with / in SequenceCursor::pick_next_neg_classic
- [x] components/ordhook-core/src/ord/epoch.rs:74:23: replace < with == in <impl From for Epoch>::from
- [x] components/ordhook-core/src/ord/epoch.rs:60:23: replace * with / in Epoch::starting_height
- [x] components/ordhook-core/src/ord/epoch.rs:146:23: replace / with % in <impl From for Epoch>::from
- [x] components/ordhook-core/src/utils/monitoring.rs:85:9: replace PrometheusMonitoring::metrics_inscription_indexed with ()
- [x] components/ordhook-core/src/core/mod.rs:108:61: replace += with *= in compute_next_satpoint_data
- [x] components/chainhook-postgres/src/types/pg_bigint_u32.rs:34:9: replace <impl FromSql for PgBigIntU32>::accepts -> bool with false
- [x] components/ordhook-core/src/core/protocol/satoshi_numbering.rs:128:29: replace < with == in compute_satoshi_number
- [x] components/ordhook-core/src/ord/epoch.rs:146:23: replace / with * in <impl From for Epoch>::from
- [x] components/ordhook-core/src/core/meta_protocols/brc20/verifier.rs:124:16: delete ! in verify_brc20_operation
- [x] components/ordhook-core/src/db/cursor.rs:102:9: replace BlockBytesCursor<'a>::get_transaction_format -> (u16, u16, usize) with (1, 0, 0)
- [x] components/ordhook-core/src/ord/inscription.rs:146:9: replace Inscription::body -> Option<&[u8]> with Some(Vec::leak(Vec::new()))
- [x] components/ordhook-core/src/db/cursor.rs:343:9: replace <impl Iterator for TransactionBytesCursorIterator<'a>>::next -> Option<TransactionBytesCursor> with None
- [x] components/ordhook-core/src/ord/sat.rs:62:35: replace % with + in Sat::name
- [x] components/ordhook-core/src/ord/epoch.rs:124:23: replace < with > in <impl From for Epoch>::from