`linked` field doesn't print with `--verbose`
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 44
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
When I test signature with create-account, --verbose doesn't print linked field in operations but it is used to making hash.
$ sebak wallet payment ${PUBKEY} 10000000000 ${SECRET} --create --verbose
{
"T": "transaction",
"H": {
"version": "",
"created": "2018-10-02T10:57:45.403746651+09:00",
"signature": "4ty1Pv7Phc3CEeGLCP8mjZfEC259VR1MBgyVHzQXTcWjuSiwxVQ2AQKxy2HjGTCDrmdE29z8ZNZ6GxuDyEay2p9M"
},
"B": {
"source": "GDIRF4UWPACXPPI4GW7CMTACTCNDIKJEHZK44RITZB4TD3YUM6CCVNGJ",
"fee": "10000",
"sequenceid": 0,
"operations": [
{
"H": {
"type": "create-account"
},
"B": {
"target": "GDTEPFWEITKFHSUO44NQABY2XHRBBH2UBVGJ2ZJPDREIOL2F6RAEBJE4",
"amount": "10000000000"
}
}
]
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the sebak wallet payment ... --create --verbose entry point and trace how the create-account operation is serialized for verbose output and hashing. Compare the displayed operation with the fields included in the signature payload; done means the linked field used for hashing is also present in verbose output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100