github.com/dashpay/godash@v0.0.0-20160726055534-e038a21e0e3d/txscript/consensus.go (about) 1 // Copyright (c) 2015 The btcsuite developers 2 // Copyright (c) 2016 The Dash developers 3 // Use of this source code is governed by an ISC 4 // license that can be found in the LICENSE file. 5 6 package txscript 7 8 const ( 9 // LockTimeThreshold is the number below which a lock time is 10 // interpreted to be a block number. Since an average of one block 11 // is generated per 10 minutes, this allows blocks for about 9,512 12 // years. However, if the field is interpreted as a timestamp, given 13 // the lock time is a uint32, the max is sometime around 2106. 14 LockTimeThreshold uint32 = 5e8 // Tue Nov 5 00:53:20 1985 UTC 15 )