@smartledger/bsv 7.6.1 → 7.7.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 +67 -0
- package/README.md +38 -38
- package/bsv-gdaf.min.js +24 -24
- package/bsv-ltp.min.js +24 -24
- package/bsv-smartcontract.min.js +11 -11
- package/bsv.bundle.js +24 -24
- package/bsv.d.ts +6 -0
- package/bsv.min.js +24 -24
- package/docs/MODULE_REFERENCE_COMPLETE.md +27 -27
- package/docs/advanced/UTXO_MANAGER_GUIDE.md +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/crypto/signature.js +2 -0
- package/lib/script/interpreter.js +74 -2
- package/lib/transaction/sighash.js +17 -1
- package/package.json +2 -2
- package/test/script/chronicle.js +222 -0
- package/version.js +1 -1
package/bsv.d.ts
CHANGED
|
@@ -365,6 +365,12 @@ declare module '@smartledger/bsv' {
|
|
|
365
365
|
function empty(): Script;
|
|
366
366
|
namespace Interpreter {
|
|
367
367
|
const SCRIPT_ENABLE_SIGHASH_FORKID: any;
|
|
368
|
+
/**
|
|
369
|
+
* Chronicle: restores OP_2MUL/OP_2DIV, gives OP_VER/OP_VERIF/OP_VERNOTIF
|
|
370
|
+
* meaning, and lets SIGHASH_CHRONICLE select the original digest.
|
|
371
|
+
* Off by default — enabling it changes script evaluation.
|
|
372
|
+
*/
|
|
373
|
+
const SCRIPT_ENABLE_CHRONICLE: number;
|
|
368
374
|
|
|
369
375
|
// Pre-Genesis consensus caps (defaults: 520 / 4 / 201 / 10,000).
|
|
370
376
|
// Mutable: see useGenesisLimits() for a one-call opt-in.
|