Documentation

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

invalidAddressProvider2()

public invalidAddressProvider2() : array<string|int, mixed>
Return values
array<string|int, mixed>

testInvalidAddress()

public testInvalidAddress(string $bech32) : mixed
Parameters
$bech32 : string
Tags
dataProvider

invalidAddressProvider

testInvalidAddressReasons()

public testInvalidAddressReasons(mixed $prefix, mixed $bech32, mixed $exceptionMsg) : mixed
Parameters
$prefix : mixed
$bech32 : mixed
$exceptionMsg : mixed
Tags
dataProvider

invalidAddressProvider2

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
dataProvider

validAddressProvider

validAddressProvider()

public validAddressProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results