Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcutil
  Commit: 1c7f05922fac3caef3513f6d40462f57a7c1a422
      
https://github.com/btcsuite/btcutil/commit/1c7f05922fac3caef3513f6d40462f57a7c1a422
  Author: Dave Collins <[email protected]>
  Date:   2015-08-07 (Fri, 07 Aug 2015)

  Changed paths:
    M block.go
    M block_test.go

  Log Message:
  -----------
  Convert block heights to int32.

This commit converts all block height references to int32 instead of
int64.  The current target block production rate is 10 mins per block
which means it will take roughly 40,800 years to reach the maximum
height an int32 affords.  Even if the target rate were lowered to one
block per minute, it would still take roughly another 4,080 years to
reach the maximum.

In the mean time, there is no reason to use a larger type which results
in higher memory usage.


Reply via email to