[mod] #320 #301 split check_public_key()
check_public_key() was used for money- and wot- related commands that have differend needs. * remove check_public_key() * create is_pubkey_and_check(), check_pubkey_format() and validate_checksum() * create related tests * modify tx, balance and history commands. * use is_pubkey_and_check() in `id` command and solve #320 * change imports in silkaj.money to prevent loop dependency
Showing
- silkaj/crypto_tools.py 40 additions, 15 deletionssilkaj/crypto_tools.py
- silkaj/money.py 11 additions, 6 deletionssilkaj/money.py
- silkaj/tx.py 5 additions, 8 deletionssilkaj/tx.py
- silkaj/tx_history.py 3 additions, 3 deletionssilkaj/tx_history.py
- silkaj/wot.py 6 additions, 2 deletionssilkaj/wot.py
- tests/test_crypto_tools.py 84 additions, 1 deletiontests/test_crypto_tools.py
Loading
Please register or sign in to comment