Skip to content

Commit

Permalink
Add more logging for coordinated mining debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shizzard committed Feb 7, 2025
1 parent 88dd457 commit a04fb06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/arweave/src/ar_mining_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,8 @@ cycle_sub_chunk_cache(#mining_candidate{ cache_ref = CacheRef } = Candidate, Chu
{worker, State#state.name}, {partition, State#state.partition_number},
{session_key, ar_nonce_limiter:encode_session_key(SessionKey)},
{sessions, length(ar_chunk_cache:get_groups(State#state.chunk_cache))},
{cache_size, ar_chunk_cache:cache_size(State#state.chunk_cache)},
{chunk_size, byte_size(Chunk)},
{nonce, Nonce}, {reason, Reason}]),
{error, Reason}
end;
Expand Down

0 comments on commit a04fb06

Please sign in to comment.