I’m running a miner on my macbook pro, and it gets stuck for some reason.
I downloaded the latest .jam file published on the google drive (State Jams - Google Drive)
Then I ran it for an hour or so.. and now it’s just stuck. Doesn’t matter if I restart, and I don’t want to remove the .data.nockchain because I assume I have to redo all the blocks from the .jam file and spend another hour to catch up where I’m at now (14635)?
Any help would be greatly appreciated!
I (18:53:39) candidate block timestamp updated: 0x8000000d371b2c93
I (18:53:44) serf: cold: register: could not match parent battery at given axis: 0x_0000000000007874_2d7761722d646461 7
thread 'tokio-runtime-worker' panicked at crates/nockchain-libp2p-io/src/nc.rs:111:14:
failed to strip null bytes: Utf8Error(Utf8Error { valid_up_to: 0, error_len: Some(1) })
E (18:53:51) nc: Task error: JoinError::Panic(Id(199), "failed to strip null bytes: Utf8Error(Utf8Error { valid_up_to: 0, error_len: Some(1) })", ...)
Running the miner with RUST_LOG=debug gives me the following logs:
I (19:12:58) dumbnet born
D (19:12:58) driver_init: poke acknowledged
D (19:12:58) mining: received new candidate block header: "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"
I (19:12:58) mining: starting mining threads
D (19:12:58) dialer_select: Dialer: Proposed protocol protocol=/nockchain-1-req-res
D (19:12:58) dialer_select: Dialer: Received confirmation for protocol protocol=/nockchain-1-req-res
D (19:12:59) endpoint: dropping packet with invalid CID
D (19:13:00) mining: starting mining attempt on thread 0 on header "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"with nonce: "2ApYhkVzAfZkX8HnYnU4ZdUQfvvCthrPsAkdg582YnGGDPFmLQWpbYw"
D (19:13:01) endpoint: dropping packet with invalid CID
D (19:13:01) mining: starting mining attempt on thread 1 on header "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"with nonce: "32rC9YM8fVhpjLQoBESkFZfF7VpBWmcb1njXW26LLWVsBGQhLjb2wtQ"
I (19:13:02) serf: cold: register: could not match parent battery at given axis: 0x_0000000000007874_2d7761722d646461 7
D (19:13:03) mining: starting mining attempt on thread 2 on header "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"with nonce: "4T7T33e54Ce5sRab1gsAZ6bSfWjsijhhXLRe7hLxuvHEa5NGnTL7vZn"
D (19:13:05) mining: starting mining attempt on thread 3 on header "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"with nonce: "3gqu59cyHu8Sc99id78mBaN1SPCLfBJ3psxzZ73cpqp2fKCNA6q8Rxj"
D (19:13:05) endpoint: dropping packet with invalid CID
D (19:13:06) mining: starting mining attempt on thread 4 on header "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"with nonce: "AncezphKmHAuk2BtbC6yHFkfWLWLBoXbBY1F5qsaUF8ZsCE3jzCBZfA"
D (19:13:07) listener_select: Listener: confirming protocol protocol=/nockchain-1-req-res
D (19:13:07) listener_select: Listener: sent confirmed protocol protocol=/nockchain-1-req-res
D (19:13:08) mining: starting mining attempt on thread 5 on header "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"with nonce: "5SxeSQFkmRhdLdW8tc5xnSSfoVVCMRGKCZZciwzjanWNoDq2XGikZiz"
thread 'tokio-runtime-worker' panicked at crates/nockchain-libp2p-io/src/nc.rs:111:14:
failed to strip null bytes: Utf8Error(Utf8Error { valid_up_to: 0, error_len: Some(1) })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
D (19:13:08) log: Resuming session
D (19:13:08) log: No cached session for DnsName("l")
D (19:13:08) log: Not resuming any session
D (19:13:08) log: No cached session for DnsName("l")
D (19:13:08) log: Not resuming any session
D (19:13:08) log: No cached session for DnsName("l")
D (19:13:08) log: Not resuming any session
E (19:13:08) nc: Task error: JoinError::Panic(Id(75), "failed to strip null bytes: Utf8Error(Utf8Error { valid_up_to: 0, error_len: Some(1) })", ...)
I (19:13:08) heard block: duplicate block
I (19:13:09) heard block: duplicate block
D (19:13:10) mining: starting mining attempt on thread 6 on header "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"with nonce: "8ovNdep2cEqdMJswxQXrDYot5jU3BuaJE7GXMCwj2sdUwgNfwNp2Utf"
D (19:13:12) mining: starting mining attempt on thread 7 on header "3NjKQKBMqvKmSEouzEnvUnxZuUuePx982QBfjnPdq76chBhaDhaGqz6"with nonce: "5nB9PxMqAHCsAy1exrev1voms9yo4epmkZoXNRzxTVR3fC2hgY4UdiT"
I (19:13:12) mining: mining threads started with 8 threads
D (19:13:13) endpoint: dropping packet with invalid CID
D (19:13:17) dialer_select: Dialer: Proposed protocol protocol=/nockchain-1-req-res
D (19:13:17) dialer_select: Dialer: Proposed protocol protocol=/nockchain-1-req-res
D (19:13:17) dialer_select: Dialer: Proposed protocol protocol=/nockchain-1-req-res
D (19:13:17) dialer_select: Dialer: Proposed protocol protocol=/nockchain-1-req-res
D (19:13:17) dialer_select: Dialer: Received confirmation for protocol protocol=/nockchain-1-req-res
D (19:13:17) dialer_select: Dialer: Received confirmation for protocol protocol=/nockchain-1-req-res
D (19:13:17) dialer_select: Dialer: Received confirmation for protocol protocol=/nockchain-1-req-res
D (19:13:17) dialer_select: Dialer: Received confirmation for protocol protocol=/nockchain-1-req-res
D (19:13:17) connection: discarding possible duplicate packet
I (19:13:21) serf: cold: register: could not match parent battery at given axis: 0x_0000000000007874_2d7761722d646461 7
D (19:13:23) log: No cached session for DnsName("l")
D (19:13:23) log: Not resuming any session
D (19:13:23) log: No cached session for DnsName("l")
D (19:13:23) log: Not resuming any session
D (19:13:23) log: No cached session for DnsName("l")
D (19:13:23) log: Not resuming any session
D (19:13:23) endpoint: dropping packet with invalid CID
D (19:13:23) endpoint: dropping packet with invalid CID
D (19:13:23) log: Using ciphersuite TLS13_CHACHA20_POLY1305_SHA256
D (19:13:23) log: Not resuming
