@btc-vision/btc-runtime 1.10.7 → 1.10.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@btc-vision/btc-runtime",
3
- "version": "1.10.7",
3
+ "version": "1.10.8",
4
4
  "description": "Bitcoin Smart Contract Runtime",
5
5
  "main": "btc/index.ts",
6
6
  "scripts": {
package/runtime/index.ts CHANGED
@@ -55,6 +55,9 @@ export * from './secp256k1/ECPoint';
55
55
 
56
56
  /** Memory */
57
57
  export * from './memory/Nested';
58
+ export * from './memory/MapOfMap';
59
+ export * from './memory/KeyMerger';
60
+ export * from './memory/AddressMemoryMap';
58
61
 
59
62
  /** Storage */
60
63
  export * from './storage/StoredU256';
@@ -12,14 +12,12 @@ import { Revert } from '../types/Revert';
12
12
  * While this may appear to introduce collision risks, it is secure within the OP_NET
13
13
  * protocol context because:
14
14
  *
15
- * 1. All addresses in OP_NET are tweaked public keys (32-byte elliptic curve points)
15
+ * 1. All addresses in OP_NET are hashed public keys. SHA256(mldsaPublicKey)
16
16
  *
17
- * 2. Tweaked public keys are uniformly distributed across the secp256k1 curve space
18
- *
19
- * 3. Finding two public keys with identical 30-byte prefixes (240 bits) requires
17
+ * 2. Finding two public keys with identical 30-byte prefixes (240 bits) requires
20
18
  * approximately 2^120 operations due to the birthday paradox
21
19
  *
22
- * 4. The probability of accidentally generating colliding addresses through normal
20
+ * 3. The probability of accidentally generating colliding addresses through normal
23
21
  * key generation is cryptographically negligible
24
22
  *
25
23
  * The truncation from 32 to 30 bytes is a space optimization that does not