Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove web3.db #311

Closed
obscuren opened this issue Feb 14, 2015 · 3 comments
Closed

Remove web3.db #311

obscuren opened this issue Feb 14, 2015 · 3 comments

Comments

@obscuren
Copy link
Contributor

Remove web3.db in favour of localStorage

@eddieoz
Copy link

eddieoz commented May 23, 2016

Was web3.db removed?

Inside console:

web3.db
{
getHex: function(),
getString: function(),
putHex: function(),
putString: function()
}
web3.db.putString('testDB', 'key', 'myString')
The method db_putString does not exist/is not available
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1
web3.db.putHex('testDB', 'key', web3.fromAscii('myString'))
The method db_putHex does not exist/is not available
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1
web3.db.getString('testDB', 'key')
The method db_getString does not exist/is not available
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1
web3.db.getHex('testDB', 'key')
The method db_getHex does not exist/is not available
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1
web3.version
{
api: "0.15.3",
ethereum: "0x3f",
network: "3535",
node: "Geth/v1.4.4-stable-fc0638f9/darwin/go1.6.2",
whisper: "0x2",

Regards,
Edilson

@fjl
Copy link
Contributor

fjl commented May 23, 2016

                                                                                  Yes, it has beene removed in geth 1.4. You are actually the first person to notice that.

@eddieoz
Copy link

eddieoz commented May 23, 2016

Thanks! I came to this topic because Im looking for a way to persist whisper identities without using a dapp.

Best regards,
Edilson

maoueh pushed a commit to streamingfast/go-ethereum that referenced this issue May 3, 2022
marioevz pushed a commit to marioevz/go-ethereum that referenced this issue Feb 6, 2024
* rewrite per-block conversion pointer management

* remove unused method

* fix: a branch that can verge at genesis or post genesis (ethereum#314)

* fix: import cycle in conversion refactor (ethereum#315)

* fix shadowfork panic in OpenStorageTrie
billettc pushed a commit to streamingfast/go-ethereum that referenced this issue May 13, 2024
sduchesneau pushed a commit to streamingfast/go-ethereum that referenced this issue Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants