-
Notifications
You must be signed in to change notification settings - Fork 100
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
Conversation
@@ -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 }); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
I checked with neo3, and this is for neo2, @erikzhang could you revert my last pull? |
This reverts commit 9922d4c.
Reverted. |
Fix RpcNep5Tracker for uncollectible chain snapshot & ready for plugin-v2.10.3 release.