SegwitAddressTest
extends TestCase
in package
Table of Contents
Methods
- invalidAddressProvider() : mixed
- invalidAddressProvider2() : array<string|int, mixed>
- testInvalidAddress() : mixed
- testInvalidAddressReasons() : mixed
- testValidAddress() : mixed
- https://github.com/sipa/bech32/blob/master/ref/python/tests.py#L106
- validAddressProvider() : array<string|int, mixed>
Methods
invalidAddressProvider()
public
invalidAddressProvider() : mixed
invalidAddressProvider2()
public
invalidAddressProvider2() : array<string|int, mixed>
Return values
array<string|int, mixed>testInvalidAddress()
public
testInvalidAddress(string $bech32) : mixed
Parameters
- $bech32 : string
Tags
testInvalidAddressReasons()
public
testInvalidAddressReasons(mixed $prefix, mixed $bech32, mixed $exceptionMsg) : mixed
Parameters
- $prefix : mixed
- $bech32 : mixed
- $exceptionMsg : mixed
Tags
testValidAddress()
https://github.com/sipa/bech32/blob/master/ref/python/tests.py#L106
public
testValidAddress(string $hrp, string $bech32, string $hexScript) : mixed
Parameters
- $hrp : string
- $bech32 : string
- $hexScript : string
Tags
validAddressProvider()
public
validAddressProvider() : array<string|int, mixed>