5 Commits

Author SHA1 Message Date
Felipe Novaes F Rocha
4ec899ec6d feat: handle unknown ops and proofs without halting ingestion
The chain contains op types the explorer has no serializer for (e.g.
ChannelSetKeys, opcode 16), and a single such transaction aborted the
entire backfill. Same approach as #19, adapted to the current tx format:
unrecognized opcodes and proof variants (e.g. the NoProof unit variant)
fall back to an UnknownOp/UnknownSignature pair that preserves the raw
data verbatim. Typed support can be added incrementally; known ops keep
their strict proof-type checks.

Also adds a typed ChannelSetKeys serializer (opcode 16), shaped from a
real op captured on the chain (fixture included) — its DB model already
existed, but with List[bytes] keys, which break the JSON column's utf-8
encoding; changed to HexBytes like every other byte field.
2026-06-12 16:23:04 -03:00
David Rusu
2045b8df6f update schemas to v0.1.3rc5 2026-05-06 18:31:16 -04:00
David Rusu
4fa63da82a update tx schema to v0.1.1 2026-04-09 23:27:30 -04:00
David Rusu
36aed1ddc3 display inscriptions in block explorer 2026-02-13 01:03:47 +04:00
Alejandro Cabeza Romero
7f1a543681
Decouple models from node api. 2025-10-30 11:48:34 +01:00