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

Storing the best node set on stop and retrieving on launch #2350

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
228 changes: 228 additions & 0 deletions cmd/utils/hc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions cmd/utils/hc.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
syntax = "proto3";

package hc;
option go_package = "github.com/dominant-strategies/go-quai/cmd/utils";

import "common/proto_common.proto";

message ProtoNode {
optional common.ProtoHash hash = 1;
repeated bytes number = 2;
optional common.ProtoLocation location = 3;
optional bytes entropy = 4;
}

message ProtoNodeSet {
map<string, ProtoNode> node_set = 1;
}
Loading
Loading