Currently the number of bits given to each block is fixed from cmd/blockhash, which limits the number of custom blocks that can be registered before there are hash collisions. This pull request makes it so the number of bits is dynamically allocated at runtime to account for every block that has been registered before the server starts to avoid collisions completely.
Currently the number of bits given to each block is fixed from
cmd/blockhash
, which limits the number of custom blocks that can be registered before there are hash collisions. This pull request makes it so the number of bits is dynamically allocated at runtime to account for every block that has been registered before the server starts to avoid collisions completely.