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

Fix RpcNep5Tracker for uncollectible chain snapshot & ready for plugin-v2.10.3 release #131

Merged
merged 6 commits into from
Aug 28, 2019

Conversation

superboyiii
Copy link
Member

Fix RpcNep5Tracker for uncollectible chain snapshot & ready for plugin-v2.10.3 release.

RpcNep5Tracker/RpcNep5Tracker.cs Outdated Show resolved Hide resolved
@@ -40,7 +41,7 @@ public override void Configure()
if (_db == null)
{
var dbPath = GetConfiguration().GetSection("DBPath").Value ?? "Nep5BalanceData";
_db = DB.Open(dbPath, new Options { CreateIfMissing = true });
_db = DB.Open(Path.GetFullPath(dbPath), new Options { CreateIfMissing = true });
Copy link
Member

Choose a reason for hiding this comment

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

Is this well rebased? i think that this change comes from another PR

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I sync it from NEO3's PR. When two nodes installed RpcNep5Tracker, they aren't able to run together on the same PC because they're using the same dbPath (relative path). This PR is able to solve this issue . I've tested it on my local.

Delete test mode
Turn extraGAS to 100000000
Remove unused neo2.10.3 nuget
erikzhang
erikzhang previously approved these changes Aug 28, 2019
@shargon
Copy link
Member

shargon commented Aug 28, 2019

I checked with neo3, and this is for neo2, @erikzhang could you revert my last pull?

@erikzhang
Copy link
Member

Reverted.

@shargon shargon merged commit 0f163e7 into master-2.x Aug 28, 2019
@shargon shargon deleted the fix-RpcNep5Tracker branch August 28, 2019 14:09
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.

3 participants