Skip to content

Commit 79789af

Browse files
gluk256fjl
authored andcommitted
whisper: project restructured, version 5 introduced (bnb-chain#3022)
whisper: project restructured, version 5 introduced This commits adds a draft version of the new shh v5 protocol. The new version is not on by default, --shh still selects version 2.
1 parent 00665a0 commit 79789af

32 files changed

Lines changed: 4449 additions & 16 deletions

‎cmd/gethrpctest/main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"github.com/ethereum/go-ethereum/node"
3232
"github.com/ethereum/go-ethereum/params"
3333
"github.com/ethereum/go-ethereum/tests"
34-
"github.com/ethereum/go-ethereum/whisper"
34+
whisper "github.com/ethereum/go-ethereum/whisper/whisperv2"
3535
)
3636

3737
const defaultTestKey = "b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291"

‎cmd/utils/flags.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import (
4848
"github.com/ethereum/go-ethereum/params"
4949
"github.com/ethereum/go-ethereum/pow"
5050
"github.com/ethereum/go-ethereum/rpc"
51-
"github.com/ethereum/go-ethereum/whisper"
51+
whisper "github.com/ethereum/go-ethereum/whisper/whisperv2"
5252
"gopkg.in/urfave/cli.v1"
5353
)
5454

0 commit comments

Comments
 (0)