Versions in this module Expand all Collapse all v0 v0.9.1 Dec 6, 2026 v0.9.0 Nov 27, 2026 v0.8.2 Nov 25, 2026 v0.8.1 Nov 24, 2026 v0.8.0 Nov 22, 2026 v0.7.9 Nov 22, 2026 v0.7.8 Nov 21, 2026 v0.7.7 Nov 16, 2026 v0.7.6 Nov 11, 2026 v0.7.5 Nov 7, 2026 v0.7.4 Nov 7, 2026 v0.7.3 Nov 7, 2026 Changes in this version + const DefaultJournalSyncMs + const EvidenceGrants + const EvidenceWraps + const FloorDays + const JournalFile + const MaxJournalSyncMs + const MaxPerSeq + const MinSpendTable + const Name + const PageSize + const PruneEvery + const RecentAdmissions + const TickEvery + var AdmitKinds = []string + var Build = "unversioned" + var Classes = func() []termsroute.PricedClass { ... }() + var ErrNoSubmission = errors.New(...) + var KindsReplayed = []string + var Reasons = []string + var TokenStatuses = []string + func ParseHalls(raw string) ([]string, error) + type Classified struct + Priced bool + Q *borgrec.Question + type Config struct + Accept termsroute.AcceptConfig + Budget termsroute.BudgetConfig + Halls []string + HeadersURL string + JournalSync time.Duration + Listen string + MaxBEEF int + MaxSweepInputs int + PayeeKey *ec.PrivateKey + Prices map[string]uint64 + Response termsroute.ResponseBudgetConfig + RetentionDays int + Sessions termsroute.SessionBound + SpendTable int + StateDir string + func ParseConfig(getenv func(string) string) (*Config, error) + type Counts struct + Forgotten int + Grants int + Lines int + PendingDeletes int + PendingTokens int + Policies int + Rows int + Sweeps int + Table int + Tokens int + Wraps int + type Deleter interface + DeleteOutput func(ctx context.Context, outpoint *transaction.Outpoint, topic string) error + type FileJournal struct + OnSync func(lines int, took time.Duration, err error) + Path string + SyncEvery time.Duration + func NewFileJournal(dir string) (*FileJournal, error) + func (j *FileJournal) Append(l Line) error + func (j *FileJournal) Close() error + func (j *FileJournal) Load() ([]Line, error) + func (j *FileJournal) Sync() error + type Formula struct + Context []byte + Txid string + Vout uint32 + type Front struct + Addr string + type Journal interface + Append func(l Line) error + Load func() ([]Line, error) + type Line struct + At *int64 + C string + H *int64 + Hall string + K string + Kind string + Op string + S string + Txid string + Vout *int64 + W *bool + type MemoryJournal struct + Lines []Line + func (m *MemoryJournal) Append(l Line) error + func (m *MemoryJournal) Load() ([]Line, error) + type Mounted struct + Front *Front + LS *Service + Module bmodule.Module + func Mount(host bmodule.Host, c *Config, overlayTopics []string, journal Journal, ...) (*Mounted, error) + func New(host bmodule.Host, getenv func(string) string) (*Mounted, error) + func (m *Mounted) Close() error + func (m *Mounted) Start(ctx context.Context) error + type Options struct + Halls []string + Headers chaintracker.ChainTracker + Host bmodule.Host + Journal Journal + MaxBEEF int + MaxSweepInputs int + Now func() time.Time + Priced map[string]bool + RetentionDays int + SpendTable int + Trees replay.TreeSource + type OutputJSON struct + Beef byteArray + Context byteArray + OutputIndex uint32 + type OutputList struct + Outputs []OutputJSON + Type string + type Refused struct + Detail string + Reason string + func (r *Refused) Error() string + type RouteAnswerer struct + LS *Service + func (r RouteAnswerer) Answer(ctx context.Context, q termsroute.Question) (any, error) + func (r RouteAnswerer) Classify(_ context.Context, q termsroute.Question) (string, error) + func (r RouteAnswerer) Restored() bool + type Service struct + func NewService(o Options) (*Service, error) + func (*Service) AdmissionMode() bmodule.AdmissionMode + func (*Service) GetDocumentation() string + func (*Service) GetMetaData() *overlay.MetaData + func (*Service) SpendNotificationMode() bmodule.SpendNotificationMode + func (s *Service) Answer(c *Classified, paid bool) ([]Formula, error) + func (s *Service) Classify(service string, query []byte) (*Classified, error) + func (s *Service) Counts() Counts + func (s *Service) Dropped(c string) bool + func (s *Service) Hydrate(ctx context.Context, formulas []Formula) ([]bmodule.HydratedOutput, error) + func (s *Service) Lookup(ctx context.Context, q *lookup.LookupQuestion) (*lookup.LookupAnswer, error) + func (s *Service) OutputAdmittedByTopic(ctx context.Context, p *bmodule.OutputAdmittedByTopic) error + func (s *Service) OutputEvicted(_ context.Context, op *transaction.Outpoint) error + func (s *Service) OutputNoLongerRetainedInHistory(_ context.Context, op *transaction.Outpoint, topic string) error + func (s *Service) Prune(ctx context.Context) int + func (s *Service) Replay(ctx context.Context, r *bmodule.ReplayRequest) (*bmodule.ReplayAnswer, error) + func (s *Service) Restore(ctx context.Context, outputs []bmodule.Output, storage bmodule.RestoreStorage) (int, error) + func (s *Service) Restored() bool + func (s *Service) Status(c string) (string, bool) + func (s *Service) TokenStatus(txid string) (string, bool) + type TopicManager struct + Hall string + Topic string + func NewTopicManager(topic string, host bmodule.Host, headers chaintracker.ChainTracker, ...) (*TopicManager, error) + func (t *TopicManager) Admit(ctx context.Context, raw []byte, held []int) (overlay.AdmittanceInstructions, error) + func (t *TopicManager) GetDocumentation() string + func (t *TopicManager) GetMetaData() *overlay.MetaData + func (t *TopicManager) IdentifyAdmissibleOutputs(ctx context.Context, _ *transaction.Beef, _ *chainhash.Hash, ...) (overlay.AdmittanceInstructions, error)