Skip to content

Commit

Permalink
doc: correct bitcoinconsensus_version in shared-libraries
Browse files Browse the repository at this point in the history
Summary: Backport of Core [[bitcoin/bitcoin#15765 | PR15765]]

Test Plan: Verify that `BITCOINCONSENSUS_API_VER` is 1 in `bitcoinconsensus.h`

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7761
  • Loading branch information
fanquake authored and PiRK committed Oct 5, 2020
1 parent 7c956ab commit 1338124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/shared-libraries.md
Expand Up @@ -7,11 +7,11 @@ The purpose of this library is to make the verification functionality that is cr

### API

The interface is defined in the C header `bitcoinconsensus.h` located in `src/script/bitcoinconsensus.h`.
The interface is defined in the C header `bitcoinconsensus.h` located in `src/script/bitcoinconsensus.h`.

#### Version

`bitcoinconsensus_version` returns an `unsigned int` with the API version *(currently at an experimental `0`)*.
`bitcoinconsensus_version` returns an `unsigned int` with the API version *(currently `1`)*.

#### Script Validation

Expand Down

0 comments on commit 1338124

Please sign in to comment.