mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-04-30 20:51:51 +08:00
chore: update chainhook-sdk
This commit is contained in:
@@ -14,8 +14,8 @@ redis = "0.21.5"
|
||||
serde-redis = "0.12.0"
|
||||
hex = "0.4.3"
|
||||
rand = "0.8.5"
|
||||
chainhook-sdk = { version = "=0.7.11", default-features = false, features = ["zeromq"] }
|
||||
# chainhook-sdk = { version = "=0.7.11", path = "../../../chainhook/components/chainhook-sdk", default-features = false, features = ["zeromq"] }
|
||||
chainhook-sdk = { version = "=0.7.12", default-features = false, features = ["zeromq"] }
|
||||
# chainhook-sdk = { version = "=0.7.12", path = "../../../chainhook/components/chainhook-sdk", default-features = false, features = ["zeromq"] }
|
||||
hiro-system-kit = "0.1.0"
|
||||
clap = { version = "3.2.23", features = ["derive"], optional = true }
|
||||
clap_generate = { version = "3.0.3", optional = true }
|
||||
|
||||
@@ -3,7 +3,7 @@ mod runloops;
|
||||
|
||||
use crate::cli::fetch_and_standardize_block;
|
||||
use crate::config::{Config, PredicatesApi, PredicatesApiConfig};
|
||||
use crate::core::pipeline::processors::inscription_indexing::{process_block, process_blocks};
|
||||
use crate::core::pipeline::processors::inscription_indexing::{process_blocks};
|
||||
use crate::core::pipeline::processors::start_inscription_indexing_processor;
|
||||
use crate::core::pipeline::{download_and_pipeline_blocks, PostProcessorCommand};
|
||||
use crate::core::protocol::sequencing::update_storage_and_augment_bitcoin_block_with_inscription_transfer_data_tx;
|
||||
@@ -30,17 +30,17 @@ use chainhook_sdk::chainhooks::types::{
|
||||
|
||||
use chainhook_sdk::indexer::bitcoin::build_http_client;
|
||||
use chainhook_sdk::observer::{
|
||||
start_event_observer, BitcoinConfig, EventObserverConfig, HandleBlock, ObserverCommand,
|
||||
start_event_observer, BitcoinConfig, EventObserverConfig, HandleBlock,
|
||||
ObserverEvent,
|
||||
};
|
||||
use chainhook_sdk::types::{
|
||||
BitcoinBlockData, BitcoinChainEvent, BitcoinNetwork, OrdinalInscriptionTransferData,
|
||||
BitcoinBlockData, BitcoinNetwork, OrdinalInscriptionTransferData,
|
||||
OrdinalOperation,
|
||||
};
|
||||
use chainhook_sdk::utils::Context;
|
||||
use redis::{Commands, Connection};
|
||||
|
||||
use std::collections::{BTreeMap, HashMap};
|
||||
use std::collections::{BTreeMap};
|
||||
use std::sync::mpsc::{channel, Sender};
|
||||
use std::sync::Arc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user