-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ChainGetTipSetByHeight method synchronization lacks message #4438
Comments
my transation in blockid is :bafy2bzacecjsjcw5qkptuy4ams62zefuw4cgkbsahnpuqofwwop7cw7e6zwwu The third from last on page 10 in https://filfox.info/ |
You should use the block cid get the message |
use the block cid get the message? |
First use the height to get the block cid and then use the blck cid to get the messages? |
Yes |
to get all message? in that block |
ok i try thanks |
Get which rpc method used by blockcid |
? |
My usage is correct |
I first get the miner cid on the block and then get the cids under each miner |
no |
This rpc method is too slow to get data |
why? |
My transaction cid is bafy2bzacebv7h5xsceyz6aqa4robpcjitdmldzkwydklmqzdvhw76d5zikono. Blockchain can be found, but rpc can’t. |
come on |
You mean ChainGetBlockMessages not return your transaction? |
yes |
yes yes |
This transaction can be checked on the browser but rpc cannot be returned |
No, the transaction can be return, i got it. you can send some code snippet to here |
// 根据高度遍历区块所有交易
} |
i used the method but cannot the cid of bafy2bzacebv7h5xsceyz6aqa4robpcjitdmldzkwydklmqzdvhw76d5zikono |
You transaction is not BlsMessages, it's SecpkMessage |
thi is go language need to import ( |
What's the difference? |
i need to get the SecpkMessages? |
YES |
but the cid Incorrect, the cid shoud be follow: 第1个 高度:148,936 |
you can provide the code to me |
anyone there |
bm.Cids[index] is the message id, like other blockchain's transaction hash |
jsonStr := []byte(fmt.Sprintf( jsonStr := []byte(fmt.Sprintf( 用这两个接口 |
ChainGetBlockMessages returns BlsMessages and SecpkMessage, which is tranfer not miner |
The ChainGetTipSetByHeight method cannot synchronize the messages under all miners and there are references
bug i used the ChainGetTipSetByHeight rpc
Can't sync to that transaction
the method is follow img:
The text was updated successfully, but these errors were encountered: