From faa3509646cd4c5e109e6d32ce253fa60db93c3f Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 19 Sep 2018 18:56:23 -0400 Subject: [PATCH] adr-021: note about tag spacers (#2362) --- docs/architecture/adr-021-abci-events.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/architecture/adr-021-abci-events.md b/docs/architecture/adr-021-abci-events.md index 7d60d45a0..45a73df1d 100644 --- a/docs/architecture/adr-021-abci-events.md +++ b/docs/architecture/adr-021-abci-events.md @@ -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