Versions in this module Expand all Collapse all v0 v0.18.0 Nov 24, 2026 v0.17.0 Nov 21, 2026 Changes in this version + const BitcoinFinality + const BitcoinMaxTotalTxs + const BitcoinMedianSpan + const ClaimsMaxOctets + const MaxDepth + const MaxDocumentOctets + const MaxInteger + const MaxPathSteps + const MaxReadOctets + const RawTxMaxOctets + const StellarIndexMargin + const TxoutproofMaxOctets + const VectorKey + func Accepted() []string + func Constants() map[string]any + func Encodings() map[string]Encoding + func Environments() []string + func ExitCode(ending Ending) (int, bool) + func File(name string) ([]byte, error) + func IsAccepted(digest string) bool + func IsReason(name string) bool + func Names() []string + func Networks() map[string][]string + func PrefixByte(text string) (byte, error) + func Source() string + type ChainNetworks struct + Bitcoin string + Stellar string + type Encoding struct + CapsInOctets map[string]int + DecodesToOctets int + Pattern string + Range *IntRange + RoundTrip bool + Schema string + Values []string + ValuesByChain map[string][]string + type Ending string + const EndingBareRejection + const EndingConfigurationError + const EndingFailed + const EndingFault + const EndingInternallyConsistent + const EndingRuntimeError + const EndingSuppliedKeyring + const EndingUnattributed + const EndingVerified + type ExitEntry struct + Code int + Run string + func ExitCodes() []ExitEntry + type IntRange struct + Maximum int64 + Minimum int64 + type NetworkPins struct + Commitment ChainNetworks + Entropy ChainNetworks + func DefaultNetworkPins(environment string) (NetworkPins, bool) + type Reason string + const ReasonBitcoinEvidenceInvalid + const ReasonChainMismatch + const ReasonChainNotFinal + const ReasonConfigurationError + const ReasonConstructionMismatch + const ReasonDerivationMismatch + const ReasonEntropyMismatch + const ReasonEnvironmentMismatch + const ReasonExpectedHashMismatch + const ReasonExpectedHashNotChecked + const ReasonExpectedHashWeakAlgorithm + const ReasonInputTooLarge + const ReasonInternalError + const ReasonInvalidEnvelope + const ReasonKeyBindingFailed + const ReasonKeyBindingNotPerformed + const ReasonKeyEventMismatch + const ReasonKeyringUnavailable + const ReasonMalformedJSON + const ReasonNetworkMismatch + const ReasonNotAttributable + const ReasonNotHeldBySource + const ReasonNotYetIndexed + const ReasonOffline + const ReasonOrderingViolation + const ReasonPriorFailure + const ReasonRecordedTimeOutsideWindow + const ReasonShapeInvalid + const ReasonSignatureInvalid + const ReasonSourceUnreachable + const ReasonSourcesDisagree + const ReasonSourcesIncomplete + const ReasonUnsupportedFormat + const ReasonUnsupportedVersion + const ReasonWindowInverted + const ReasonWindowNotEstablished + type ReasonEntry struct + Code Reason + Meaning string + Status Status + Step string + SubReasons []SubReason + func LookupReason(code Reason) (ReasonEntry, bool) + func ReasonCodes() []ReasonEntry + type SmallOrderKey struct + Key [32]byte + Order int + SignBitVariant bool + func SmallOrderKeys() []SmallOrderKey + type Status string + const StatusBare + const StatusFail + const StatusInfo + const StatusSkip + const StatusWarn + type SubReason string + const SubReasonAlg + const SubReasonDepth + const SubReasonDocument + const SubReasonDuplicateName + const SubReasonInvalidUTF8 + const SubReasonLoneSurrogate + const SubReasonNumber + const SubReasonProof + const SubReasonPublicKey + const SubReasonSignature + const SubReasonSyntax + const SubReasonValue + func SubReasons(code Reason) []SubReason