mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 16:52:57 +08:00
fix: release v1.0.1 (#176)
This commit is contained in:
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@@ -25,7 +25,6 @@ jobs:
|
||||
- name: Cargo test
|
||||
run: |
|
||||
rustup update
|
||||
cargo check
|
||||
cargo test --all
|
||||
|
||||
- name: Semantic Release
|
||||
|
||||
@@ -146,9 +146,9 @@ pub fn should_sync_ordhook_db(
|
||||
|
||||
|
||||
// TODO: Gracefully handle Regtest, Testnet and Signet
|
||||
let (mut end_block, speed) = if start_block <= 200_000 {
|
||||
let (mut end_block, speed) = if start_block < 200_000 {
|
||||
(end_block.min(200_000), 10_000)
|
||||
} else if start_block <= 550_000 {
|
||||
} else if start_block < 550_000 {
|
||||
(end_block.min(550_000), 1_000)
|
||||
} else {
|
||||
(end_block, 100)
|
||||
|
||||
@@ -470,7 +470,7 @@ impl Service {
|
||||
while let Some((start_block, end_block, speed)) =
|
||||
should_sync_ordhook_db(&self.config, &self.ctx)?
|
||||
{
|
||||
if end_block <= last_block_processed {
|
||||
if last_block_processed == end_block {
|
||||
break;
|
||||
}
|
||||
let blocks_post_processor = start_inscription_indexing_processor(
|
||||
|
||||
Reference in New Issue
Block a user