mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
Re-export github.com/ethereum/go-verkle and github.com/ethereum/go-bigmodexpfix under luxfi/crypto namespace so downstream packages (luxfi/geth) never import ethereum/* directly.
50 lines
1.4 KiB
Go
50 lines
1.4 KiB
Go
// Copyright (C) 2025, Lux Industries Inc. All rights reserved.
|
|
//
|
|
// Package verkle re-exports the go-verkle library under the luxfi/crypto
|
|
// namespace so that downstream packages (luxfi/geth, luxfi/node, etc.)
|
|
// never import ethereum/* directly.
|
|
|
|
package verkle
|
|
|
|
import (
|
|
upstream "github.com/ethereum/go-verkle"
|
|
)
|
|
|
|
// --- Type aliases ---
|
|
|
|
type (
|
|
VerkleNode = upstream.VerkleNode
|
|
InternalNode = upstream.InternalNode
|
|
LeafNode = upstream.LeafNode
|
|
Empty = upstream.Empty
|
|
Point = upstream.Point
|
|
Fr = upstream.Fr
|
|
VerkleProof = upstream.VerkleProof
|
|
StateDiff = upstream.StateDiff
|
|
NodeResolverFn = upstream.NodeResolverFn
|
|
IPAConfig = upstream.IPAConfig
|
|
Proof = upstream.Proof
|
|
)
|
|
|
|
// --- Constants ---
|
|
|
|
const NodeWidth = upstream.NodeWidth
|
|
|
|
// --- Functions ---
|
|
|
|
var (
|
|
ParseNode = upstream.ParseNode
|
|
New = upstream.New
|
|
ToDot = upstream.ToDot
|
|
GetConfig = upstream.GetConfig
|
|
MakeVerkleMultiProof = upstream.MakeVerkleMultiProof
|
|
SerializeProof = upstream.SerializeProof
|
|
HashPointToBytes = upstream.HashPointToBytes
|
|
FromLEBytes = upstream.FromLEBytes
|
|
FromBytes = upstream.FromBytes
|
|
DeserializeProof = upstream.DeserializeProof
|
|
MergeTrees = upstream.MergeTrees
|
|
BatchNewLeafNode = upstream.BatchNewLeafNode
|
|
PreStateTreeFromProof = upstream.PreStateTreeFromProof
|
|
)
|