diff --git a/node/build.sh b/node/build.sh index b60d02c..1a490e9 100755 --- a/node/build.sh +++ b/node/build.sh @@ -19,7 +19,7 @@ case "$os_type" in # Check if the architecture is ARM if [[ "$(uname -m)" == "arm64" ]]; then # MacOS ld doesn't support -Bstatic and -Bdynamic, so it's important that there is only a static version of the library - go build -ldflags "-linkmode 'external' -extldflags '-L$BINARIES_DIR -L/opt/homebrew/Cellar/mpfr/4.2.1/lib -I/opt/homebrew/Cellar/mpfr/4.2.1/include -L/opt/homebrew/Cellar/gmp/6.3.0/lib -I/opt/homebrew/Cellar/gmp/6.3.0/include -lbls48581 -lvdf -ldl -lm -lflint -lgmp -lmpfr'" "$@" + go build -ldflags "-linkmode 'external' -extldflags '-L$BINARIES_DIR -lbls48581 -lvdf -ldl -lm -lflint -lgmp -lmpfr'" "$@" else echo "Unsupported platform" exit 1 diff --git a/node/config/version.go b/node/config/version.go index aedd669..c7ed605 100644 --- a/node/config/version.go +++ b/node/config/version.go @@ -43,9 +43,9 @@ func FormatVersion(version []byte) string { } func GetPatchNumber() byte { - return 0x02 + return 0x00 } func GetRCNumber() byte { - return 0x00 + return 0x03 } diff --git a/node/hypergraph/application/hypergraph.go b/node/hypergraph/application/hypergraph.go index 0726985..fc347ab 100644 --- a/node/hypergraph/application/hypergraph.go +++ b/node/hypergraph/application/hypergraph.go @@ -14,9 +14,15 @@ var ErrInvalidLocation = errors.New("invalid location") var ErrMissingExtrinsics = errors.New("missing extrinsics") var ErrIsExtrinsic = errors.New("is extrinsic") +type Encrypted interface { + RawRepresentation() []byte + Verify() bool +} + type Vertex struct { AppAddress [32]byte DataAddress [32]byte + Data Encrypted } type Hyperedge struct {