github.com/mit-dci/lit@v0.0.0-20221102210550-8c3d3b49f2ce/btcutil/const.go (about)

     1  // Copyright (c) 2013-2014 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 btcutil
     6  
     7  const (
     8  	// SatoshiPerBitcent is the number of satoshi in one bitcoin cent.
     9  	SatoshiPerBitcent = 1e6
    10  
    11  	// SatoshiPerBitcoin is the number of satoshi in one bitcoin (1 BTC).
    12  	SatoshiPerBitcoin = 1e8
    13  
    14  	// MaxSatoshi is the maximum transaction amount allowed in satoshi.
    15  	MaxSatoshi = 21e6 * SatoshiPerBitcoin
    16  )