Skip to content

api: add compact input ownership evidence without transaction fetches - #30

Closed
sidhujag wants to merge 1 commit into
masterfrom
codex/summary-input-ownership
Closed

sidhujag wants to merge 1 commit into
masterfrom
codex/summary-input-ownership

Conversation

@sidhujag

Copy link
Copy Markdown
Member

Summary

Add optional accountOwnsAllInputs to compact account summaries. It is computed while inspecting inputs already available to the existing summarizer: true requires a nonempty input set and a known positive value plus an owned nonempty descriptor for every input. Unknown, zero-value and mixed-owner inputs produce explicit false.

This lets consumers derive ordinary outgoing native transfer amounts from existing account totals and fees without requesting full transaction bodies per Activity row. Existing account amount aliases, direction, asset summaries and raw/full transaction responses remain unchanged. No added RPCs or database reads.

Validation

Added table-driven ownership, amount-alias preservation and JSON omission/true/false regressions. TypeScript interface compilation, OpenAPI structural checks and diff checks passed. Independent static producer/consumer review found no blocker.

Go unit, connectivity and narrow Syscoin integration wrappers were attempted but stopped at local preflight: Go/RocksDB configuration is unavailable. They did not execute. This fork currently exposes no equipped self-hosted runner or testnet deployment mapping, so Go execution and deployment are not claimed. Keep this PR unmerged until actual Go tests pass.

@sidhujag

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T06:14:01.117186Z 9a8ba01 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 9a8ba01bf0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@sidhujag sidhujag closed this Oct 16, 2026
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.

1 participant