github.com/mit-dci/lit@v0.0.0-20221102210550-8c3d3b49f2ce/btcutil/base58/alphabet.go (about)

     1  // Copyright (c) 2015 The btcsuite developers
     2  // Use of this source code is governed by an ISC
     3  // license that can be found in the LICENSE file.
     4  
     5  // AUTOGENERATED by genalphabet.go; do not edit.
     6  
     7  package base58
     8  
     9  const (
    10  	// alphabet is the modified base58 alphabet used by Bitcoin.
    11  	alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
    12  
    13  	alphabetIdx0 = '1'
    14  )
    15  
    16  var b58 = [256]byte{
    17  	255, 255, 255, 255, 255, 255, 255, 255,
    18  	255, 255, 255, 255, 255, 255, 255, 255,
    19  	255, 255, 255, 255, 255, 255, 255, 255,
    20  	255, 255, 255, 255, 255, 255, 255, 255,
    21  	255, 255, 255, 255, 255, 255, 255, 255,
    22  	255, 255, 255, 255, 255, 255, 255, 255,
    23  	255, 0, 1, 2, 3, 4, 5, 6,
    24  	7, 8, 255, 255, 255, 255, 255, 255,
    25  	255, 9, 10, 11, 12, 13, 14, 15,
    26  	16, 255, 17, 18, 19, 20, 21, 255,
    27  	22, 23, 24, 25, 26, 27, 28, 29,
    28  	30, 31, 32, 255, 255, 255, 255, 255,
    29  	255, 33, 34, 35, 36, 37, 38, 39,
    30  	40, 41, 42, 43, 255, 44, 45, 46,
    31  	47, 48, 49, 50, 51, 52, 53, 54,
    32  	55, 56, 57, 255, 255, 255, 255, 255,
    33  	255, 255, 255, 255, 255, 255, 255, 255,
    34  	255, 255, 255, 255, 255, 255, 255, 255,
    35  	255, 255, 255, 255, 255, 255, 255, 255,
    36  	255, 255, 255, 255, 255, 255, 255, 255,
    37  	255, 255, 255, 255, 255, 255, 255, 255,
    38  	255, 255, 255, 255, 255, 255, 255, 255,
    39  	255, 255, 255, 255, 255, 255, 255, 255,
    40  	255, 255, 255, 255, 255, 255, 255, 255,
    41  	255, 255, 255, 255, 255, 255, 255, 255,
    42  	255, 255, 255, 255, 255, 255, 255, 255,
    43  	255, 255, 255, 255, 255, 255, 255, 255,
    44  	255, 255, 255, 255, 255, 255, 255, 255,
    45  	255, 255, 255, 255, 255, 255, 255, 255,
    46  	255, 255, 255, 255, 255, 255, 255, 255,
    47  	255, 255, 255, 255, 255, 255, 255, 255,
    48  	255, 255, 255, 255, 255, 255, 255, 255,
    49  }