@blinklabs/dingo 0.27.7 → 0.29.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/README.md CHANGED
@@ -209,6 +209,8 @@ CARDANO_BLOCK_PRODUCER=true \
209
209
  ./dingo
210
210
  ```
211
211
 
212
+ When `storageMode=core`, the Badger blob store defaults to mmap-only settings: `block-cache-size=0`, `index-cache-size=0`, and `compression=false`. When `storageMode=api`, the default Badger profile is `block-cache-size=268435456`, `index-cache-size=0`, and `compression=true`. YAML, environment variable, and CLI Badger options override those defaults only when explicitly set.
213
+
212
214
  See `dingo.yaml.example` for the full set of configuration options.
213
215
 
214
216
  ## Fast Bootstrapping with Mithril
@@ -313,8 +315,11 @@ BadgerDB Options:
313
315
  - `data-dir` - Directory for database files
314
316
  - `block-cache-size` - Block cache size in bytes
315
317
  - `index-cache-size` - Index cache size in bytes
318
+ - `compression` - Enable Snappy compression
316
319
  - `gc` - Enable garbage collection
317
320
 
321
+ Leave the mode-sensitive Badger settings unset if you want Dingo's storage-mode defaults. `storageMode=core` uses `block-cache-size=0`, `index-cache-size=0`, and `compression=false`; `storageMode=api` uses `block-cache-size=268435456`, `index-cache-size=0`, and `compression=true`.
322
+
318
323
  Google Cloud Storage Options:
319
324
  - `bucket` - GCS bucket name
320
325
  - `project-id` - Google Cloud project ID
package/RELEASE_NOTES.md CHANGED
@@ -1,6 +1,47 @@
1
1
  # Release Notes
2
2
 
3
3
 
4
+ ## v0.27.7 (March 24, 2026)
5
+
6
+ **Title:** Steadier sync and leaner storage
7
+
8
+ **Date:** March 24, 2026
9
+
10
+ **Version:** v0.27.7
11
+
12
+ Hi folks! Here’s what we shipped in v0.27.7.
13
+
14
+ ### ✨ What's New
15
+
16
+ - **Configurable network ID:** Connecting to the right Cardano network is more rock-solid because you can now set the network identifier in configuration.
17
+ - **Optional blob-store compression:** Disk usage can be lower because you can now enable compression for blob storage in some environments.
18
+ - **Devnet transaction pump:** Testing transaction flow is easier because development networks now include an additional transaction pump service.
19
+
20
+ ### 💪 Improvements
21
+
22
+ - **More stable chain following:** Sync is more rock-solid because chain following and recovery is now more stable during tip changes and temporary peer issues.
23
+ - **Safer rollbacks and replay:** Reorg handling is more predictable because rollback and ledger replay behavior is now safer.
24
+ - **Lighter rewind pruning:** Larger cleanups are smoother because rewind and pruning operations now put less pressure on storage backends.
25
+ - **Stickier best-peer selection:** Peer churn can be lower because peer selection now better preserves stable connections when multiple peers report equivalent tips.
26
+
27
+ ### 🔧 Fixes
28
+
29
+ - **More consistent blob deletion:** Cleanup is more reliable because blob deletion now better matches transaction behavior.
30
+ - **Graceful missing-blob recovery:** Processing is more resilient because missing blob data is now handled more gracefully in some cases.
31
+
32
+ ### 📋 What You Need to Know
33
+
34
+ - **Multi-network deployments:** If you run against different Cardano networks, review your config to ensure the correct network is selected.
35
+ - **Docker builds:** If you rely on custom Docker build caching, Docker builds may behave differently.
36
+ - **Tooling refreshes:** Routine updates to build tooling and libraries may land as part of keeping the project secure and compatible.
37
+
38
+ ### 🙏 Thank You
39
+
40
+ Thank you for trying!
41
+
42
+ ---
43
+
44
+
4
45
  ## v0.27.5 (March 19, 2026)
5
46
 
6
47
  **Title:** Faster UTxO lookups and steadier sync
@@ -1,5 +1,7 @@
1
1
  # Example config file for dingo
2
- # The values shown below correspond to the in-code defaults
2
+ # The values shown below correspond to the in-code defaults unless a
3
+ # setting is left commented out to preserve a storage-mode-specific
4
+ # runtime default.
3
5
 
4
6
  # Public bind address for the Dingo server
5
7
  bindAddr: "0.0.0.0"
@@ -19,12 +21,21 @@ database:
19
21
  badger:
20
22
  # Data directory for BadgerDB storage
21
23
  data-dir: ".dingo/badger"
22
- # Block cache size in bytes (default: 1610612736 ~1.5GB)
23
- block-cache-size: 1610612736
24
- # Index cache size in bytes (default: 536870912 ~512MB)
25
- index-cache-size: 536870912
24
+ # Block cache size in bytes.
25
+ # Leave unset to use the storage-mode default:
26
+ # - 0 when storageMode: "core"
27
+ # - 268435456 (256MB) when storageMode: "api"
28
+ # block-cache-size: 0
29
+ # Index cache size in bytes.
30
+ # Leave unset to use the runtime default (0 in both core and api modes).
31
+ # index-cache-size: 0
26
32
  # Enable garbage collection (default: true)
27
33
  gc: true
34
+ # Enable Snappy compression.
35
+ # Leave unset to use the storage-mode default:
36
+ # - false when storageMode: "core"
37
+ # - true when storageMode: "api"
38
+ # compression: false
28
39
  gcs:
29
40
  # Google Cloud Storage bucket name
30
41
  bucket: ""
@@ -170,6 +181,10 @@ barkPort: 0
170
181
  # storageMode: "api"
171
182
  # utxorpcPort: 9090
172
183
  # blockfrostPort: 3100
184
+ # # With storageMode: "api", leave mode-sensitive Badger settings unset to keep:
185
+ # # block-cache-size: 268435456
186
+ # # index-cache-size: 0
187
+ # # compression: true
173
188
  #
174
189
  # Validator / block producer (core storage, no APIs):
175
190
  # storageMode: "core"
@@ -177,6 +192,11 @@ barkPort: 0
177
192
  # shelleyVrfKey: "/keys/vrf.skey"
178
193
  # shelleyKesKey: "/keys/kes.skey"
179
194
  # shelleyOperationalCertificate: "/keys/opcert.cert"
195
+ # # With storageMode: "core", Badger blob defaults switch to mmap-only:
196
+ # # block-cache-size: 0
197
+ # # index-cache-size: 0
198
+ # # compression: false
199
+ # # You can still override any of those explicitly under database.blob.badger.
180
200
  # # Optional forging tolerances (0 = defaults)
181
201
  # forgeSyncToleranceSlots: 0
182
202
  # forgeStaleGapThresholdSlots: 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blinklabs/dingo",
3
- "version": "0.27.7",
3
+ "version": "0.29.0",
4
4
  "description": "Dingo is a Cardano blockchain data node",
5
5
  "main": "index.js",
6
6
  "bin": {