MCPcopy Index your code
hub / github.com/raiden-network/raiden / InvalidBinaryAddress

Class InvalidBinaryAddress

raiden/exceptions.py:161–167  ·  view source on GitHub ↗

Raised when the address is not binary or it is not 20 bytes long. Exception used to enforce the sandwich encoding for python APIs. The internal address representation used by Raiden is binary, the binary address must be validated at the edges before calling internal functions.

Source from the content-addressed store, hash-verified

159
160
161class InvalidBinaryAddress(RaidenValidationError):
162 """Raised when the address is not binary or it is not 20 bytes long.
163
164 Exception used to enforce the sandwich encoding for python APIs. The
165 internal address representation used by Raiden is binary, the binary
166 address must be validated at the edges before calling internal functions.
167 """
168
169
170class InvalidSecret(RaidenError):

Callers 11

get_channelMethod · 0.90
token_network_leaveMethod · 0.90
channel_openMethod · 0.90
set_reveal_timeoutMethod · 0.90
channel_batch_closeMethod · 0.90
get_channel_listMethod · 0.90
transfer_asyncMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected