Skip to content

Commit

Permalink
Storing the best node set on stop and retrieving on launch
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed Nov 14, 2024
1 parent a341e53 commit e207a57
Show file tree
Hide file tree
Showing 6 changed files with 364 additions and 50 deletions.
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

0 comments on commit e207a57

Please sign in to comment.