@smartledger/bsv 9.15.0 → 9.16.0
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/CHANGELOG.md +63 -0
- package/README.md +19 -19
- package/bsv-gdaf.min.js +2 -2
- package/bsv-ltp.min.js +3 -3
- package/bsv-smartcontract.min.js +1 -1
- package/bsv.bundle.js +2 -2
- package/bsv.min.js +2 -2
- package/docs/AUDIT_SCOPE.md +6 -6
- package/docs/BRC220_BATCH_LEAF_AMENDMENT.md +16 -4
- package/docs/BRC220_CERTIFICATE_FIELDS_AMENDMENT.md +11 -4
- package/docs/BRC220_PLAN.md +5 -2
- package/docs/MODULE_REFERENCE_COMPLETE.md +27 -27
- package/docs/advanced/UTXO_MANAGER_GUIDE.md +1 -1
- package/docs/audit-rfq/cure53.txt +1 -1
- package/docs/audit-rfq/ncc-group.txt +1 -1
- package/docs/audit-rfq/trail-of-bits.txt +1 -1
- package/docs/getting-started/INSTALLATION.md +23 -23
- package/docs/getting-started/QUICK_START.md +7 -7
- package/docs/migration/FROM_BSV_1_5_6.md +5 -5
- package/lib/script/interpreter.js +38 -15
- package/package.json +9 -5
- package/tools/gen-blind-spot-vectors.js +422 -0
- package/tools/minimal_reproduction.js +1 -1
- package/tools/opcode_map.js +11 -4
- package/tools/simple_real_tx.js +1 -1
- package/tools/sv-vector-coverage.js +174 -0
- package/tools/sv-vector-harness.js +8 -4
- package/version.js +1 -1
|
@@ -30,10 +30,14 @@ const BufferWriter = bsv.encoding.BufferWriter
|
|
|
30
30
|
|
|
31
31
|
const rawVectors = require('../test/data/bitcoin-sv/script_tests.json')
|
|
32
32
|
|
|
33
|
-
// Mapped by name rather than by value
|
|
34
|
-
// MAGNETIC
|
|
35
|
-
// SCRIPT_GENESIS and SCRIPT_UTXO_AFTER_GENESIS
|
|
36
|
-
//
|
|
33
|
+
// Mapped by name rather than by value, and the reason is no longer the one this comment used
|
|
34
|
+
// to give. It said this library puts MONOLITH and MAGNETIC on 1<<18 and 1<<19, colliding with
|
|
35
|
+
// the node's SCRIPT_GENESIS and SCRIPT_UTXO_AFTER_GENESIS. That collision was real once and was
|
|
36
|
+
// removed: they moved to 1<<11 and 1<<12, which the node leaves unassigned. Bits 18 and 19 now
|
|
37
|
+
// mean the same thing on both sides.
|
|
38
|
+
//
|
|
39
|
+
// Name mapping is still right, for a better reason: the node has no MONOLITH or MAGNETIC flag
|
|
40
|
+
// at all, so there is no value to map to. A row names a rule; only the name is portable.
|
|
37
41
|
const FLAG_MAP = {
|
|
38
42
|
NONE: 'SCRIPT_VERIFY_NONE',
|
|
39
43
|
P2SH: 'SCRIPT_VERIFY_P2SH',
|
package/version.js
CHANGED