parameters: (i, default_one=True)
return_statement: return string
docstring: Encode an integer using Base58
docstring_summary: Encode an integer using Base58
docstring_tokens: Encode an integer using Base58
function: def b58encode_int(i, default_one=True):
      '''Encode an integer using Base58'''
      if not i and default_one:
          return alphabet[0:1]
      string = b""
      while i:
          i, idx = divmod(i, 58)
          string = alphabet[idx:idx+1] + string
      return string
function_tokens: def b58encode_int ( i , default_one = True ) : if not i and default_one : return alphabet [ 0 : 1 ] string = b"" while i : i , idx = divmod ( i , 58 ) string = alphabet [ idx : idx + 1 ] + string return string