Skip to content

Change txindex internal field separator to NUL #2907

@feldgendler

Description

@feldgendler

Currently, tags are entered in the transaction index using the following format:

fmt.Sprintf("%s/%s/%d/%d", tag.Key, tag.Value, result.Height, result.Index)

This unfortunately removes / from the set of allowed characters for keys and values. Please consider using \0 instead, which is what some other databases do for compound indexes.

Metadata

Metadata

Assignees

Labels

C:indexerComponent: IndexerC:rpcComponent: JSON RPC, gRPC

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions