From 0928d407231e4b8032f655580cd63b56fc66c70d Mon Sep 17 00:00:00 2001 From: Rian Hughes Date: Wed, 16 Oct 2024 15:42:07 +0300 Subject: [PATCH] Support plugins (#2051) Co-authored-by: rian Co-authored-by: LordGhostX --- go.mod | 1 + go.sum | 2 ++ node/node.go | 2 -- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 8526f8a8f2..2d37452727 100644 --- a/go.mod +++ b/go.mod @@ -14,6 +14,7 @@ require ( github.com/ethereum/go-ethereum v1.14.11 github.com/fxamacker/cbor/v2 v2.7.0 github.com/go-playground/validator/v10 v10.22.1 + github.com/golang/protobuf v1.5.4 github.com/jinzhu/copier v0.4.0 github.com/libp2p/go-libp2p v0.36.2 github.com/libp2p/go-libp2p-kad-dht v0.27.0 diff --git a/go.sum b/go.sum index a48d73a00e..9a3fd01b28 100644 --- a/go.sum +++ b/go.sum @@ -179,6 +179,8 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb h1:PBC98N2aIaM3XXiurYmW7fx4GZkL8feAMVq7nEjURHk= github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= diff --git a/node/node.go b/node/node.go index ccb316c84d..99729ac7ad 100644 --- a/node/node.go +++ b/node/node.go @@ -89,8 +89,6 @@ type Config struct { GatewayAPIKey string `mapstructure:"gw-api-key"` GatewayTimeout time.Duration `mapstructure:"gw-timeout"` - - PluginPath string `mapstructure:"plugin-path"` } type Node struct {