Skip to content

Commit 5a5e9e7

Browse files
Thomas Kerinafk11
Thomas Kerin
authored andcommitted
document optional error codes depending on build
1 parent 8c2c788 commit 5a5e9e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Error codes for bitcoinconsensus_verify_script{,with_amount}
4343
BITCOINCONSENSUS_ERR_TX_INDEX input index not set in transaction
4444
BITCOINCONSENSUS_ERR_TX_SIZE_MISMATCH (not possible)
4545
BITCOINCONSENSUS_ERR_TX_DESERIALIZE invalid transaction serialization
46+
47+
Optional (depends on bitcoinconsensus.h build):
4648
BITCOINCONSENSUS_ERR_AMOUNT_REQUIRED used segwit flag with old function
4749
BITCOINCONSENSUS_ERR_INVALID_FLAGS invalid script verification flags used
4850

0 commit comments

Comments
 (0)