You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename bitcoinconsensus library to dashconsensus. (#1432)
All names containing bitcoinconsensus remaned to contain dashconsensus.
This is needed to avoid conflicts with real bitcoinconsensus library
shipped with Bitcoin Core.
Signed-off-by: Oleg Girko <ol@infoserver.lv>
Copy file name to clipboardExpand all lines: doc/shared-libraries.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
Shared Libraries
2
2
================
3
3
4
-
## bitcoinconsensus
4
+
## dashconsensus
5
5
6
-
The purpose of this library is to make the verification functionality that is critical to Bitcoin's consensus available to other applications, e.g. to language bindings.
6
+
The purpose of this library is to make the verification functionality that is critical to Dash's consensus available to other applications, e.g. to language bindings.
7
7
8
8
### API
9
9
10
-
The interface is defined in the C header `bitcoinconsensus.h` located in `src/script/bitcoinconsensus.h`.
10
+
The interface is defined in the C header `dashconsensus.h` located in `src/script/dashconsensus.h`.
11
11
12
12
#### Version
13
13
14
-
`bitcoinconsensus_version` returns an `unsigned int` with the the API version *(currently at an experimental `0`)*.
14
+
`dashconsensus_version` returns an `unsigned int` with the the API version *(currently at an experimental `0`)*.
15
15
16
16
#### Script Validation
17
17
18
-
`bitcoinconsensus_verify_script` returns an `int` with the status of the verification. It will be `1` if the input script correctly spends the previous output `scriptPubKey`.
18
+
`dashconsensus_verify_script` returns an `int` with the status of the verification. It will be `1` if the input script correctly spends the previous output `scriptPubKey`.
19
19
20
20
##### Parameters
21
21
-`const unsigned char *scriptPubKey` - The previous output script that encumbers spending.
@@ -24,18 +24,18 @@ The interface is defined in the C header `bitcoinconsensus.h` located in `src/s
24
24
-`unsigned int txToLen` - The number of bytes for the `txTo`.
25
25
-`unsigned int nIn` - The index of the input in `txTo` that spends the `scriptPubKey`.
26
26
-`unsigned int flags` - The script validation flags *(see below)*.
27
-
-`bitcoinconsensus_error* err` - Will have the error/success code for the operation *(see below)*.
27
+
-`dashconsensus_error* err` - Will have the error/success code for the operation *(see below)*.
0 commit comments