File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2985,11 +2985,14 @@ int main(int argc, char* argv[]) {
29852985
29862986 // Load transition message blobs from shipped + data directories
29872987 {
2988- // 1. Shipped with source : <repo >/transition_messages/
2988+ // 1. Next to executable : <deploy >/transition_messages/
29892989 auto exe_dir = std::filesystem::path (argv[0 ]).parent_path ();
2990+ web_server.get_mining_interface ()->load_transition_blobs (
2991+ (exe_dir / " transition_messages" ).string ());
2992+ // 2. Shipped with source: <repo>/transition_messages/ (build dir layout)
29902993 web_server.get_mining_interface ()->load_transition_blobs (
29912994 (exe_dir / " .." / " .." / " .." / " transition_messages" ).string ());
2992- // 2 . User data dir: ~/.c2pool/<net> /transition_messages/
2995+ // 3 . User data dir: ~/.c2pool/transition_messages/
29932996 auto data_dir = core::filesystem::config_path ();
29942997 web_server.get_mining_interface ()->load_transition_blobs (
29952998 (data_dir / " transition_messages" ).string ());
You can’t perform that action at this time.
0 commit comments