`register_descriptor` docs have incorrect type for `datavalues`

Open Beginner friendly
#317 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
c
Domain
documentation

Research direction

Locate the documentation example for register_descriptor and review how datavalues is described. Correct the example so datavalues is shown as a dict rather than an array of dicts, then verify the documented type matches the API used for descriptor registration in HWI.

Written by the indexing model from the issue text.

Description

The example in the docs for register_descriptor suggests that datavalues is an array of dicts, when the actual type is a dict. This confused me for a while when working on descriptor registration for HWI.

Dominant language
C
Stars
497
Forks
131
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Blockstream/Jade

All issues in Blockstream/Jade

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.