Skip to content

Ingest rich blocks and retire production input enrichment joins - #687

Open
startupcompliancekit wants to merge 2 commits into
alephium:masterfrom
startupcompliancekit:fix-569-rich-block-ingestion
Open

startupcompliancekit wants to merge 2 commits into
alephium:masterfrom
startupcompliancekit:fix-569-rich-block-ingestion

Conversation

@startupcompliancekit

Copy link
Copy Markdown

Closes #569.

Use rich block endpoints for ingestion and preserve block-specific input amounts, addresses, tokens and references. Create sender/token indexes transactionally and retire InputUpdateQueries from production. Before synchronization starts, repair incomplete legacy inputs in bounded, resumable batches while preserving complete rows and finalized state. Also relates to #584.

Validation: 52 tests passed, including complete writer/read-only explorer integration, rich HTTP endpoints, fork-specific inputs, backfill recovery and finalization. Focused tests passed again after fixture/style cleanup; formatting and lint passed. All seven backend changes also passed 134 tests together. A populated node transaction-output-reference index is required: rich responses can omit unavailable asset references, so payload completeness cannot be certified here. Already-populated historical errors are not guessed or rewritten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use new /rich-blocks endpoint

1 participant