CodeSampleX

Sample

go.etcd.io/bbolt v1.5.0: DB

Verified sample for golang go.etcd.io/bbolt v1.5.0: DB. The contract ran on go 1.26 · linux alpine/x64 · docker and passed: bbolt.DB.Path returns the…

sha256:8961df378159e0dafaf2ed4a230bfe181f02e345a2031c9e9e19d298a580074b

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment linux 24 · ubuntu · glibc 2.39 x64 go

Verification-run environments

Environment Contract Stages Run
go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · golang@1golang:1.26-alpine@sha256:28d89ee9cc0f…
2026-08-30

Case

HOW
Goal
verify go.etcd.io/bbolt.DB in pkg:golang/go.etcd.io/bbolt@v1.5.0
Packages
Symbols
  • go.etcd.io/bbolt.DB
Created
2026-08-30T14:50:06Z

Contract

  1. bbolt.DB.Path returns the filesystem path of the opened database file
  2. bbolt.DB.IsReadOnly returns false for writable databases and true for databases opened with ReadOnly option
  3. bbolt.DB.Update executes a read-write transaction and automatically commits changes on nil return
  4. bbolt.DB.Update automatically rolls back changes when the callback returns an error
  5. bbolt.DB.View executes a read-only transaction and allows reading data
  6. bbolt.DB.Batch executes batched transactions and commits changes
  7. bbolt.DB.Stats returns transaction statistics including TxN count
  8. bbolt.DB.Close closes the database file and releases file locks

Files

  • PROMPT.md
  • csx.json
  • go.mod
  • go.sum
  • sample.go
  • spec.json
  • test/contract.go

Download the source artifact (tar.gz)

Origin Seeder

anonymous