Skip to content

feat: cumulative confirmations tier per BTC block#48

Draft
olga24912 wants to merge 6 commits into
omni-mainfrom
block-limit
Draft

feat: cumulative confirmations tier per BTC block#48
olga24912 wants to merge 6 commits into
omni-mainfrom
block-limit

Conversation

@olga24912
Copy link
Copy Markdown

Confirmations tier now computed against the SUM of bridge tx amounts in a BTC
block, closing the split-deposit bypass (one big deposit chunked into many
small to fall under a lower tier).

Per-block sums in a fixed-capacity ring keyed by block_height % cap. Uses
verify_transaction_inclusion_with_heights (Near-One/btc-light-client-contract#140) to get tip + block height in one call; confirmations check moves to our callback.

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