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

core, les: clean up tx journal file after testing #15521

Merged
merged 1 commit into from
Nov 21, 2017

Conversation

rjl493456442
Copy link
Member

After les package testing, a tx journal file will be created. This file should be cleaned

Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of creating and then deleting the journal, why not simply not create in the first place?

Instead of using core.DefaultTxPoolConfig as the tx pool configuration, make a copy of it, and set the Journal field to the empty string. Then no journal will be created.

@karalabe karalabe added this to the 1.8.0 milestone Nov 21, 2017
@rjl493456442
Copy link
Member Author

@karalabe Updated

Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karalabe karalabe merged commit 049797d into ethereum:master Nov 21, 2017
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