-
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
Refac statedump #789
Refac statedump #789
Conversation
…modules into refac-statedump
string dirPathWithBlock = $"./Storage_{network:x8}/BlockStorage_{folder}"; | ||
Directory.CreateDirectory(dirPathWithBlock); | ||
return dirPathWithBlock; | ||
uint folder = (blockIndex / storagePerFolder) * storagePerFolder; |
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.
This changes the naming scheme and will break scripts like https://github.com/nspcc-dev/neo-go/blob/master/scripts/compare-dumps/compare-dumps.go. Please keep the old scheme, I doubt changing it is important wrt to this PR goals.
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.
Sure, I'll make a new simple plugin so you won't change it.
@@ -26,10 +26,6 @@ internal class Settings | |||
/// </summary> | |||
public uint HeightToBegin { get; } | |||
/// <summary> | |||
/// Height to begin real-time syncing and dumping on, consequently, dumping every block into a single files | |||
/// </summary> | |||
public int HeightToStartRealTimeSyncing { get; } |
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.
Why did you remove this configuration?
This can be useful when debugging or following the chain on real-time
Replaced by #790 |
Close #736