()
| 224 | |
| 225 | |
| 226 | def apiTest(): #Tests the API connection to bitmessage. Returns true if it is connected. |
| 227 | |
| 228 | try: |
| 229 | result = api.add(2,3) |
| 230 | except: |
| 231 | return False |
| 232 | |
| 233 | if (result == 5): |
| 234 | return True |
| 235 | else: |
| 236 | return False |
| 237 | |
| 238 | def bmSettings(): #Allows the viewing and modification of keys.dat settings. |
| 239 | global keysPath |