wallet managed by elements-cli receives tx with tokens but doesn't process them (not in the locally parsed TX, not in the balance)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 20/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- blockchain, cli
調査の方向性
トランザクション 875ae63b7fb1e9d029336a081eeab78754ca5ad4e914f680e7c2b9a8c023126f と asset 7add40beb27df701e02ee85089c5bc0021bc813823fedb5f1dcb5debda7f3da9 を使用して、報告された動作を再現します。ローカルで解析したトランザクションとウォレット残高を比較します。受け取ったトークンが両方で認識されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I've created an asset on testnet with ID 7add40beb27df701e02ee85089c5bc0021bc813823fedb5f1dcb5debda7f3da9.
reissued the asset several times (https://blockstream.info/liquidtestnet/asset/7add40beb27df701e02ee85089c5bc0021bc813823fedb5f1dcb5debda7f3da9).
After having managed everything on a Jade, we wanted to move the assets to an elements-cli managed wallet that is protected with a secret secured by Shamirs Secret Sharing scheme (n out of m).
The network accepted the TX 875ae63b7fb1e9d029336a081eeab78754ca5ad4e914f680e7c2b9a8c023126f (see the details in this link) in Block 92e11278f6376cd000234602035ec38e4aef76535a15476ea9af82060fb25166.
However, my wallet is still empty:
➜ rddl elements-cli getbalance
{
"bitcoin": 0.00000000
}
The unconfidential address is owned/operated by the wallet:
➜ rddl elements-cli getaddressinfo tex1qjcnrnxsw47tyt8zwvdc2l5pgl3aq7d8g8j3gef
{
"address": "tex1qjcnrnxsw47tyt8zwvdc2l5pgl3aq7d8g8j3gef",
"scriptPubKey": "00149626399a0eaf96459c4e6370afd028fc7a0f34e8",
"ismine": true,
"solvable": true,
"desc": "wpkh([4d30cb04/0'/0'/0']035ed6325cb546da0cdfc25b22c8a85de08592aa54ddce67c8d0bfdb006fc77a7c)#p0m9g7ey",
"iswatchonly": false,
"isscript": false,
"iswitness": true,
"witness_version": 0,
"witness_program": "-----------------------------------------------------------------------",
"pubkey": "035ed6325cb546da0cdfc25b22c8a85de08592aa54ddce67c8d0bfdb006fc77a7c",
"confidential": "tlq1qqt3k85mgaz3ruk8zmwv8k86w2uv6t9elt0562pp4sjtkun0e2sm9h93x8xdqatukgkwyucms4lgz3lr6pu6wsw9m2w9m3mv8z",
"confidential_key": "",
"unconfidential": "tex1qjcnrnxsw47tyt8zwvdc2l5pgl3aq7d8g8j3gef",
"ischange": false,
"timestamp": 1710839620,
"hdkeypath": "m/0'/0'/0'",
"hdseedid": ""-----------------------------------------------------------------------",
"hdmasterfingerprint": "4d30cb04",
"labels": [
""
]
}
The original TX got send to this confidential address tlq1qqw6d7sqs847cxh2mtzxgm9udntjx23c0pyxvu4uwt3a90vrgaydfm93x8xdqatukgkwyucms4lgz3lr6pu6wsxgu4a0ahpce9 which is not equal to the one mentioned in the unconfidential address lookup (tlq1qqt3k85mgaz3ruk8zmwv8k86w2uv6t9elt0562pp4sjtkun0e2sm9h93x8xdqatukgkwyucms4lgz3lr6pu6wsw9m2w9m3mv8z):
➜ rddl elements-cli getaddressinfo tlq1qqw6d7sqs847cxh2mtzxgm9udntjx23c0pyxvu4uwt3a90vrgaydfm93x8xdqatukgkwyucms4lgz3lr6pu6wsxgu4a0ahpce9
{
"address": "tlq1qqw6d7sqs847cxh2mtzxgm9udntjx23c0pyxvu4uwt3a90vrgaydfm93x8xdqatukgkwyucms4lgz3lr6pu6wsxgu4a0ahpce9",
"scriptPubKey": "00149626399a0eaf96459c4e6370afd028fc7a0f34e8",
"ismine": false,
"solvable": true,
"desc": "wpkh([4d30cb04/0'/0'/0']035ed6325cb546da0cdfc25b22c8a85de08592aa54ddce67c8d0bfdb006fc77a7c)#p0m9g7ey",
"iswatchonly": false,
"isscript": false,
"iswitness": true,
"witness_version": 0,
"witness_program": "-----------------------------------------------------------------------",
"pubkey": "035ed6325cb546da0cdfc25b22c8a85de08592aa54ddce67c8d0bfdb006fc77a7c",
"confidential": "tlq1qqw6d7sqs847cxh2mtzxgm9udntjx23c0pyxvu4uwt3a90vrgaydfm93x8xdqatukgkwyucms4lgz3lr6pu6wsxgu4a0ahpce9",
"confidential_key": "-----------------------------------------------------------------------",
"unconfidential": "tex1qjcnrnxsw47tyt8zwvdc2l5pgl3aq7d8g8j3gef",
"ischange": false,
"timestamp": 1710839620,
"hdkeypath": "m/0'/0'/0'",
"hdseedid": "-----------------------------------------------------------------------",
"hdmasterfingerprint": "4d30cb04",
"labels": [
""
]
}
So in theory, I should have received the tokens. But the wallet does not list them.
➜ rddl elements-cli -rpcwallet=dao listreceivedbyaddress
[
]
It appears like I didn't receive any tokens. However, looking up the TX from the wallet I get this result:
elements-cli -rpcwallet=dao gettransaction 875ae63b7fb1e9d029336a081eeab78754ca5ad4e914f680e7c2b9a8c023126f
{
"amount": {
"bitcoin": 0.00000000
},
"confirmations": 1083,
"blockhash": "92e11278f6376cd000234602035ec38e4aef76535a15476ea9af82060fb25166",
"blockheight": 1310657,
"blockindex": 1,
"blocktime": 1710778864,
"txid": "875ae63b7fb1e9d029336a081eeab78754ca5ad4e914f680e7c2b9a8c023126f",
"walletconflicts": [
],
"time": 1710778864,
"timereceived": 1710841758,
"bip125-replaceable": "no",
"details": [
],
The token that got send is missing in the wallet analysis of the tx.
So this seems to be a bug as it is parsed and shown properly on-chain.
- 主要言語
- C++
- スター
- 1.2k
- フォーク
- 417
- 平均マージ
- 23時間 21分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ElementsProject/elements のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
ElementsProject/elements#1555 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
ElementsProject/elements#1521 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
ElementsProject/elements#1516 · コメント 5 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
ElementsProject/elements#1502 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 38/100
ElementsProject/elements#1500 · コメント 2 件 ·
ElementsProject/elements の issue をすべて見る
似ている issue
-
Incorrect Link in README.md対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
flameshot-org/flameshot#4996 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
utopia-rise/godot-jvm#1004 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
chore(build): TxCoordinator.cpp uses the deprecated shared_ptr atomic free functions対応中かも @w5jwp が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
aethersdr/AetherSDR#6368 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信