consensus: Remove HEX_BUF_SIZE todo

Remove the todo, replace it with a comment stating that we guessed the
size and add an issue to measure and improve the value.

  https://github.com/rust-bitcoin/rust-bitcoin/issues/2391
This commit is contained in:
Tobin C. Harding 2024-01-23 18:48:38 +11:00
parent 579668892a
commit 0b5fb45ea0
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ pub mod hex {
}
}
// TODO measure various sizes and determine the best value
// We just guessed at a reasonably sane value.
const HEX_BUF_SIZE: usize = 512;
/// Hex byte encoder.