Skip to content

chore(e2e): regtest update#154

Open
d4rp4t wants to merge 11 commits into
arkade-os:masterfrom
d4rp4t:chore/regtest-update
Open

chore(e2e): regtest update#154
d4rp4t wants to merge 11 commits into
arkade-os:masterfrom
d4rp4t:chore/regtest-update

Conversation

@d4rp4t

@d4rp4t d4rp4t commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@d4rp4t d4rp4t force-pushed the chore/regtest-update branch 3 times, most recently from 22712cb to 7f5160c Compare July 6, 2026 11:18
@d4rp4t d4rp4t force-pushed the chore/regtest-update branch from 7f5160c to ec89614 Compare July 6, 2026 12:30
d4rp4t added 4 commits July 6, 2026 15:32
arkd's GetVtxoChainAsync returns the virtual-tx chain leaf-first (the
VTXO's own tx first, walking back to the Commitment anchor) — the
opposite of what UnilateralExitService and ExitWatchtowerService
assumed (branch[0] == root, branch[^1] == leaf). This left CSV
maturity checks and claim-tx building looking at the Commitment row
instead of the leaf, and the broadcast loop submitting the leaf
before its own unbroadcast ancestors.

- NBXplorerBlockchain.GetTxStatusAsync: Bitcoin Core's getrawtransaction
  has no "blockheight" field; resolve it via getblockheader on the
  returned blockhash instead, so confirmed txs no longer report a
  permanently-null height.
- UnilateralExitService: identify leaf tx by txid match against the
  VTXO's own outpoint, root by ChainedTxType.Commitment, instead of
  array position; broadcast root→leaf (reverse of storage order) so
  each tx's parent is already on-chain/in-mempool before it's submitted.
- ExitWatchtowerService: same root/leaf identification fix.
- Correct doc comments on VtxoBranch, IClientTransport.GetVtxoChainAsync,
  VtxoChainEntry, and VirtualTxService that documented the wrong order.
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