Module: wallet/common

Methods

(static) isName(key) → {Boolean}

Test whether a string is eligible to be used as a name or ID.

Parameters:
Name Type Description
key String
Source:
Returns:
Type
Boolean

(static) sortTX(txs) → {Array:.<TX:>}

Sort an array of transactions in dependency order.

Parameters:
Name Type Description
txs Array:.<TX:>
Source:
Returns:
Type
Array:.<TX:>