Skip to content

rest api: Allow fast track transaction broadcasting via txHandler (#5… #1

rest api: Allow fast track transaction broadcasting via txHandler (#5…

rest api: Allow fast track transaction broadcasting via txHandler (#5… #1

GitHub Actions / Lint Warnings completed Aug 8, 2023 in 0s

reviewdog [Lint Warnings] report

reported by reviewdog 🐶

Findings (8)

ledger/store/trackerdb/generickv/migrations.go|167 col 23| G601: Implicit memory aliasing in for loop. (gosec)
ledger/store/trackerdb/sqlitedriver/spVerificationAccessor.go|38 col 6| type stateProofVerificationReaderWriter is unused (unused)
ledger/store/trackerdb/sqlitedriver/spVerificationAccessor.go|51 col 6| func makeStateProofVerificationReaderWriter is unused (unused)
data/transactions/verify/txn.go|84 col 5| var errTxGroupInsuffientLsigBudget is unused (unused)
ledger/simulation/tracer.go|60 col 33| func (*cursorEvalTracer).relativeGroupIndex is unused (unused)
tools/debug/transplanter/main.go|158 col 6| type headerDecoder is unused (unused)
tools/debug/transplanter/main.go|162 col 6| type decoderV1 is unused (unused)
tools/debug/transplanter/main.go|164 col 18| func decoderV1.decodeHeader is unused (unused)

Filtered Findings (0)

Annotations

Check failure on line 167 in ledger/store/trackerdb/generickv/migrations.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] ledger/store/trackerdb/generickv/migrations.go#L167

G601: Implicit memory aliasing in for loop. (gosec)
Raw output
ledger/store/trackerdb/generickv/migrations.go:167:23: G601: Implicit memory aliasing in for loop. (gosec)
			bad.SetAccountData(&account)
			                   ^

Check failure on line 38 in ledger/store/trackerdb/sqlitedriver/spVerificationAccessor.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] ledger/store/trackerdb/sqlitedriver/spVerificationAccessor.go#L38

type `stateProofVerificationReaderWriter` is unused (unused)
Raw output
ledger/store/trackerdb/sqlitedriver/spVerificationAccessor.go:38:6: type `stateProofVerificationReaderWriter` is unused (unused)
type stateProofVerificationReaderWriter struct {
     ^

Check failure on line 51 in ledger/store/trackerdb/sqlitedriver/spVerificationAccessor.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] ledger/store/trackerdb/sqlitedriver/spVerificationAccessor.go#L51

func `makeStateProofVerificationReaderWriter` is unused (unused)
Raw output
ledger/store/trackerdb/sqlitedriver/spVerificationAccessor.go:51:6: func `makeStateProofVerificationReaderWriter` is unused (unused)
func makeStateProofVerificationReaderWriter(q db.Queryable, e db.Executable) *stateProofVerificationReaderWriter {
     ^

Check failure on line 84 in data/transactions/verify/txn.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] data/transactions/verify/txn.go#L84

var `errTxGroupInsuffientLsigBudget` is unused (unused)
Raw output
data/transactions/verify/txn.go:84:5: var `errTxGroupInsuffientLsigBudget` is unused (unused)
var errTxGroupInsuffientLsigBudget = errors.New("txgroup lsig expectations exceed available budget")
    ^

Check failure on line 60 in ledger/simulation/tracer.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] ledger/simulation/tracer.go#L60

func `(*cursorEvalTracer).relativeGroupIndex` is unused (unused)
Raw output
ledger/simulation/tracer.go:60:33: func `(*cursorEvalTracer).relativeGroupIndex` is unused (unused)
func (tracer *cursorEvalTracer) relativeGroupIndex() int {
                                ^

Check failure on line 158 in tools/debug/transplanter/main.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] tools/debug/transplanter/main.go#L158

type `headerDecoder` is unused (unused)
Raw output
tools/debug/transplanter/main.go:158:6: type `headerDecoder` is unused (unused)
type headerDecoder interface {
     ^

Check failure on line 162 in tools/debug/transplanter/main.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] tools/debug/transplanter/main.go#L162

type `decoderV1` is unused (unused)
Raw output
tools/debug/transplanter/main.go:162:6: type `decoderV1` is unused (unused)
type decoderV1 struct{}
     ^

Check failure on line 164 in tools/debug/transplanter/main.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] tools/debug/transplanter/main.go#L164

func `decoderV1.decodeHeader` is unused (unused)
Raw output
tools/debug/transplanter/main.go:164:18: func `decoderV1.decodeHeader` is unused (unused)
func (decoderV1) decodeHeader(r *snappy.Reader) (*headerRow, int, error) {
                 ^