| 6051 | } |
| 6052 | |
| 6053 | bool isBase58(char c) { |
| 6054 | // Define the base58 set |
| 6055 | const char base58Set[] = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; |
| 6056 | // Check if the character is in the base58 set |
| 6057 | return strchr(base58Set, c) != NULL; |
| 6058 | } |
| 6059 | |
| 6060 | bool isValidBase58String(char *str) { |
| 6061 | int len = strlen(str); |
no outgoing calls
no test coverage detected