{"action":"closed","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/17545","repository_url":"https://api.github.com/repos/ethereum/go-ethereum","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/17545/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/17545/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/17545/events","html_url":"https://github.com/ethereum/go-ethereum/issues/17545","id":355065821,"node_id":"MDU6SXNzdWUzNTUwNjU4MjE=","number":17545,"title":"Whisper: Posted messages won't filtered on the other nodes","user":{"login":"avatar-lavventura","id":18537398,"node_id":"MDQ6VXNlcjE4NTM3Mzk4","avatar_url":"https://avatars2.githubusercontent.com/u/18537398?v=4","gravatar_id":"","url":"https://api.github.com/users/avatar-lavventura","html_url":"https://github.com/avatar-lavventura","followers_url":"https://api.github.com/users/avatar-lavventura/followers","following_url":"https://api.github.com/users/avatar-lavventura/following{/other_user}","gists_url":"https://api.github.com/users/avatar-lavventura/gists{/gist_id}","starred_url":"https://api.github.com/users/avatar-lavventura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avatar-lavventura/subscriptions","organizations_url":"https://api.github.com/users/avatar-lavventura/orgs","repos_url":"https://api.github.com/users/avatar-lavventura/repos","events_url":"https://api.github.com/users/avatar-lavventura/events{/privacy}","received_events_url":"https://api.github.com/users/avatar-lavventura/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-29T09:06:18Z","updated_at":"2018-09-07T18:36:23Z","closed_at":"2018-09-07T18:36:23Z","author_association":"NONE","body":"geth version: `1.8.15-unstable`\r\nPython: 3.7.0\r\nOS: linux\r\n\r\nThe way I run `geth`:\r\n\r\n`geth --syncmode fast --cache=1024 --shh --datadir $DATADIR/private  --rpcaddr 127.0.0.1 --rpc --rpcport 8545 --rpccorsdomain=\"*\" --networkid 12345 --rpcapi admin,eth,net,web3,debug,personal,shh`\r\n\r\n---------\r\n\r\nI have followed the linked documentations that given on this issue (https://github.com/ethereum/go-ethereum/issues/17120#issuecomment-409490209) by @gballet . I have lost on the documentations and could not able to send a single message from one node to another (1-N signalling messages). If there would be an simple example about it would be very helpful.\r\n\r\n-------\r\n\r\nThis is as far as I came, please also see  (https://ethereum.stackexchange.com/questions/52218/how-to-send-1-n-signalling-or-broadcast-messages-on-whisper). \r\n\r\nOn this approach I observe that each node can only sends message to itself and other nodes don't filter/see those messages. For example, when `node-1` sends a message to the network; it won't show up on the `node-2` such that node-2's `web3.shh.info{memory}` remains 0, where I assume that it never catches the message.\r\n\r\n**On node-1's geth-client:**\r\n\r\n\r\n    generatedSymKey=shh.generateSymKeyFromPassword(\"hello\");    \r\n    symKey=shh.getSymKey(generatedSymKey)    \r\n    symKeyID=shh.addSymKey(symKey) //ex: \"d5212e736703afbb21246e8acd192e4345ea910398544d765ed6b49f0ec524b5\"\r\n    filter = web3.shh.newMessageFilter(\r\n            {symKeyID: symKeyID, topic: '0x07678231'}, \r\n            function(err, res) {console.log(web3.toUtf8(res.payload))});\r\n\r\n**On node-2's geth-client:**\r\n\r\n\r\n    generatedSymKey=shh.generateSymKeyFromPassword(\"hello\")    \r\n    symKey=shh.getSymKey(generatedSymKey)    \r\n    symKeyID=shh.addSymKey(symKey) //ex: \"c4c4cecf6ad9499c2386b8ce6416f44684e042e491726b38315646c0b4afadc6\"\r\n    filter = web3.shh.newMessageFilter(\r\n            {symKeyID: symKeyID, topic: '0x07678231'}, \r\n            function(err, res) {console.log(web3.toUtf8(res.payload))});\r\n\r\n-----\r\n\r\nThen, **node-1** sends message to the network, where only node-1 receives it but node-2 does not.\r\n\r\nFollowing code is run on `node-1's geth-client`:\r\n\r\n**node-1's `symKeyID` is given:**\r\n\r\n    web3.shh.post({\r\n      symKeyID: 'd5212e736703afbb21246e8acd192e4345ea910398544d765ed6b49f0ec524b5', //symKeyID of the node-1\r\n      ttl: 10,\r\n      topic: '0x07678231',\r\n      powTarget: 2.01,\r\n      powTime: 2,\r\n      payload: web3.fromAscii(\"Hello there!\")\r\n      });\r\n\r\n**[Q]** How could I able to make `node-2` to filter `node-1`'s messages?"}}
{"actor":{"display_login":"avatar-lavventura"}}