@blinklabs/dingo 0.13.0 → 0.14.1
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/devnet.sh +23 -0
- package/dingo.yaml.example +4 -0
- package/nohup.out +36 -0
- package/package.json +1 -1
- package/.golangci.yml +0 -71
- package/dingo +0 -0
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.yaml.example
CHANGED
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
package/.golangci.yml
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
version: "2"
|
|
2
|
-
run:
|
|
3
|
-
issues-exit-code: 1
|
|
4
|
-
tests: false
|
|
5
|
-
linters:
|
|
6
|
-
enable:
|
|
7
|
-
- asasalint
|
|
8
|
-
- asciicheck
|
|
9
|
-
- bidichk
|
|
10
|
-
- bodyclose
|
|
11
|
-
- contextcheck
|
|
12
|
-
- copyloopvar
|
|
13
|
-
- durationcheck
|
|
14
|
-
- errchkjson
|
|
15
|
-
- errorlint
|
|
16
|
-
- exhaustive
|
|
17
|
-
- fatcontext
|
|
18
|
-
- gocheckcompilerdirectives
|
|
19
|
-
- gochecksumtype
|
|
20
|
-
- gomodguard
|
|
21
|
-
- gosec
|
|
22
|
-
- gosmopolitan
|
|
23
|
-
- loggercheck
|
|
24
|
-
- makezero
|
|
25
|
-
- musttag
|
|
26
|
-
- nilerr
|
|
27
|
-
- nilnesserr
|
|
28
|
-
- perfsprint
|
|
29
|
-
- prealloc
|
|
30
|
-
- protogetter
|
|
31
|
-
- reassign
|
|
32
|
-
- recvcheck
|
|
33
|
-
- rowserrcheck
|
|
34
|
-
- spancheck
|
|
35
|
-
- sqlclosecheck
|
|
36
|
-
- testifylint
|
|
37
|
-
- unparam
|
|
38
|
-
- usestdlibvars
|
|
39
|
-
- whitespace
|
|
40
|
-
- zerologlint
|
|
41
|
-
disable:
|
|
42
|
-
- depguard
|
|
43
|
-
- noctx
|
|
44
|
-
exclusions:
|
|
45
|
-
generated: lax
|
|
46
|
-
presets:
|
|
47
|
-
- comments
|
|
48
|
-
- common-false-positives
|
|
49
|
-
- legacy
|
|
50
|
-
- std-error-handling
|
|
51
|
-
paths:
|
|
52
|
-
- docs
|
|
53
|
-
- third_party$
|
|
54
|
-
- builtin$
|
|
55
|
-
- examples$
|
|
56
|
-
issues:
|
|
57
|
-
max-issues-per-linter: 0
|
|
58
|
-
max-same-issues: 0
|
|
59
|
-
formatters:
|
|
60
|
-
enable:
|
|
61
|
-
- gci
|
|
62
|
-
- gofmt
|
|
63
|
-
- gofumpt
|
|
64
|
-
- goimports
|
|
65
|
-
exclusions:
|
|
66
|
-
generated: lax
|
|
67
|
-
paths:
|
|
68
|
-
- docs
|
|
69
|
-
- third_party$
|
|
70
|
-
- builtin$
|
|
71
|
-
- examples$
|
package/dingo
DELETED
|
Binary file
|