Migrate package imports from next.orly.dev to new orly domain structure; add new varint and binary encoders with comprehensive tests; enhance existing tag and envelope implementations with additional methods, validations, and test coverage; introduce shared test.sh script for streamlined testing across modules.

This commit is contained in:
2025-08-31 16:52:24 +01:00
parent 94383f29e9
commit 91d95c6f1a
202 changed files with 12803 additions and 420 deletions

View File

@@ -9,10 +9,10 @@ import (
"math/big"
"testing"
"next.orly.dev/pkg/crypto/ec"
"next.orly.dev/pkg/crypto/ec/secp256k1"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/hex"
"crypto.orly/ec"
"crypto.orly/ec/secp256k1"
"crypto.orly/sha256"
"encoders.orly/hex"
)
// hexToBytes converts the passed hex string into bytes and will panic if there

View File

@@ -8,8 +8,8 @@ package schnorr
import (
"fmt"
"next.orly.dev/pkg/crypto/ec"
"next.orly.dev/pkg/crypto/ec/secp256k1"
"crypto.orly/ec"
"crypto.orly/ec/secp256k1"
)
// These constants define the lengths of serialized public keys.

View File

@@ -5,10 +5,10 @@ package schnorr
import (
"fmt"
"crypto.orly/ec"
"crypto.orly/ec/chainhash"
"crypto.orly/ec/secp256k1"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/crypto/ec"
"next.orly.dev/pkg/crypto/ec/chainhash"
"next.orly.dev/pkg/crypto/ec/secp256k1"
)
const (

View File

@@ -11,10 +11,10 @@ import (
"testing"
"testing/quick"
"crypto.orly/ec"
"crypto.orly/ec/secp256k1"
"encoders.orly/hex"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/crypto/ec"
"next.orly.dev/pkg/crypto/ec/secp256k1"
"next.orly.dev/pkg/encoders/hex"
"github.com/davecgh/go-spew/spew"
)