From 098b11dcfd7611e8abf43e066c996d1fbb5d363e Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Mon, 26 Nov 2018 14:14:07 -0800 Subject: [PATCH] reserve 0x2f (ASCII /) as the *path* multicodec That way, we can always tell if something is a path or something else. We may also be able to take advantage of this later to combine a few concepts and get rid of the "multiaddrs look like paths but are totally not" problem. However, we can think about that later. This PR just reserves the code so we don't run into problems later. * Remove the distinction between string/binary multiaddrs. Instead, the "string" will *also* be a valid binary multiaddr. * Define a new multipath spec to combine multiaddrs and other paths. Related to: https://github.com/multiformats/multiaddr/issues/70 --- table.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/table.csv b/table.csv index 24ee85c7..2212ff45 100644 --- a/table.csv +++ b/table.csv @@ -2,6 +2,7 @@ codec, description, code miscellaneous,, raw, raw binary, 0x55 +path, string path, 0x2f bases encodings,, identity, raw binary, NUL