Skip to content

Api renaming #605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 19, 2025
Merged

Api renaming #605

merged 11 commits into from
Jun 19, 2025

Conversation

altafan
Copy link
Collaborator

@altafan altafan commented Jun 11, 2025

This PR contains renaming for the apis defined in the protos, client and indexer of the sdk, the interface layer of the server and some functions of the application one.

This also drops the explorer proto. In the sdk it's been replaced with the usage of the indexer, as well as in tests.

Closes #583.
Closes #584.

Please @louisinger @sekulicd review.

altafan added 4 commits June 19, 2025 00:52
* Rename round -> commitment/batch
* Rename vtxo.pubkey -> vtxo.script
* Rename events
* Rename redeem -> ark
* Rename request -> intent
* Merge RoundTransaction, RedeemTransaction -> TxNotification
* Merge indexer GetVtxos, GetVtxosByOutpoint -> GetVtxos
* Drop explorer
* Move Withdraw from admin to wallet
* app: forward tx event to indexer channel & merge RoundTransactionEvent, RedeemTransactionEvent -> TransactionEvent
* interface: update handlers and permissions & drop explorer
* e2e tests: update tests & replace explorer apis with indexer apis
* Rename round -> commitment/batch
* Rename shared output -> batch output
* Rename virtual/redeem tx -> ark tx
* Rename vtxo pubkey -> script
* Rename pending -> preconfirmed
* Update transport and indexer clients
* Add indexer.GetFullVtxoTree
* Drop client.Vtxo and indexer.Vtxo and use only types.Vtxo
* Use indexer for NotifyIncomingFunds
* Move util functions to utils.go
* Update stores
@altafan altafan merged commit cf8fa64 into next-version Jun 19, 2025
5 checks passed
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.

3 participants