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

Implement OS sensitive dataDirs #368

Merged
merged 1 commit into from
Feb 24, 2015
Merged

Implement OS sensitive dataDirs #368

merged 1 commit into from
Feb 24, 2015

Conversation

maran
Copy link
Member

@maran maran commented Feb 23, 2015

Refactors defaultDataDir to be OS sensitive and DRY.

It will use the following paths.

  • "Library directory" (~/Library/Ethereum) as defined in the OS X Documentation on OS X
  • The roaming App Data (~/AppData/Roaming/Ethereum) folder on Windows.
  • Unix path will be unchanged and still be ~/.ethereum

I have not bothered with migration to keep the code simple. Potentially we might want to add a migration script that actually moves the old path to the new but since we are still pre-release I doubt it matters much.

obscuren added a commit that referenced this pull request Feb 24, 2015
@obscuren obscuren merged commit 91a8c08 into ethereum:develop Feb 24, 2015
ngtuna added a commit to ngtuna/tomochain that referenced this pull request Dec 29, 2018
maoueh pushed a commit to streamingfast/go-ethereum that referenced this pull request May 3, 2022
* Bump Go version to v1.18.1
maoueh pushed a commit to streamingfast/go-ethereum that referenced this pull request Jun 13, 2022
* merge geth v1.10.15

* fix: Removed FastSync from cli server

* fix: TestHeadersRLPStorage

* Added t.skip(ETH2 in bor)

* fix: flow in create consensus engine

* bumped version

* Fix typo

* increase block time

* remove file

* bumped version

* merge gethv1.10.17

* bumped version

* fix failing tests

* Bump Go version to v1.18 (ethereum#368)

* Bump Go version to v1.18.1

* Build using netgo tag

This will create a static build using Go native networking stack.

Checked and it works stable for all archs and distros.

* Fix meta

* Bump version

* Meta as stable

Co-authored-by: Shivam Sharma <[email protected]>
Co-authored-by: Manav Darji <[email protected]>
Co-authored-by: Sandeep Sreenath <[email protected]>
Co-authored-by: Victor Castell <[email protected]>
maoueh pushed a commit to streamingfast/go-ethereum that referenced this pull request Dec 9, 2022
* merge geth v1.10.15

* fix: Removed FastSync from cli server

* fix: TestHeadersRLPStorage

* Added t.skip(ETH2 in bor)

* fix: flow in create consensus engine

* bumped version

* Fix typo

* increase block time

* remove file

* bumped version

* merge gethv1.10.17

* bumped version

* fix failing tests

* Bump Go version to v1.18 (ethereum#368)

* Bump Go version to v1.18.1

* Build using netgo tag

This will create a static build using Go native networking stack.

Checked and it works stable for all archs and distros.

* Fix meta

* initial implementation for common ancestor approach

* extract whitelist interface

* fix types

* fix tests and format

* add unit tests for IsValidChain function

* more tests

* wip

* test ErrCheckpointMismatch

* minor fixes

* fix test

* dont panic

* fmt

* Limit state sync by gas

* Added logging for state-sync total gas usage

* Added number of event-records in log

* Minor Changes

* Minor Fix

* Adding individual gasUsed

* Minor Fix

* fix: return value for no remote block

* handle all errors

* modularise fake chain validator in downloader

* add more tests

* fix tests

* Modifying miner.recommit flag and its adjustment function. (ethereum#370)

* changed min/max/current recommit values

* Remove Hardcoded min/max

* Code Sanitization

* Skipping tests for constant recommit interval

* Adding default miner.recommit value

* Minor Change

* Increased default value of rpc.txfeecap to 5

* add debug rpc endpoints for checkpoint whitelist service

* minor fixes and enhancements

* avoid capping warnings for gas set by internal system transactions

* use typed mocks

* fix

* fix

* fix

* fix close

* fix

* Create stale.yml

* Fix bor consensus checkpoint bug

Co-authored-by: Arpit Temani <[email protected]>
Co-authored-by: Shivam Sharma <[email protected]>
Co-authored-by: Manav Darji <[email protected]>
Co-authored-by: Sandeep Sreenath <[email protected]>
Co-authored-by: Victor Castell <[email protected]>
Co-authored-by: Ferran <[email protected]>
Co-authored-by: Krishna Upadhyaya <[email protected]>
Co-authored-by: Karlo <[email protected]>
Co-authored-by: Sandeep Sreenath <[email protected]>
Co-authored-by: Jerry <[email protected]>
tanishqjasoria pushed a commit to tanishqjasoria/go-ethereum that referenced this pull request Oct 31, 2023
correctly encode L1 messages in RPC response
mralj pushed a commit to NethermindEth/rollup-geth that referenced this pull request Oct 1, 2024
* triedb/pathdb: support v0 journal format

* Update triedb/pathdb/journal.go - use %w in Errorf

* triedb/pathdb: add warn log when loading legacy v0 journal

* triedb/pathdb: flatten journal.go code

Co-authored-by: Sebastian Stammler <[email protected]>

---------

Co-authored-by: Sebastian Stammler <[email protected]>
s1na pushed a commit to s1na/go-ethereum that referenced this pull request Dec 2, 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

Successfully merging this pull request may close these issues.

2 participants