Skip to content

Commit 2869883

Browse files
committed
taprpc: add missing tapcli cmds for RPC endpoints
1 parent 077f8c4 commit 2869883

File tree

9 files changed

+17
-9
lines changed

9 files changed

+17
-9
lines changed

taprpc/assetwalletrpc/assetwallet.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ service AssetWallet {
4949
*/
5050
rpc NextScriptKey (NextScriptKeyRequest) returns (NextScriptKeyResponse);
5151

52-
/*
52+
/* tapcli: `proofs proveownership`
5353
ProveAssetOwnership creates an ownership proof embedded in an asset
5454
transition proof. That ownership proof is a signed virtual transaction
5555
spending the asset with a valid witness to prove the prover owns the keys
@@ -58,7 +58,7 @@ service AssetWallet {
5858
rpc ProveAssetOwnership (ProveAssetOwnershipRequest)
5959
returns (ProveAssetOwnershipResponse);
6060

61-
/*
61+
/* tapcli: `proofs verifyownership`
6262
VerifyAssetOwnership verifies the asset ownership proof embedded in the
6363
given transition proof of an asset and returns true if the proof is valid.
6464
*/

taprpc/assetwalletrpc/assetwallet.swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
"/v1/taproot-assets/wallet/ownership/prove": {
5353
"post": {
54-
"summary": "ProveAssetOwnership creates an ownership proof embedded in an asset\ntransition proof. That ownership proof is a signed virtual transaction\nspending the asset with a valid witness to prove the prover owns the keys\nthat can spend the asset.",
54+
"summary": "tapcli: `proofs proveownership`\nProveAssetOwnership creates an ownership proof embedded in an asset\ntransition proof. That ownership proof is a signed virtual transaction\nspending the asset with a valid witness to prove the prover owns the keys\nthat can spend the asset.",
5555
"operationId": "AssetWallet_ProveAssetOwnership",
5656
"responses": {
5757
"200": {
@@ -84,7 +84,7 @@
8484
},
8585
"/v1/taproot-assets/wallet/ownership/verify": {
8686
"post": {
87-
"summary": "VerifyAssetOwnership verifies the asset ownership proof embedded in the\ngiven transition proof of an asset and returns true if the proof is valid.",
87+
"summary": "tapcli: `proofs verifyownership`\nVerifyAssetOwnership verifies the asset ownership proof embedded in the\ngiven transition proof of an asset and returns true if the proof is valid.",
8888
"operationId": "AssetWallet_VerifyAssetOwnership",
8989
"responses": {
9090
"200": {

taprpc/assetwalletrpc/assetwallet_grpc.pb.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

taprpc/taprootassets.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ service TaprootAssets {
123123
rpc SubscribeReceiveAssetEventNtfns (SubscribeReceiveAssetEventNtfnsRequest)
124124
returns (stream ReceiveAssetEvent);
125125

126-
/*
126+
/* tapcli: `assets meta`
127127
FetchAssetMeta allows a caller to fetch the reveal meta data for an asset
128128
either by the asset ID for that asset, or a meta hash.
129129
*/

taprpc/taprootassets.swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
},
294294
"/v1/taproot-assets/assets/meta/asset-id/{asset_id_str}": {
295295
"get": {
296-
"summary": "FetchAssetMeta allows a caller to fetch the reveal meta data for an asset\neither by the asset ID for that asset, or a meta hash.",
296+
"summary": "tapcli: `assets meta`\nFetchAssetMeta allows a caller to fetch the reveal meta data for an asset\neither by the asset ID for that asset, or a meta hash.",
297297
"operationId": "TaprootAssets_FetchAssetMeta",
298298
"responses": {
299299
"200": {
@@ -348,7 +348,7 @@
348348
},
349349
"/v1/taproot-assets/assets/meta/hash/{meta_hash_str}": {
350350
"get": {
351-
"summary": "FetchAssetMeta allows a caller to fetch the reveal meta data for an asset\neither by the asset ID for that asset, or a meta hash.",
351+
"summary": "tapcli: `assets meta`\nFetchAssetMeta allows a caller to fetch the reveal meta data for an asset\neither by the asset ID for that asset, or a meta hash.",
352352
"operationId": "TaprootAssets_FetchAssetMeta2",
353353
"responses": {
354354
"200": {

taprpc/taprootassets_grpc.pb.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

taprpc/universerpc/universe.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ service Universe {
134134
rpc SetFederationSyncConfig (SetFederationSyncConfigRequest)
135135
returns (SetFederationSyncConfigResponse);
136136

137-
/*
137+
/* tapcli: `universe federation config info`
138138
QueryFederationSyncConfig queries the universe federation sync configuration
139139
settings.
140140
*/

taprpc/universerpc/universe.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@
12121212
},
12131213
"/v1/taproot-assets/universe/sync/config": {
12141214
"get": {
1215-
"summary": "QueryFederationSyncConfig queries the universe federation sync configuration\nsettings.",
1215+
"summary": "tapcli: `universe federation config info`\nQueryFederationSyncConfig queries the universe federation sync configuration\nsettings.",
12161216
"operationId": "Universe_QueryFederationSyncConfig",
12171217
"responses": {
12181218
"200": {

taprpc/universerpc/universe_grpc.pb.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)