diff --git a/base58/LICENSE b/base58/LICENSE new file mode 100644 index 00000000..43fe51a7 --- /dev/null +++ b/base58/LICENSE @@ -0,0 +1,14 @@ +Copyright © 2004-2011 by Internet Systems Consortium, Inc. ("ISC") +Copyright © 1995-2003 by Internet Software Consortium + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS +ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. diff --git a/internal/base58/alphabet.go b/base58/alphabet.go similarity index 100% rename from internal/base58/alphabet.go rename to base58/alphabet.go diff --git a/internal/base58/base58.go b/base58/base58.go similarity index 100% rename from internal/base58/base58.go rename to base58/base58.go diff --git a/internal/base58/base58check.go b/base58/base58check.go similarity index 100% rename from internal/base58/base58check.go rename to base58/base58check.go diff --git a/internal/base58/doc.go b/base58/doc.go similarity index 100% rename from internal/base58/doc.go rename to base58/doc.go diff --git a/internal/base58/genalphabet.go b/base58/genalphabet.go similarity index 100% rename from internal/base58/genalphabet.go rename to base58/genalphabet.go diff --git a/bech32/LICENSE b/bech32/LICENSE new file mode 100644 index 00000000..43fe51a7 --- /dev/null +++ b/bech32/LICENSE @@ -0,0 +1,14 @@ +Copyright © 2004-2011 by Internet Systems Consortium, Inc. ("ISC") +Copyright © 1995-2003 by Internet Software Consortium + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS +ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. diff --git a/internal/bech32/bech32.go b/bech32/bech32.go similarity index 100% rename from internal/bech32/bech32.go rename to bech32/bech32.go diff --git a/internal/bech32/doc.go b/bech32/doc.go similarity index 100% rename from internal/bech32/doc.go rename to bech32/doc.go diff --git a/internal/bech32/error.go b/bech32/error.go similarity index 100% rename from internal/bech32/error.go rename to bech32/error.go diff --git a/internal/bech32/version.go b/bech32/version.go similarity index 100% rename from internal/bech32/version.go rename to bech32/version.go diff --git a/ledger/common.go b/ledger/common.go index bc84af8b..b90cad1a 100644 --- a/ledger/common.go +++ b/ledger/common.go @@ -19,9 +19,9 @@ import ( "encoding/json" "fmt" + "github.com/blinklabs-io/gouroboros/base58" + "github.com/blinklabs-io/gouroboros/bech32" "github.com/blinklabs-io/gouroboros/cbor" - "github.com/blinklabs-io/gouroboros/internal/base58" - "github.com/blinklabs-io/gouroboros/internal/bech32" "golang.org/x/crypto/blake2b" )