migrating to realy.mleku.dev

can't extend realy.lol beyond september 2026, wtf
This commit is contained in:
2025-04-10 12:32:52 -01:06
parent 9a56f78808
commit ff4df430d9
344 changed files with 1081 additions and 967 deletions

View File

@@ -4,7 +4,7 @@ import (
"strconv"
"strings"
"realy.lol/hex"
"realy.mleku.dev/hex"
)
// DecodeAddressTag unpacks the contents of an `a` tag.

View File

@@ -1,7 +1,7 @@
package apputil
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -23,7 +23,7 @@ package atomic_test
import (
"fmt"
"realy.lol/atomic"
"realy.mleku.dev/atomic"
)
func Example() {

View File

@@ -7,11 +7,11 @@ import (
"strings"
"time"
"realy.lol/event"
"realy.lol/kind"
"realy.lol/tag"
"realy.lol/tags"
"realy.lol/timestamp"
"realy.mleku.dev/event"
"realy.mleku.dev/kind"
"realy.mleku.dev/tag"
"realy.mleku.dev/tags"
"realy.mleku.dev/timestamp"
)
// GenerateChallenge creates a reasonable, 96 byte base64 challenge string

View File

@@ -3,7 +3,7 @@ package auth
import (
"testing"
"realy.lol/p256k"
"realy.mleku.dev/p256k"
)
func TestCreateUnsigned(t *testing.T) {

View File

@@ -1,7 +1,7 @@
package auth
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -3,11 +3,11 @@ package bech32encoding
import (
"bytes"
btcec "realy.lol/ec"
"realy.lol/ec/bech32"
"realy.lol/ec/schnorr"
"realy.lol/ec/secp256k1"
"realy.lol/hex"
btcec "realy.mleku.dev/ec"
"realy.mleku.dev/ec/bech32"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/hex"
)
const (
@@ -28,10 +28,16 @@ var (
)
// ConvertForBech32 performs the bit expansion required for encoding into Bech32.
func ConvertForBech32(b8 []byte) (b5 []byte, err error) { return bech32.ConvertBits(b8, 8, 5, true) }
func ConvertForBech32(b8 []byte) (b5 []byte, err error) {
return bech32.ConvertBits(b8, 8, 5,
true)
}
// ConvertFromBech32 collapses together the bit expanded 5 bit numbers encoded in bech32.
func ConvertFromBech32(b5 []byte) (b8 []byte, err error) { return bech32.ConvertBits(b5, 5, 8, true) }
func ConvertFromBech32(b5 []byte) (b8 []byte, err error) {
return bech32.ConvertBits(b5, 5, 8,
true)
}
// SecretKeyToNsec encodes an secp256k1 secret key as a Bech32 string (nsec).
func SecretKeyToNsec(sk *secp256k1.SecretKey) (encoded []byte, err error) {

View File

@@ -6,8 +6,8 @@ import (
"encoding/hex"
"testing"
"realy.lol/ec/schnorr"
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/ec/secp256k1"
)
func TestConvertBits(t *testing.T) {

View File

@@ -4,14 +4,14 @@ import (
"bytes"
"encoding/binary"
"realy.lol/bech32encoding/pointers"
"realy.lol/bech32encoding/tlv"
"realy.lol/ec/bech32"
"realy.lol/ec/schnorr"
"realy.lol/eventid"
"realy.lol/hex"
"realy.lol/kind"
"realy.lol/sha256"
"realy.mleku.dev/bech32encoding/pointers"
"realy.mleku.dev/bech32encoding/tlv"
"realy.mleku.dev/ec/bech32"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/eventid"
"realy.mleku.dev/hex"
"realy.mleku.dev/kind"
"realy.mleku.dev/sha256"
)
var (

View File

@@ -5,10 +5,10 @@ import (
"reflect"
"testing"
"realy.lol/bech32encoding/pointers"
"realy.lol/eventid"
"realy.lol/hex"
"realy.lol/kind"
"realy.mleku.dev/bech32encoding/pointers"
"realy.mleku.dev/eventid"
"realy.mleku.dev/hex"
"realy.mleku.dev/kind"
)
func TestEncodeNpub(t *testing.T) {

View File

@@ -3,8 +3,8 @@
package pointers
import (
"realy.lol/eventid"
"realy.lol/kind"
"realy.mleku.dev/eventid"
"realy.mleku.dev/kind"
)
// Profile pointer is a combination of pubkey and relay list.

View File

@@ -1,7 +1,7 @@
package pointers
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package bech32encoding
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package bin
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -3,8 +3,8 @@ package buf
import (
"bytes"
"realy.lol/context"
"realy.lol/lol"
"realy.mleku.dev/context"
"realy.mleku.dev/lol"
)
type (

View File

@@ -3,8 +3,8 @@ package hsts
import (
"bytes"
"realy.lol/context"
"realy.lol/lol"
"realy.mleku.dev/context"
"realy.mleku.dev/lol"
)
type (

View File

@@ -26,12 +26,12 @@ import (
"golang.org/x/crypto/acme/autocert"
"golang.org/x/sync/errgroup"
"realy.lol/cmd/lerproxy/buf"
"realy.lol/cmd/lerproxy/hsts"
"realy.lol/cmd/lerproxy/reverse"
"realy.lol/cmd/lerproxy/tcpkeepalive"
"realy.lol/cmd/lerproxy/util"
"realy.lol/context"
"realy.mleku.dev/cmd/lerproxy/buf"
"realy.mleku.dev/cmd/lerproxy/hsts"
"realy.mleku.dev/cmd/lerproxy/reverse"
"realy.mleku.dev/cmd/lerproxy/tcpkeepalive"
"realy.mleku.dev/cmd/lerproxy/util"
"realy.mleku.dev/context"
)
type runArgs struct {

View File

@@ -7,7 +7,7 @@ import (
"net/http/httputil"
"net/url"
"realy.lol/cmd/lerproxy/util"
"realy.mleku.dev/cmd/lerproxy/util"
)
// NewSingleHostReverseProxy is a copy of httputil.NewSingleHostReverseProxy

View File

@@ -3,8 +3,8 @@ package reverse
import (
"bytes"
"realy.lol/context"
"realy.lol/lol"
"realy.mleku.dev/context"
"realy.mleku.dev/lol"
)
type (

View File

@@ -6,7 +6,7 @@ import (
"net"
"time"
"realy.lol/cmd/lerproxy/timeout"
"realy.mleku.dev/cmd/lerproxy/timeout"
)
// Period can be changed prior to opening a Listener to alter its'

View File

@@ -3,8 +3,8 @@ package tcpkeepalive
import (
"bytes"
"realy.lol/context"
"realy.lol/lol"
"realy.mleku.dev/context"
"realy.mleku.dev/lol"
)
type (

View File

@@ -3,8 +3,8 @@ package timeout
import (
"bytes"
"realy.lol/context"
"realy.lol/lol"
"realy.mleku.dev/context"
"realy.mleku.dev/lol"
)
type (

View File

@@ -3,8 +3,8 @@ package main
import (
"bytes"
"realy.lol/context"
"realy.lol/lol"
"realy.mleku.dev/context"
"realy.mleku.dev/lol"
)
type (

View File

@@ -3,8 +3,8 @@ package util
import (
"bytes"
"realy.lol/context"
"realy.lol/lol"
"realy.mleku.dev/context"
"realy.mleku.dev/lol"
)
type (

View File

@@ -6,10 +6,10 @@ import (
"os"
"time"
"realy.lol/bech32encoding"
"realy.lol/httpauth"
"realy.lol/p256k"
"realy.lol/signer"
"realy.mleku.dev/bech32encoding"
"realy.mleku.dev/httpauth"
"realy.mleku.dev/p256k"
"realy.mleku.dev/signer"
)
const secEnv = "NOSTR_SECRET_KEY"

View File

@@ -3,7 +3,7 @@ package main
import (
"bytes"
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -10,13 +10,13 @@ import (
"net/url"
"os"
realy_lol "realy.lol"
"realy.lol/bech32encoding"
"realy.lol/hex"
"realy.lol/httpauth"
"realy.lol/p256k"
"realy.lol/sha256"
"realy.lol/signer"
realy_lol "realy.mleku.dev"
"realy.mleku.dev/bech32encoding"
"realy.mleku.dev/hex"
"realy.mleku.dev/httpauth"
"realy.mleku.dev/p256k"
"realy.mleku.dev/sha256"
"realy.mleku.dev/signer"
)
const secEnv = "NOSTR_SECRET_KEY"

View File

@@ -3,7 +3,7 @@ package main
import (
"bytes"
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -9,19 +9,19 @@ import (
"strings"
"sync"
"realy.lol/bech32encoding"
"realy.lol/context"
"realy.lol/ec/schnorr"
"realy.lol/event"
"realy.lol/filter"
"realy.lol/filters"
"realy.lol/hex"
"realy.lol/kind"
"realy.lol/kinds"
"realy.lol/realy/config"
"realy.lol/store"
"realy.lol/tag"
"realy.lol/tag/atag"
"realy.mleku.dev/bech32encoding"
"realy.mleku.dev/context"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/event"
"realy.mleku.dev/filter"
"realy.mleku.dev/filters"
"realy.mleku.dev/hex"
"realy.mleku.dev/kind"
"realy.mleku.dev/kinds"
"realy.mleku.dev/realy/config"
"realy.mleku.dev/store"
"realy.mleku.dev/tag"
"realy.mleku.dev/tag/atag"
)
type List map[string]struct{}

View File

@@ -5,7 +5,7 @@ import (
"runtime"
"time"
"realy.lol/context"
"realy.mleku.dev/context"
)
func MonitorResources(c context.T) {
@@ -19,7 +19,8 @@ func MonitorResources(c context.T) {
return
case <-tick.C:
// runtime.ReadMemStats(memStats)
log.D.Ln("# goroutines", runtime.NumGoroutine(), "# cgo calls", runtime.NumCgoCall())
log.D.Ln("# goroutines", runtime.NumGoroutine(), "# cgo calls",
runtime.NumCgoCall())
// log.D.S(memStats)
}
}

View File

@@ -1,7 +1,7 @@
package app
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -15,20 +15,20 @@ import (
"github.com/pkg/profile"
realy_lol "realy.lol"
"realy.lol/bech32encoding"
"realy.lol/cmd/realy/app"
"realy.lol/context"
"realy.lol/hex"
"realy.lol/interrupt"
"realy.lol/lol"
"realy.lol/p256k"
"realy.lol/ratel"
"realy.lol/realy"
"realy.lol/realy/config"
"realy.lol/realy/options"
"realy.lol/signer"
"realy.lol/units"
realy_lol "realy.mleku.dev"
"realy.mleku.dev/bech32encoding"
"realy.mleku.dev/cmd/realy/app"
"realy.mleku.dev/context"
"realy.mleku.dev/hex"
"realy.mleku.dev/interrupt"
"realy.mleku.dev/lol"
"realy.mleku.dev/p256k"
"realy.mleku.dev/ratel"
"realy.mleku.dev/realy"
"realy.mleku.dev/realy/config"
"realy.mleku.dev/realy/options"
"realy.mleku.dev/signer"
"realy.mleku.dev/units"
)
func main() {

View File

@@ -1,7 +1,7 @@
package main
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -14,13 +14,13 @@ import (
"github.com/alexflint/go-arg"
"realy.lol/atomic"
"realy.lol/bech32encoding"
"realy.lol/ec/bech32"
"realy.lol/ec/schnorr"
"realy.lol/ec/secp256k1"
"realy.lol/interrupt"
"realy.lol/qu"
"realy.mleku.dev/atomic"
"realy.mleku.dev/bech32encoding"
"realy.mleku.dev/ec/bech32"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/interrupt"
"realy.mleku.dev/qu"
)
var prefix = append(bech32encoding.PubHRP, '1')

View File

@@ -1,7 +1,7 @@
package main
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package codec
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package config
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -9,9 +9,9 @@ import (
"regexp"
"strings"
"realy.lol/bech32encoding/pointers"
"realy.lol/context"
"realy.lol/keys"
"realy.mleku.dev/bech32encoding/pointers"
"realy.mleku.dev/context"
"realy.mleku.dev/keys"
)
// Nip05Regex is an regular expression that matches up with the same pattern as

View File

@@ -5,8 +5,8 @@ import (
"context"
"testing"
"realy.lol/bech32encoding/pointers"
"realy.lol/keys"
"realy.mleku.dev/bech32encoding/pointers"
"realy.mleku.dev/keys"
)
func TestParse(t *testing.T) {

View File

@@ -1,7 +1,7 @@
package dns
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -9,7 +9,7 @@ import (
"encoding/hex"
"testing"
"realy.lol/ec/base58"
"realy.mleku.dev/ec/base58"
)
var stringTests = []struct {

View File

@@ -8,7 +8,7 @@ import (
"bytes"
"testing"
"realy.lol/ec/base58"
"realy.mleku.dev/ec/base58"
)
var (

View File

@@ -7,7 +7,7 @@ package base58
import (
"errors"
"realy.lol/sha256"
"realy.mleku.dev/sha256"
)
// ErrChecksum indicates that the checksum of a check-encoded string does not verify against

View File

@@ -7,7 +7,7 @@ package base58_test
import (
"testing"
"realy.lol/ec/base58"
"realy.mleku.dev/ec/base58"
)
var checkEncodingStringTests = []struct {

View File

@@ -7,7 +7,7 @@ package base58_test
import (
"fmt"
"realy.lol/ec/base58"
"realy.mleku.dev/ec/base58"
)
// This example demonstrates how to decode modified base58 encoded data.

View File

@@ -1,7 +1,7 @@
package base58
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package base58_test
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package bech32
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -8,8 +8,8 @@ import (
"math/big"
"testing"
"realy.lol/ec/secp256k1"
"realy.lol/hex"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/hex"
)
// setHex decodes the passed big-endian hex string into the internal field value

View File

@@ -20,7 +20,7 @@ package btcec
// reverse the transform than to operate in affine coordinates.
import (
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// KoblitzCurve provides an implementation for secp256k1 that fits the ECC

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"realy.lol/ec/wire"
"realy.mleku.dev/ec/wire"
)
var (

View File

@@ -3,8 +3,8 @@ package chaincfg
import (
"time"
"realy.lol/ec/chainhash"
"realy.lol/ec/wire"
"realy.mleku.dev/ec/chainhash"
"realy.mleku.dev/ec/wire"
)
var (

View File

@@ -5,8 +5,8 @@ import (
"math/big"
"time"
"realy.lol/ec/chainhash"
"realy.lol/ec/wire"
"realy.mleku.dev/ec/chainhash"
"realy.mleku.dev/ec/wire"
)
var (

View File

@@ -1,7 +1,7 @@
package chaincfg
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -9,8 +9,8 @@ import (
"encoding/json"
"fmt"
"realy.lol/hex"
"realy.lol/sha256"
"realy.mleku.dev/hex"
"realy.mleku.dev/sha256"
)
const (

View File

@@ -5,7 +5,7 @@
package chainhash
import "realy.lol/sha256"
import "realy.mleku.dev/sha256"
// HashB calculates hash(b) and returns the resulting bytes.
func HashB(b []byte) []byte {

View File

@@ -1,7 +1,7 @@
package chainhash
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -5,7 +5,7 @@
package btcec
import (
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// GenerateSharedSecret generates a shared secret based on a secret key and a

View File

@@ -6,7 +6,7 @@ package btcec
import (
"fmt"
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// JacobianPoint is an element of the group formed by the secp256k1 curve in

View File

@@ -8,8 +8,8 @@ package ecdsa
import (
"testing"
"realy.lol/ec/secp256k1"
"realy.lol/hex"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/hex"
)
// hexToModNScalar converts the passed hex string into a ModNScalar and will

View File

@@ -8,7 +8,7 @@ package ecdsa
import (
"fmt"
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// References:

View File

@@ -15,8 +15,8 @@ import (
"testing"
"time"
"realy.lol/ec/secp256k1"
"realy.lol/hex"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/hex"
)
// hexToBytes converts the passed hex string into bytes and will panic if there

View File

@@ -1,7 +1,7 @@
package ecdsa
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package ecdsa_test
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -4,7 +4,7 @@
package btcec
import (
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// Error identifies an error related to public key cryptography using a

View File

@@ -1,6 +1,6 @@
package btcec
import "realy.lol/ec/secp256k1"
import "realy.mleku.dev/ec/secp256k1"
// FieldVal implements optimized fixed-precision arithmetic over the secp256k1
// finite field. This means all arithmetic is performed modulo

View File

@@ -9,7 +9,7 @@ import (
"math/rand"
"testing"
"realy.lol/hex"
"realy.mleku.dev/hex"
)
// TestIsZero ensures that checking if a field IsZero works as expected.

View File

@@ -11,7 +11,7 @@ package btcec
import (
"testing"
"realy.lol/hex"
"realy.mleku.dev/hex"
)
func FuzzParsePubKey(f *testing.F) {

View File

@@ -4,7 +4,7 @@
package btcec
import (
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// ModNScalar implements optimized 256-bit constant-time fixed-precision

View File

@@ -8,9 +8,9 @@ import (
"fmt"
"testing"
"realy.lol/ec"
"realy.lol/ec/schnorr"
"realy.lol/hex"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/hex"
)
var (

View File

@@ -5,8 +5,8 @@ package musig2
import (
"fmt"
"realy.lol/ec"
"realy.lol/ec/schnorr"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/schnorr"
)
var (

View File

@@ -7,10 +7,10 @@ import (
"fmt"
"sort"
"realy.lol/ec"
"realy.lol/ec/chainhash"
"realy.lol/ec/schnorr"
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/chainhash"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/ec/secp256k1"
)
var (

View File

@@ -12,10 +12,10 @@ import (
"github.com/stretchr/testify/require"
"realy.lol/ec"
"realy.lol/ec/schnorr"
"realy.lol/ec/secp256k1"
"realy.lol/hex"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/hex"
)
const (

View File

@@ -8,9 +8,9 @@ import (
"sync"
"testing"
"realy.lol/ec"
"realy.lol/hex"
"realy.lol/sha256"
"realy.mleku.dev/ec"
"realy.mleku.dev/hex"
"realy.mleku.dev/sha256"
)
const (

View File

@@ -9,9 +9,9 @@ import (
"errors"
"io"
"realy.lol/ec"
"realy.lol/ec/chainhash"
"realy.lol/ec/schnorr"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/chainhash"
"realy.mleku.dev/ec/schnorr"
)
const (

View File

@@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/require"
"realy.lol/hex"
"realy.mleku.dev/hex"
)
type nonceGenTestCase struct {

View File

@@ -7,10 +7,10 @@ import (
"fmt"
"io"
"realy.lol/ec"
"realy.lol/ec/chainhash"
"realy.lol/ec/schnorr"
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/chainhash"
"realy.mleku.dev/ec/schnorr"
"realy.mleku.dev/ec/secp256k1"
)
var (

View File

@@ -13,9 +13,9 @@ import (
"github.com/stretchr/testify/require"
"realy.lol/ec"
"realy.lol/ec/secp256k1"
"realy.lol/hex"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/hex"
)
const (

View File

@@ -1,7 +1,7 @@
package musig2
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -5,7 +5,7 @@
package btcec
import (
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// These constants define the lengths of serialized public keys.

View File

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

View File

@@ -8,8 +8,8 @@ package schnorr
import (
"fmt"
"realy.lol/ec"
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/secp256k1"
)
// These constants define the lengths of serialized public keys.

View File

@@ -5,9 +5,9 @@ package schnorr
import (
"fmt"
"realy.lol/ec"
"realy.lol/ec/chainhash"
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/chainhash"
"realy.mleku.dev/ec/secp256k1"
)
const (

View File

@@ -13,9 +13,9 @@ import (
"github.com/davecgh/go-spew/spew"
"realy.lol/ec"
"realy.lol/ec/secp256k1"
"realy.lol/hex"
"realy.mleku.dev/ec"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/hex"
)
type bip340Test struct {

View File

@@ -1,7 +1,7 @@
package schnorr
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -5,7 +5,7 @@
package btcec
import (
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// SecretKey wraps an ecdsa.SecretKey as a convenience mainly for signing things with the secret key without having to

View File

@@ -8,7 +8,7 @@ package secp256k1
import (
"math/bits"
"realy.lol/hex"
"realy.mleku.dev/hex"
)
// References:

View File

@@ -11,9 +11,9 @@ import (
"encoding/binary"
"fmt"
"realy.lol/ec/secp256k1"
"realy.lol/hex"
"realy.lol/sha256"
"realy.mleku.dev/ec/secp256k1"
"realy.mleku.dev/hex"
"realy.mleku.dev/sha256"
)
// This example demonstrates use of GenerateSharedSecret to encrypt a message

View File

@@ -52,7 +52,7 @@ package secp256k1
// ordinarily would. See the documentation for FieldVal for more details.
import (
"realy.lol/hex"
"realy.mleku.dev/hex"
)
// Constants used to make the code more readable.

View File

@@ -15,7 +15,7 @@ import (
"testing"
"time"
"realy.lol/hex"
"realy.mleku.dev/hex"
)
// SetHex decodes the passed big-endian hex string into the internal field value

View File

@@ -7,7 +7,7 @@ package secp256k1
import (
"math/big"
"realy.lol/hex"
"realy.mleku.dev/hex"
)
// References:

View File

@@ -13,7 +13,7 @@ import (
"testing"
"time"
"realy.lol/hex"
"realy.mleku.dev/hex"
)
// SetHex interprets the provided hex string as a 256-bit big-endian unsigned

View File

@@ -9,7 +9,7 @@ import (
"bytes"
"hash"
"realy.lol/sha256"
"realy.mleku.dev/sha256"
)
// References:

View File

@@ -9,8 +9,8 @@ import (
"bytes"
"testing"
"realy.lol/hex"
"realy.lol/sha256"
"realy.mleku.dev/hex"
"realy.mleku.dev/sha256"
)
// hexToBytes converts the passed hex string into bytes and will panic if there

View File

@@ -13,7 +13,7 @@ import (
"math/big"
"os"
"realy.lol/ec/secp256k1"
"realy.mleku.dev/ec/secp256k1"
)
// curveParams houses the secp256k1 curve parameters for convenient access.

View File

@@ -1,7 +1,7 @@
package main
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package secp256k1
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -1,7 +1,7 @@
package secp256k1_test
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

View File

@@ -7,8 +7,8 @@ import (
"errors"
"fmt"
"realy.lol/ec/bech32"
"realy.lol/ec/chaincfg"
"realy.mleku.dev/ec/bech32"
"realy.mleku.dev/ec/chaincfg"
)
// AddressSegWit is the base address type for all SegWit addresses.

View File

@@ -1,7 +1,7 @@
package taproot
import (
"realy.lol/lol"
"realy.mleku.dev/lol"
)
var (

Some files were not shown because too many files have changed in this diff Show More