@@ -109,7 +109,7 @@ export const WALLY_ADDRESS_VERSION_WIF_TESTNET = 0xEF; /** Wallet Import Format
109109export const WALLY_BIP32_CHAIN_CODE_LEN = 32 ;
110110export const WALLY_BIP32_TWEAK_SUM_LEN = 32 ;
111111export const WALLY_BTC_MAX = 21000000 ;
112- export const WALLY_BUILD_VER = 0x902 ;
112+ export const WALLY_BUILD_VER = 0x10000 ;
113113export const WALLY_CA_PREFIX_LIQUID = 0x0c ; /** Liquid v1 confidential address prefix */
114114export const WALLY_CA_PREFIX_LIQUID_REGTEST = 0x04 ; /** Liquid v1 confidential address prefix for regtest */
115115export const WALLY_CA_PREFIX_LIQUID_TESTNET = 0x17 ; /** Liquid v1 confidential address prefix for testnet */
@@ -118,7 +118,7 @@ export const WALLY_EINVAL = -2; /** Invalid argument */
118118export const WALLY_ENOMEM = - 3 ; /** malloc() failed */
119119export const WALLY_ERROR = - 1 ; /** General error */
120120export const WALLY_HOST_COMMITMENT_LEN = 32 ;
121- export const WALLY_MAJOR_VER = 0 ;
121+ export const WALLY_MAJOR_VER = 1 ;
122122export const WALLY_MAX_OP_RETURN_LEN = 80 ; /* Maximum length of OP_RETURN data push */
123123export const WALLY_MINISCRIPT_DEPTH_MASK = 0xffff0000 ; /** Mask for limiting maximum depth */
124124export const WALLY_MINISCRIPT_DEPTH_SHIFT = 16 ; /** Shift to convert maximum depth to flags */
@@ -127,7 +127,7 @@ export const WALLY_MINISCRIPT_POLICY_TEMPLATE = 0x08; /** Only allow policy temp
127127export const WALLY_MINISCRIPT_REQUIRE_CHECKSUM = 0x04 ; /** Require a checksum to be present */
128128export const WALLY_MINISCRIPT_TAPSCRIPT = 0x01 ; /** Tapscript, use x-only pubkeys */
129129export const WALLY_MINISCRIPT_UNIQUE_KEYPATHS = 0x10 ; /** For policy templates, ensure BIP32 derivation paths differ for identical keys */
130- export const WALLY_MINOR_VER = 9 ;
130+ export const WALLY_MINOR_VER = 0 ;
131131export const WALLY_MS_CANONICAL_NO_CHECKSUM = 0x01 ; /** Do not include a checksum */
132132export const WALLY_MS_IS_DESCRIPTOR = 0x20 ; /** Contains only descriptor expressions (no miniscript) */
133133export const WALLY_MS_IS_MULTIPATH = 0x02 ; /** Allows multiple paths via ``<a;b;c>`` */
@@ -146,7 +146,7 @@ export const WALLY_NETWORK_LIQUID_TESTNET = 0x05; /** Liquid v1 testnet */
146146export const WALLY_NETWORK_NONE = 0x00 ; /** Used for miniscript parsing only */
147147export const WALLY_NO_CODESEPARATOR = 0xffffffff ; /* No BIP342 code separator position */
148148export const WALLY_OK = 0 ; /** Success */
149- export const WALLY_PATCH_VER = 2 ;
149+ export const WALLY_PATCH_VER = 0 ;
150150export const WALLY_PSBT_EXTRACT_NON_FINAL = 0x1 ; /* Extract without final scriptsig and witness */
151151export const WALLY_PSBT_FINALIZE_NO_CLEAR = 0x1 ; /* Finalize without clearing redeem/witness scripts etc */
152152export const WALLY_PSBT_FLAG_NON_FINAL = 0x1 ;
0 commit comments