|
| 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 | +// NOTE: this file was copied from: |
| 6 | +// https://github.com/btcsuite/btcd/tree/v0.23.4/btcutil/base58 |
| 7 | + |
| 8 | +// AUTOGENERATED by genalphabet.go; do not edit. |
| 9 | + |
| 10 | +package base58 |
| 11 | + |
| 12 | +const ( |
| 13 | + // alphabet is the modified base58 alphabet used by Bitcoin. |
| 14 | + alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" |
| 15 | + |
| 16 | + alphabetIdx0 = '1' |
| 17 | +) |
| 18 | + |
| 19 | +var b58 = [256]byte{ |
| 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, 255, 255, 255, 255, 255, 255, 255, |
| 24 | + 255, 255, 255, 255, 255, 255, 255, 255, |
| 25 | + 255, 255, 255, 255, 255, 255, 255, 255, |
| 26 | + 255, 0, 1, 2, 3, 4, 5, 6, |
| 27 | + 7, 8, 255, 255, 255, 255, 255, 255, |
| 28 | + 255, 9, 10, 11, 12, 13, 14, 15, |
| 29 | + 16, 255, 17, 18, 19, 20, 21, 255, |
| 30 | + 22, 23, 24, 25, 26, 27, 28, 29, |
| 31 | + 30, 31, 32, 255, 255, 255, 255, 255, |
| 32 | + 255, 33, 34, 35, 36, 37, 38, 39, |
| 33 | + 40, 41, 42, 43, 255, 44, 45, 46, |
| 34 | + 47, 48, 49, 50, 51, 52, 53, 54, |
| 35 | + 55, 56, 57, 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 | + 255, 255, 255, 255, 255, 255, 255, 255, |
| 50 | + 255, 255, 255, 255, 255, 255, 255, 255, |
| 51 | + 255, 255, 255, 255, 255, 255, 255, 255, |
| 52 | +} |
0 commit comments