Skip to content

Instantly share code, notes, and snippets.

@burningtree
Created October 19, 2025 16:09
Show Gist options
  • Select an option

  • Save burningtree/661745775e3c1b9ec3e63b79af8cb43b to your computer and use it in GitHub Desktop.

Select an option

Save burningtree/661745775e3c1b9ec3e63b79af8cb43b to your computer and use it in GitHub Desktop.
=== PLC Export Verification ===
Count: 100
After: 2023-07-27T18:49:40.297Z
Fetching from local API...
curl -s "http://localhost:8080/api/v1/plc/export?count=100&after=2023-07-27T18:49:40.297Z"
Operations: 100
Hash: ef869ffde10cb655cddcebf555cbcad655c13d297b1e86e485b7da4370bba03d
Fetching from plc.directory...
curl -s "https://plc.directory/export?count=100&after=2023-07-27T18:49:40.297Z"
Operations: 100
Hash: ef869ffde10cb655cddcebf555cbcad655c13d297b1e86e485b7da4370bba03d
Fetching from plc.wtf...
curl -s "https://plc.wtf/export?count=100&after=2023-07-27T18:49:40.297Z"
Operations: 100
Hash: b795cac46bd232d2bc076d32923e58d2a9000a6c21a2ed875ad791095f026a8e
=== COMPARISON ===
Local vs plc.directory: ✅ MATCH
Local vs plc.wtf: ❌ MISMATCH
plc.directory vs plc.wtf: ❌ MISMATCH
❌ DISCREPANCIES DETECTED
=== OPERATION COUNTS ===
Local: 100 operations
plc.directory: 100 operations (diff: 0)
plc.wtf: 100 operations (diff: 0)
=== FIRST OPERATIONS ===
Local:
did:plc:aih6jllqch3xbfzbrf5b2jma bafyreiacb7sk24ar65yjoimjpioslaegafwhtqifr7tlcl6lco5ms6xlkq 2023-07-27T18:49:40.297Z
plc.directory:
did:plc:aih6jllqch3xbfzbrf5b2jma bafyreiacb7sk24ar65yjoimjpioslaegafwhtqifr7tlcl6lco5ms6xlkq 2023-07-27T18:49:40.297Z
plc.wtf:
did:plc:iac3lqtcltzcubaqqjy65xmk bafyreicaaw24eys46ivaieecohxn3crhsg7ufqt6bgf5dwvehhi2df5bp4 2023-07-27T18:49:42.161Z
=== LAST OPERATIONS ===
Local:
did:plc:rsuximy6xivze6lmmvd5epja bafyreiemvf2dghv2fojhs3dfi7jd2iexep55hakmd3kzamp3qtaynehxee 2023-07-27T18:59:41.935Z
plc.directory:
did:plc:rsuximy6xivze6lmmvd5epja bafyreiemvf2dghv2fojhs3dfi7jd2iexep55hakmd3kzamp3qtaynehxee 2023-07-27T18:59:41.935Z
plc.wtf:
did:plc:dwqetnnz4ozlhu7eg2c6hbnp bafyreia5ube3lopdwkz5hzbwqxryll4gmtzlkhoayjw5jjlgfetq2dfnji 2023-07-27T18:59:45.405Z
=== FIRST DIFFERENCES (Local vs plc.wtf) ===
1d0
< bafyreiacb7sk24ar65yjoimjpioslaegafwhtqifr7tlcl6lco5ms6xlkq
20a20
> bafyreibv6dy6koq276iqtbokv2zdmtafax6seust2zswarifxj5z7kcxqq
=== FIRST DIFFERENCES (plc.directory vs plc.wtf) ===
1d0
< bafyreiacb7sk24ar65yjoimjpioslaegafwhtqifr7tlcl6lco5ms6xlkq
20a20
> bafyreibv6dy6koq276iqtbokv2zdmtafax6seust2zswarifxj5z7kcxqq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment