Skip to content

Commit d15c058

Browse files
committed
Change block query logging to usecs.
1 parent c01fe49 commit d15c058

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/bitcoin/node/events.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ enum events : uint8_t
5757
snapshot_secs, // snapshot timespan in seconds.
5858
prune_msecs, // prune timespan in milliseconds.
5959
reload_msecs, // store reload timespan in milliseconds.
60-
block_msecs, // getblock timespan in milliseconds.
60+
block_usecs, // getblock timespan in microseconds.
6161
ancestry_msecs, // getancestry timespan in milliseconds.
6262
filter_msecs, // getfilter timespan in milliseconds.
6363
filterhashes_msecs, // getfilterhashes timespan in milliseconds.

src/protocols/protocol_block_out_106.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ void protocol_block_out_106::send_block(const code& ec, size_t index,
205205
return;
206206
}
207207

208-
span<milliseconds>(events::block_msecs, start);
208+
span<microseconds>(events::block_usecs, start);
209209
SEND(block{ ptr }, send_block, _1, add1(index), message);
210210
}
211211

0 commit comments

Comments
 (0)