adr-021: note about tag spacers (#2362)

This commit is contained in:
Ethan Buchman
2018-09-19 18:56:23 -04:00
committed by GitHub
parent a045c562a2
commit faa3509646

View File

@@ -18,6 +18,11 @@ Since there is only one list of tags, recording data for multiple such events in
a single Check/DeliverTx/Begin/EndBlock must be done using prefixes in the key
space.
Alternatively, groups of tags that constitute an event can be separated by a
special tag that denotes a break between the events. This would allow
straightforward encoding of multiple events into a single list of tags without
prefixing, at the cost of these "special" tags to separate the different events.
TODO: brief description of how the indexing works
## Decision