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

Account unlock tty #1

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Account unlock tty #1

wants to merge 21 commits into from

Conversation

whilei
Copy link
Owner

@whilei whilei commented May 29, 2017

No description provided.

whilei added 21 commits May 23, 2017 11:43
Likely the fault of a misaligned test file path or flubby
developer 'cp' keystroke.

Solution: remove from vc.
Solution: write tests for each mem & persistent caches

Note:
Persistent accounts index cache uses file *name* (relative to
keystore dir), while memory caching uses *absolute* path.
This is to enable portability for indexed accounts keystore dir.
Solution: ensure absolute filepath

Problem #2: common.EnsureAbsolutePath misnamed; this func ensure absolute XOR
that specified paths are joined (that filepath is relative to a given dir)

Solution: #2: rename to EnsurePathAbsoluteOrRelativeTo
Solution: refactor unlocking from startNode() to MakeNode()

Resolves ethereumproject#247
Solution: 'defer' close immediately after opening

Yields:
Also remove commented tests that were frankensteined from
cache in mem that are not relevant because they regard
live-watching the keystore dir for filesystem changes,
a feature which is not implemented in the persistent cache feature.

Branch does:
Fixes ethereumproject#247
Fixes ethereumproject#248
Solution: 'gofmt -w ./accounts/*.go'
Solution: parse sufficientChainConfig setter when making account manager

Yields:
Refactor logging, too.
Solution: only parse external config if flag is set
whilei pushed a commit that referenced this pull request Sep 15, 2017
whilei pushed a commit that referenced this pull request Nov 8, 2017
whilei pushed a commit that referenced this pull request Jan 9, 2018
@whilei whilei force-pushed the master branch 2 times, most recently from 9da1fbc to cf22a08 Compare May 19, 2018 06:50
whilei added a commit that referenced this pull request Oct 4, 2018
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