bitcoin/test/functional/test_framework
MarcoFalke 7164e00e1b
Merge bitcoin/bitcoin#24324: test: refactor: remove unneeded bytes<->hex conversions in `byte_to_base58`
f11dad22a5 test: refactor: remove unneeded bytes<->hex conversions in `byte_to_base58` (Sebastian Falbesoner)

Pull request description:

  It seems like the only reason for using hex strings in this method was to have a convenient way to convert to an integer from the input data interpreted as big-endian. In Python3 we have `int.from_bytes(..., 'big')` for that purpose, hence there is no need for that anymore and we can simply operate on bytes only.

ACKs for top commit:
  laanwj:
    Code review ACK f11dad22a5

Tree-SHA512: 9b1563010066ca74d85139c3b9259e9a5bb49e1f141c30b6506a0445afddb2bde7fd421fdd917dc516956e66f93610e2c21d720817640daee8f57f803be76ee4
2022-02-15 09:31:58 +01:00
..
__init__.py
address.py test: refactor: remove unneeded bytes<->hex conversions in `byte_to_base58` 2022-02-14 12:48:43 +01:00
authproxy.py
bdb.py
bip340_test_vectors.csv
blocktools.py test: refactor: add constant for sequence number `SEQUENCE_FINAL` 2022-01-11 15:28:28 +01:00
coverage.py
descriptors.py
key.py
messages.py test: create txs with current `nVersion` (2) by default 2022-01-11 16:22:27 +01:00
muhash.py
netutil.py test: remove `import socket` in test_ipv6_local 2022-02-14 19:27:33 -03:00
p2p.py
ripemd160.py Add pure Python RIPEMD-160 2021-12-08 14:29:34 -05:00
script.py Swap out hashlib.ripemd160 for own implementation 2021-12-08 14:29:41 -05:00
script_util.py
segwit_addr.py
siphash.py
socks5.py
test_framework.py test: feature_rbf.py: check specified wallet type availability 2021-12-08 19:57:43 +01:00
test_node.py test: Fix feature_init intermittent issues 2022-01-31 10:10:25 +01:00
test_shell.py
util.py test: Call ceildiv helper with integer 2022-02-07 15:35:43 +01:00
wallet.py test: use MiniWallet for mempool_accept.py 2022-01-13 18:32:07 +01:00
wallet_util.py