-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CID sampling v0.2 #40
Comments
A Rust library we can use to parse JSON in a streaming way: https://crates.io/crates/json-event-parser |
See the discussion in Example deal: {
"Proposal": {
"PieceCID": {
"/": "baga6ea4seaqa3onc6kbej6ekjydnbgjnqjzlnlmcafedswhoyn5ubrfmb34uida"
},
"PieceSize": 34359738368,
"VerifiedDeal": true,
"Client": "f01985718",
"Provider": "f02008883",
"Label": "bafybeieosqoxjt6xvwby33ts4gdcykd3fbj6ffj2olhl67lbpefccdnihe",
"StartEpoch": 2652977,
"EndEpoch": 4173617,
"StoragePricePerEpoch": "0",
"ProviderCollateral": "12325970877125150",
"ClientCollateral": "0"
},
"State": {
"SectorStartEpoch": 2632102,
"LastUpdatedEpoch": 3128814,
"SlashEpoch": -1,
"VerifiedClaim": 8526408
}
} CID Contant entry: [
{
ContextID: 'AXESID6uXFBtGR4r+3yxTK9DqevBRwfAhtlnbqVqusVYErka',
Metadata: 'kBKjaFBpZWNlQ0lE2CpYKAABgeIDkiAgDbmi8oJE+IpOBtCZLYJytq2CAUg5WO7De0DErA75RAxsVmVyaWZpZWREZWFs9W1GYXN0UmV0cmlldmFs9Q==',
Provider: {
ID: '12D3KooWBCPM3hAFfCgaRRfZ55HmRHECTjsZsSpSQXGXFaNQhy7m',
Addrs: [ '/ip4/113.23.169.21/tcp/30005', [length]: 1 ]
}
},
[length]: 1
]
|
I hit a block while working on "IPNI Context ID from FIL Deal proposal", so I decided to implement the second part (push IPNI queries to Spark checkers) first. Design doc: https://www.notion.so/pl-strflt/Moving-IPNI-queries-to-Spark-checkers-c58175c0f1c841e6bb82ac44a1472a98 |
eta: 2024-01-31
The next step on our journey to #24, a follow-up for CheckerNetwork/roadmap#43
Build IPNI Context ID from FIL Deal proposal, so that we can filter IPNI records to pick only the advertisement from the SP handling the deal
→ Moved to Link retrievals to miners roadmap#65
Rework SPARK tasking to push IPNI queries to spark-checkers
(CID, address, protocol)
to(miner, contextId, CID)
miner
andcontextId
in the measurementsThe text was updated successfully, but these errors were encountered: