@blinklabs/dingo 0.12.1 → 0.14.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.
File without changes
Binary file
Binary file
@@ -0,0 +1 @@
1
+ j��=�U��A�;w�VHello Badger
@@ -0,0 +1 @@
1
+ 2103840
Binary file
package/.golangci.yml CHANGED
@@ -25,7 +25,6 @@ linters:
25
25
  - musttag
26
26
  - nilerr
27
27
  - nilnesserr
28
- - noctx
29
28
  - perfsprint
30
29
  - prealloc
31
30
  - protogetter
@@ -41,6 +40,7 @@ linters:
41
40
  - zerologlint
42
41
  disable:
43
42
  - depguard
43
+ - noctx
44
44
  exclusions:
45
45
  generated: lax
46
46
  presets:
package/devnet.sh ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env bash
2
+
3
+ export CARDANO_NETWORK=devnet
4
+ export CARDANO_CONFIG=./config/cardano/devnet/config.json
5
+ export CARDANO_DATABASE_PATH=.devnet
6
+ export CARDANO_DEV_MODE=true
7
+
8
+ DEBUG=${DEBUG:-false}
9
+
10
+ conf=$(dirname $CARDANO_CONFIG)
11
+ now=$(date -u +%s)
12
+ echo setting start time in $conf to $now
13
+ sed -i -e "s/startTime\": .*,/startTime\": $now,/" $conf/byron-genesis.json
14
+ sed -i -e "s/systemStart\": .*,/systemStart\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ --date=@$now)\",/" $conf/shelley-genesis.json
15
+
16
+ echo resetting .devnet
17
+ rm -rf .devnet/*
18
+
19
+ if [[ ${DEBUG} == true ]]; then
20
+ go run ./cmd/dingo/ --debug
21
+ else
22
+ go run ./cmd/dingo/
23
+ fi
package/dingo CHANGED
Binary file
@@ -55,3 +55,12 @@ intersectTip: false
55
55
  # Maximum cache size in bytes used by BadgerDB for block/index cache
56
56
  # Default: 1073741824 (1 GB)
57
57
  badgerCacheSize: 1073741824
58
+
59
+ # Maximum total size (in bytes) of all transactions allowed in the mempool.
60
+ # Transactions exceeding this limit will be rejected.
61
+ # Default: 1048576 (1 MB)
62
+ mempoolCapacity: 1048576
63
+
64
+ # Enable development mode which prevents outbound connections
65
+ # Default: false
66
+ devMode: false
package/nohup.out ADDED
@@ -0,0 +1,36 @@
1
+ {"time":"2025-08-01T15:26:55.91309537-04:00","level":"INFO","msg":"maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined","component":"dingo"}
2
+ {"time":"2025-08-01T15:26:55.913160463-04:00","level":"INFO","msg":"version: devel (commit 3beea37)","component":"dingo"}
3
+ {"time":"2025-08-01T15:26:55.914978795-04:00","level":"INFO","msg":"serving prometheus metrics on 0.0.0.0:12798","component":"node"}
4
+ {"time":"2025-08-01T15:27:08.764956728-04:00","level":"INFO","msg":"signal received, shutting down"}
5
+ panic: runtime error: invalid memory address or nil pointer dereference
6
+ [signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x12e0d49]
7
+
8
+ goroutine 42 [running]:
9
+ github.com/blinklabs-io/dingo/ledger.(*LedgerState).Close(...)
10
+ /home/cgianelloni/Repos/blink/dingo/ledger/state.go:214
11
+ github.com/blinklabs-io/dingo.(*Node).shutdown(0xc000272dc0)
12
+ /home/cgianelloni/Repos/blink/dingo/node.go:214 +0x29
13
+ github.com/blinklabs-io/dingo.(*Node).Stop(...)
14
+ /home/cgianelloni/Repos/blink/dingo/node.go:207
15
+ github.com/blinklabs-io/dingo/internal/node.Run.func2()
16
+ /home/cgianelloni/Repos/blink/dingo/internal/node/node.go:165 +0x74
17
+ created by github.com/blinklabs-io/dingo/internal/node.Run in goroutine 1
18
+ /home/cgianelloni/Repos/blink/dingo/internal/node/node.go:162 +0xdcb
19
+ {"time":"2025-08-01T15:27:26.478877799-04:00","level":"INFO","msg":"maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined","component":"dingo"}
20
+ {"time":"2025-08-01T15:27:26.478931361-04:00","level":"INFO","msg":"version: devel (commit 3beea37)","component":"dingo"}
21
+ {"time":"2025-08-01T15:27:26.480494569-04:00","level":"INFO","msg":"serving prometheus metrics on 0.0.0.0:12798","component":"node"}
22
+ {"time":"2025-08-01T15:28:14.237407995-04:00","level":"INFO","msg":"signal received, shutting down"}
23
+ panic: runtime error: invalid memory address or nil pointer dereference
24
+ [signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x12e0d49]
25
+
26
+ goroutine 37 [running]:
27
+ github.com/blinklabs-io/dingo/ledger.(*LedgerState).Close(...)
28
+ /home/cgianelloni/Repos/blink/dingo/ledger/state.go:214
29
+ github.com/blinklabs-io/dingo.(*Node).shutdown(0xc00041c640)
30
+ /home/cgianelloni/Repos/blink/dingo/node.go:214 +0x29
31
+ github.com/blinklabs-io/dingo.(*Node).Stop(...)
32
+ /home/cgianelloni/Repos/blink/dingo/node.go:207
33
+ github.com/blinklabs-io/dingo/internal/node.Run.func2()
34
+ /home/cgianelloni/Repos/blink/dingo/internal/node/node.go:165 +0x74
35
+ created by github.com/blinklabs-io/dingo/internal/node.Run in goroutine 1
36
+ /home/cgianelloni/Repos/blink/dingo/internal/node/node.go:162 +0xdcb
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blinklabs/dingo",
3
- "version": "0.12.1",
3
+ "version": "0.14.0",
4
4
  "description": "Dingo is a Cardano blockchain data node",
5
5
  "main": "index.js",
6
6
  "bin": {