diff --git a/libraries/chain/operations.cpp b/libraries/chain/operations.cpp index 1da28524..c274b6ed 100644 --- a/libraries/chain/operations.cpp +++ b/libraries/chain/operations.cpp @@ -63,58 +63,98 @@ bool is_valid_symbol( const string& symbol ) return true; } + + /** - * Valid names can contain [a, z], [0, 9], '.', and '-' - * They must start with [a, z] - * They must end with [a, z] or [0, 9] - * '.' must be followed by [a, z] - * '-' must be followed by [a, z] or [0, 9] + * Names must comply with the following grammar (RFC 1035): + * ::= | " " + * ::=