Versions in this module Expand all Collapse all v0 v0.7.3 Dec 6, 2026 v0.7.2 Nov 25, 2026 v0.7.1 Nov 24, 2026 v0.7.0 Nov 22, 2026 v0.6.11 Nov 22, 2026 v0.6.10 Nov 21, 2026 v0.6.9 Nov 16, 2026 v0.6.8 Nov 11, 2026 v0.6.7 Nov 7, 2026 v0.6.6 Nov 7, 2026 v0.6.5 Nov 7, 2026 Changes in this version + const DefaultJournalSyncMs + const Evidence + const EvidenceAcknowledged + const FloorDays + const JournalFile + const MaxJournalSyncMs + const Name + const PruneEvery + const RecentAdmissions + const StatusAcknowledged + const StatusHeld + const StatusRetracted + const StatusSuperseded + const TickEvery + const WindowAfter + const WindowBefore + var AdmitKinds = []string + var Build = "unversioned" + var Classes = func() []termsroute.PricedClass { ... }() + var ErrNoSubmission = errors.New(...) + var Reasons = []string + func ParseOffices(raw string) ([]string, error) + type Classified struct + Priced bool + Q *boxrec.Question + type Config struct + Accept termsroute.AcceptConfig + Budget termsroute.BudgetConfig + HeadersURL string + JournalSync time.Duration + Listen string + MaxBEEF int + Offices []string + PayeeKey *ec.PrivateKey + Prices map[string]uint64 + Response termsroute.ResponseBudgetConfig + RetentionDays int + Sessions termsroute.SessionBound + StateDir string + func ParseConfig(getenv func(string) string) (*Config, error) + type Counts struct + Envelopes int + Lines int + PendingDeletes int + Receipts int + Rows int + Sweeps int + type Deleter interface + DeleteOutput func(ctx context.Context, outpoint *transaction.Outpoint, topic string) error + type EngineVerified struct + func (EngineVerified) CurrentHeight(context.Context) (uint32, error) + func (EngineVerified) IsValidRootForHeight(context.Context, *chainhash.Hash, uint32) (bool, 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 Front struct + Addr string + type Journal interface + Append func(l Line) error + Load func() ([]Line, error) + type Line struct + Acks []string + At *int64 + By string + C string + H *int64 + K string + Kind string + Office string + Op string + S string + To string + Txid string + 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 + Host bmodule.Host + Journal Journal + Now func() time.Time + Offices []string + Priced map[string]bool + RetentionDays int + type OutputJSON struct + Beef 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) ([]string, error) + func (s *Service) Classify(service string, query json.RawMessage) (*Classified, error) + func (s *Service) Counts() Counts + func (s *Service) Dropped(c string) bool + func (s *Service) Hydrate(ctx context.Context, txids []string) ([]bmodule.HydratedOutput, error) + func (s *Service) Lookup(_ 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) Restore(ctx context.Context, outputs []bmodule.Output, storage bmodule.RestoreStorage) (int, error) + func (s *Service) Restored() bool + func (s *Service) Status(c string) string + type TopicManager struct + Office 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)