See https://code.briarproject.org/briar/briar-spec/blob/master/protocols/BTP.md for the current version.