whisper - Ethereum - does not exist/is not available error with web3 -


i'm trying simple whisper example running web3 on geth console:

var f = web3.shh.filter({topics: ["qwerty"]}) f.get() web3.shh.getmessages("qwerty") web3.shh.post({topics: ["qwerty"], payload: "0x847a786376", ttl: "0x1e", worktoprove: "0x9" }) 

but i'm getting these errors:

> f.get() filter id error: filter().get() can't chained synchronous, please provide callback get() method.     @ web3.js:3602:23     @ <anonymous>:1:1  > web3.shh.getmessages("qwerty") typeerror: 'getmessages' not function     @ <anonymous>:1:1  > web3.shh.post({topics: ["qwerty"], payload: "0x847a786376", ttl: "0x1e", worktoprove: "0x9" }) method shh_post not exist/is not available     @ web3.js:3119:20     @ web3.js:6023:15     @ web3.js:4995:36     @ <anonymous>:1:1 

is documentation not date or not run geth version (tried 1.4.5 , 1.5)? "does not exist/is not available" error web3.shh.newidentity()


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -