Vars and fields renaming (#387)

* Rename asp > server

* Rename pool > round

* Consolidate naming for pubkey/prvkey vars and types

* Fix

* Fix

* Fix wasm

* Rename congestionTree > vtxoTree

* Fix wasm

* Rename payment > request

* Rename congestionTree > vtxoTree after syncing with master

* Fix Send API in SDK

* Fix wasm

* Fix wasm

* Fixes

* Fixes after review

* Fix

* Fix naming

* Fix

* Fix e2e tests
This commit is contained in:
Pietralberto Mazza
2024-11-26 15:57:16 +01:00
committed by GitHub
parent 12d666bfdf
commit 7f937e8418
109 changed files with 2292 additions and 2325 deletions

View File

@@ -163,7 +163,7 @@
]
}
},
"/v1/round/ping/{paymentId}": {
"/v1/round/ping/{requestId}": {
"get": {
"operationId": "ArkService_Ping",
"responses": {
@@ -182,7 +182,8 @@
},
"parameters": [
{
"name": "paymentId",
"name": "requestId",
"description": "The id used to register inputs and ouptuts.",
"in": "path",
"required": true,
"type": "string"
@@ -770,7 +771,7 @@
"title": "VTXO outpoint signed with script's secret key"
}
},
"description": "This message is used to prove to the ASP that the user controls the vtxo without revealing the whole VTXO taproot tree."
"description": "This message is used to prove to the server that the user controls the vtxo without revealing the whole VTXO taproot tree."
},
"v1PingResponse": {
"type": "object"
@@ -821,18 +822,16 @@
"v1RegisterInputsForNextRoundResponse": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Mocks wabisabi's blinded credentials."
"requestId": {
"type": "string"
}
}
},
"v1RegisterOutputsForNextRoundRequest": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Mocks wabisabi's blinded credentials."
"requestId": {
"type": "string"
},
"outputs": {
"type": "array",
@@ -840,7 +839,7 @@
"type": "object",
"$ref": "#/definitions/v1Output"
},
"description": "List of receivers for a registered payment."
"description": "List of receivers for to convert to leaves in the next VTXO tree."
}
}
},
@@ -1058,7 +1057,7 @@
},
"signedRoundTx": {
"type": "string",
"description": "If payment has boarding input, the user must sign the associated inputs."
"description": "The user has to sign also the round tx if he registerd a boarding UTXO."
}
}
},