MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / validAddress

Function validAddress

src/bitmessagecli.py:377–384  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

375 main()
376
377def validAddress(address):
378 address_information = api.decodeAddress(address)
379 address_information = eval(address_information)
380
381 if 'success' in str(address_information.get('status')).lower():
382 return True
383 else:
384 return False
385
386def getAddress(passphrase,vNumber,sNumber):
387 passphrase = passphrase.encode('base64')#passphrase must be encoded

Callers 7

subscribeFunction · 0.85
unsubscribeFunction · 0.85
joinChanFunction · 0.85
leaveChanFunction · 0.85
sendMsgFunction · 0.85
sendBrdFunction · 0.85
replyMsgFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected