// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v6.32.1
// source: stores/utxo/status.proto

package utxo

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Status represents the current state of a UTXO.
type Status int32

const (
	// Status_OK indicates the UTXO is valid and spendable
	Status_OK Status = 0
	// Status_SPENT indicates the UTXO has been spent
	Status_SPENT Status = 1
	// Status_IMMATURE indicates the UTXO is a coinbase and is not yet spendable
	Status_IMMATURE Status = 2
	// Status_NOT_FOUND indicates the UTXO does not exist
	Status_NOT_FOUND Status = 3
	// Status_ALREADY_EXISTS indicates an attempt to create a duplicate UTXO
	Status_ALREADY_EXISTS Status = 4
	// Status_FROZEN indicates the UTXO has been frozen by the alert system
	Status_FROZEN Status = 5
	// Status_CONFLICTING indicates the UTXO is in conflict with another UTXO and not spendable
	Status_CONFLICTING Status = 6
	// Status_LOCKED indicates the UTXO is locked and not spendable
	Status_LOCKED Status = 7
)

// Enum value maps for Status.
var (
	Status_name = map[int32]string{
		0: "OK",
		1: "SPENT",
		2: "IMMATURE",
		3: "NOT_FOUND",
		4: "ALREADY_EXISTS",
		5: "FROZEN",
		6: "CONFLICTING",
		7: "LOCKED",
	}
	Status_value = map[string]int32{
		"OK":             0,
		"SPENT":          1,
		"IMMATURE":       2,
		"NOT_FOUND":      3,
		"ALREADY_EXISTS": 4,
		"FROZEN":         5,
		"CONFLICTING":    6,
		"LOCKED":         7,
	}
)

func (x Status) Enum() *Status {
	p := new(Status)
	*p = x
	return p
}

func (x Status) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Status) Descriptor() protoreflect.EnumDescriptor {
	return file_stores_utxo_status_proto_enumTypes[0].Descriptor()
}

func (Status) Type() protoreflect.EnumType {
	return &file_stores_utxo_status_proto_enumTypes[0]
}

func (x Status) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Status.Descriptor instead.
func (Status) EnumDescriptor() ([]byte, []int) {
	return file_stores_utxo_status_proto_rawDescGZIP(), []int{0}
}

var File_stores_utxo_status_proto protoreflect.FileDescriptor

const file_stores_utxo_status_proto_rawDesc = "" +
	"\n" +
	"\x18stores/utxo/status.proto\x12\x03txo*u\n" +
	"\x06Status\x12\x06\n" +
	"\x02OK\x10\x00\x12\t\n" +
	"\x05SPENT\x10\x01\x12\f\n" +
	"\bIMMATURE\x10\x02\x12\r\n" +
	"\tNOT_FOUND\x10\x03\x12\x12\n" +
	"\x0eALREADY_EXISTS\x10\x04\x12\n" +
	"\n" +
	"\x06FROZEN\x10\x05\x12\x0f\n" +
	"\vCONFLICTING\x10\x06\x12\n" +
	"\n" +
	"\x06LOCKED\x10\aB0Z.github.com/bsv-blockchain/teranode/stores/utxob\x06proto3"

var (
	file_stores_utxo_status_proto_rawDescOnce sync.Once
	file_stores_utxo_status_proto_rawDescData []byte
)

func file_stores_utxo_status_proto_rawDescGZIP() []byte {
	file_stores_utxo_status_proto_rawDescOnce.Do(func() {
		file_stores_utxo_status_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_stores_utxo_status_proto_rawDesc), len(file_stores_utxo_status_proto_rawDesc)))
	})
	return file_stores_utxo_status_proto_rawDescData
}

var file_stores_utxo_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_stores_utxo_status_proto_goTypes = []any{
	(Status)(0), // 0: txo.Status
}
var file_stores_utxo_status_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_stores_utxo_status_proto_init() }
func file_stores_utxo_status_proto_init() {
	if File_stores_utxo_status_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_stores_utxo_status_proto_rawDesc), len(file_stores_utxo_status_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_stores_utxo_status_proto_goTypes,
		DependencyIndexes: file_stores_utxo_status_proto_depIdxs,
		EnumInfos:         file_stores_utxo_status_proto_enumTypes,
	}.Build()
	File_stores_utxo_status_proto = out.File
	file_stores_utxo_status_proto_goTypes = nil
	file_stores_utxo_status_proto_depIdxs = nil
}
