Skip to content
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

Update cell status of BTC address detail asset RGB++ Tab #667

Open
Sven-TBD opened this issue May 20, 2024 · 11 comments
Open

Update cell status of BTC address detail asset RGB++ Tab #667

Sven-TBD opened this issue May 20, 2024 · 11 comments
Assignees

Comments

@Sven-TBD
Copy link
Contributor

Sven-TBD commented May 20, 2024

异常解绑状态的Cell 其原Owner 地址无法正常使用此资产,因此对该地址进行资产统计、资产展示时,应该去掉异常解绑的资产,同时可考虑将此类资产单独展示。
针对这一场景,先对BTC 地址详情页作出如下调整:

  1. BTC 地址详情页的 Live Cell Tab 不应包含 异常解绑的资产
  2. BTC 地址详情页的 XUDT Tab 统计不应包含 异常解绑的资产
  3. BTC 地址详情页的 RGB++ Tab 统计不应包含 异常解绑的资产
  4. BTC 地址详情页的 Invalid Tab 应包含 异常解绑的资产

Image

Cells with abnormal unbinding status have assets that cannot be normally used by their original Owner addresses. Therefore, when conducting asset statistics and displaying assets for these addresses, the assets with abnormal unbinding should be excluded. Additionally, such assets can be considered for separate display.

For this scenario, make the following adjustments to the BTC address details page:

  1. The Live Cell Tab on the BTC address details page should not include assets with abnormal unbinding.
  2. The XUDT Tab on the BTC address details page should not include assets with abnormal unbinding.
  3. The RGB++ Tab on the BTC address details page should not include assets with abnormal unbinding.
  4. The Invalid Tab on the BTC address details page should include assets with abnormal unbinding.

Related Definition Link:

  1. Update the Status of RGB++ Cell. #657 (comment)
  2. Chart
image
@Sven-TBD
Copy link
Contributor Author

@Kirl70 Hi Kirl, Please add a Tab on BTC address detail page
@Daryl-L @rabbitz You can go on this issue based on the description above

@rabbitz
Copy link

rabbitz commented May 22, 2024

PR: nervosnetwork/ckb-explorer#1871

/api/v1/address_live_cells/{{id}} The interface adds an optional filtering field bound_status, the optional value is:

  • bound: Bound
  • unbound: Abnormal unbinding

@rabbitz
Copy link

rabbitz commented May 23, 2024

Query btc address unbound live cells count

nervosnetwork/ckb-explorer#1875

GET /api/v2/bitcoin_addresses/{{id}}

@Daryl-L
Copy link

Daryl-L commented May 23, 2024

@FrederLu
Copy link

Magickbase/ckb-explorer-frontend#344

The data of the previous abnormal unbinding is displayed abnormally. After the current synchronization BTC UTXO service is redeployed, the previous data needs to be resynchronized and then confirmed. @Daryl-L

@rabbitz
Copy link

rabbitz commented Aug 2, 2024

@FrederLu
Copy link

https://pudge.explorer.nervos.org/address/tb1qd5q7hs0q0px6qj55j2nkkhjgm2zep7765zjyhs
Image
Image
Image

0x6178c5c39963877974acce8ae8bb869daff926708e0b186fdb17ee556b19f388 transaction output [0] 10xTTA1 is Binding, so 10xTTA1 needs to be filtered and hidden in the RGB++ label. Now it is displayed. @rabbitz

@Keith-CY
Copy link
Member

pudge.explorer.nervos.org/address/tb1qd5q7hs0q0px6qj55j2nkkhjgm2zep7765zjyhs Image Image Image

0x6178c5c39963877974acce8ae8bb869daff926708e0b186fdb17ee556b19f388 transaction output [0] 10xTTA1 is Binding, so 10xTTA1 needs to be filtered and hidden in the RGB++ label. Now it is displayed. @rabbitz

@rabbitz please check

@rabbitz
Copy link

rabbitz commented Sep 4, 2024

filter bitcoin vouts in binding status pr: nervosnetwork/ckb-explorer#2173

@FrederLu
Copy link

FrederLu commented Sep 4, 2024

Verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

6 participants