bsv2 2.2.1 → 2.2.3
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 +9 -6
- package/dist/bsv2.cjs +7 -7
- package/dist/bsv2.cjs.map +1 -1
- package/dist/bsv2.mjs +975 -965
- package/dist/bsv2.mjs.map +1 -1
- package/dist/bsv2.umd.js +7 -7
- package/dist/bsv2.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -160,10 +160,9 @@ Chronicle activates at mainnet height 943,835, testnet 1,713,022 and regtest
|
|
|
160
160
|
keep using BIP143. OTDA ignores `valueBn`, and the bit may be mixed across
|
|
161
161
|
inputs.
|
|
162
162
|
- `tx.versionBytesNum > 1`, or `Interp.SCRIPT_VERIFY_CHRONICLE`, enables the
|
|
163
|
-
relaxed script policy: minimal encoding, Low-S,
|
|
164
|
-
push-only unlocking scripts are no longer
|
|
165
|
-
|
|
166
|
-
library for either version.
|
|
163
|
+
relaxed script policy: minimal encoding, Low-S, MINIMALIF, NULLFAIL,
|
|
164
|
+
NULLDUMMY, clean stack and push-only unlocking scripts are no longer
|
|
165
|
+
enforced. Version-1 transactions keep the checks enabled by the flags.
|
|
167
166
|
- Restored opcodes: `OP_VER`, `OP_VERIF`, `OP_VERNOTIF`, `OP_SUBSTR`,
|
|
168
167
|
`OP_LEFT`, `OP_RIGHT`, `OP_2MUL`, `OP_2DIV`, `OP_LSHIFTNUM`, `OP_RSHIFTNUM`.
|
|
169
168
|
`OpCode.OP_SUBSTR_CHRONICLE`, `OP_LEFT_CHRONICLE`, `OP_RIGHT_CHRONICLE`,
|
|
@@ -224,8 +223,12 @@ yarn doc # regenerate API documentation
|
|
|
224
223
|
```
|
|
225
224
|
|
|
226
225
|
The suite has over 8,500 tests, including reference vectors from bitcoind,
|
|
227
|
-
Bitcoin ABC and Bitcoin SV,
|
|
228
|
-
|
|
226
|
+
Bitcoin ABC and Bitcoin SV, dedicated pre-Genesis and Chronicle tests, and
|
|
227
|
+
deterministic property tests for script, `Bn` and transaction round-trips.
|
|
228
|
+
`yarn test` starts Vitest in watch mode.
|
|
229
|
+
|
|
230
|
+
Scripts with truncated pushdata are parsed leniently and rejected during
|
|
231
|
+
execution; the pre-Genesis reference vectors rely on that behaviour.
|
|
229
232
|
|
|
230
233
|
Commits and release tags are GPG-signed, and `commit.gpgsign` is enabled for
|
|
231
234
|
future commits. Releases are published to npm and GitHub Releases with the same
|