Comments (2)
Hey! Having issues replicating this. Here are the steps I took:
- Mirrored a history archive to my local disk
stellar-archivist mirror http://s3-eu-west-1.amazonaws.com/history.stellar.org/prd/core-testnet/core_testnet_001 file://local-archive --low 3600000 --high 3700000
- Run stellar-archivist
stellar-archivist --low 3600000 --high 3700000 scan --verify --thorough file:///Users/[MY_USERNAME]/local-archive/
I received this output:
2018/03/02 14:41:08 Scanning checkpoint files in range: [0x0036ee3f, 0x0038753f]
2018/03/02 14:41:09 Archive: 1344 history, 233 ledger, 762 transactions, 824 results, 928 scp
2018/03/02 14:41:10 Checkpoint files scanned with 0 errors
2018/03/02 14:41:10 Archive: 1564 history, 1564 ledger, 1564 transactions, 1564 results, 1564 scp
2018/03/02 14:41:10 Scanning all buckets, and those referenced by range
2018/03/02 14:41:11 Archive: 2037 buckets total, 2037 referenced
2018/03/02 14:41:11 Examining checkpoint files for gaps
2018/03/02 14:41:11 Examining buckets referenced by checkpoints
2018/03/02 14:41:11 No checkpoint files missing in range [0x0036ee3f, 0x0038753f]
2018/03/02 14:41:11 No missing buckets referenced in range [0x0036ee3f, 0x0038753f]
2018/03/02 14:41:11 Verified 100096 ledger headers have expected hashes
2018/03/02 14:41:11 Verified 100096 transaction sets have expected hashes
2018/03/02 14:41:11 Verified 100096 transaction result sets have expected hashes
2018/03/02 14:41:11 Verified 2037 buckets have expected hashes
As you can see this worked as expected.
-
Removed ledger-00378d7f.xdr.gz
-
Run stellar-archivist again
stellar-archivist --low 3600000 --high 3700000 scan --verify --thorough file:///Users/[MY_USERNAME]/local-archive/
- Received the following:
2018/03/02 15:00:16 Scanning checkpoint files in range: [0x0036ee3f, 0x0038753f]
2018/03/02 15:00:17 Archive: 1376 history, 229 ledger, 772 transactions, 809 results, 909 scp
2018/03/02 15:00:18 Checkpoint files scanned with 0 errors
2018/03/02 15:00:18 Archive: 1564 history, 1563 ledger, 1564 transactions, 1564 results, 1564 scp
2018/03/02 15:00:18 Scanning all buckets, and those referenced by range
2018/03/02 15:00:19 Archive: 2037 buckets total, 2037 referenced
2018/03/02 15:00:19 Examining checkpoint files for gaps
2018/03/02 15:00:19 Examining buckets referenced by checkpoints
2018/03/02 15:00:19 Missing ledger (1): 0x00378d7f
2018/03/02 15:00:19 No missing buckets referenced in range [0x0036ee3f, 0x0038753f]
2018/03/02 15:00:19 Error: mismatched hash on ledger header 0x00378d7f: expected e9b8e5356394f4ca192fcccddd5b93dd9bfb98428548e0d7eb0050e820a41ca5, got 0000000000000000000000000000000000000000000000000000000000000000
2018/03/02 15:00:19 Error: 1 ledger headers (of 100032 checked) have unexpected hashes
2018/03/02 15:00:19 Verified 100032 transaction sets have expected hashes
2018/03/02 15:00:19 Verified 100032 transaction result sets have expected hashes
2018/03/02 15:00:19 Verified 2037 buckets have expected hashes
2018/03/02 15:00:19 Detected 1 objects with unexpected hashes
As you can see, the error was caught.
2018/03/02 15:00:19 Missing ledger (1): 0x00378d7f
Is it possible this has been fixed?
from go.
Hi - @robertDurst was unable to reproduce this issue on the livenet or the testnet environment. Given that, we're going to close the issue. Please do let us know if you're still encountering the problem.
from go.
Related Issues (20)
- Provide configuration guidelines for BufferedStorageBackend settings HOT 3
- services/horizon: Benchmark reingestion based on precomputed ledger meta tx files HOT 1
- Horizon: improve logging when config is broken
- ingest/pipeline: create new data transform interfaces under ingest package HOT 1
- ingest/pipeline: update LedgerBackends to be InboundAdapters HOT 1
- ingest/pipeline: create new PaymentProcessor HOT 1
- Add utility command to get file name from ledger number in Galexie HOT 3
- ingest/pipeline: Update LedgerBackend to support functional pipeline producer HOT 2
- services/horizon/ingest: express parsing routines for Payment as public, reusable functions
- services/horizon/ingest: express parsing routines for Offers as public, reusable functions
- Add Horizon metric for keeping track of slow ingestion restarts
- Add horizon metric which counts number of requests for old history
- Not able to run Ticker on Docker. HOT 4
- Add support for LEDGER_ENTRY_RESTORE
- Update asset stats to handle eviction
- Update XDR definitions for protocol 22
- Add support for InvokeHostFunctionOpV2 in operations ingestion
- Update CheckpointChangeReader to handle bucketlist entry types
- clients/stellarcore: Add support for Core's new HTTP endpoints
- invalid link to docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go.