bsv2 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -263,6 +263,20 @@ For BRC-100 integrations use the BSV Association reference implementations in
263
263
 
264
264
  See [BRC-100](https://bsv.brc.dev/wallet/0100.md) for the normative interface.
265
265
 
266
+ ## Known differences from the C++ reference
267
+
268
+ - Activation is expressed with `SCRIPT_VERIFY_CHRONICLE` or a transaction
269
+ version above 1; the library has no block height, so policy is not tied to a
270
+ chain height.
271
+ - Pre-Genesis rules are selected explicitly with `SCRIPT_VERIFY_PREGENESIS_LIMITS`;
272
+ outside Chronicle some legacy policy differences (for example multiple
273
+ `OP_ELSE`) are permitted because older reference vectors rely on them.
274
+ - `Sig.toTxFormat()` serializes the hash type as one byte, as required inside
275
+ scripts; C++ `SigHashType` also supports a 32-bit form with a fork value.
276
+ - `Bip39` buffer serialization stores the mnemonic and seed but not the
277
+ wordlist; re-create non-English mnemonics with `Bip39Jp`/`Bip39Es` after a
278
+ binary round-trip.
279
+
266
280
  ## Security
267
281
 
268
282
  Please report security issues privately through the repository's security