Mercurial > public > bitcaviar-plus
diff src/puppy/helpers.py @ 10:6e9f420c117e
refactor code
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 26 Oct 2021 08:56:59 +0200 |
parents | e218f70e19e9 |
children |
line wrap: on
line diff
--- a/src/puppy/helpers.py Sun Oct 24 21:00:49 2021 +0200 +++ b/src/puppy/helpers.py Tue Oct 26 08:56:59 2021 +0200 @@ -5,7 +5,7 @@ """ -def get_var_int(f): +def __get_var_int(f): """ A VarInt (variable integer) is a field used in transaction data to indicate the number of upcoming fields, or the length of an upcoming field. @@ -28,7 +28,7 @@ return number_of_transactions -def compute_hash(data): +def __compute_hash(data): """ Get hash :param data: bytes, required