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